Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.Sensors.Examples.SpecificEnthalpy.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(IBPSA.Fluid.Sensors.Examples.SpecificEnthalpy,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Sensors.Examples.SpecificEnthalpy") translateModel(IBPSA.Fluid.Sensors.Examples.SpecificEnthalpy,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Sensors.Examples.SpecificEnthalpy") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001039/0.001039, allocations: 104 kB / 16.4 MB, free: 6.492 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001113/0.001113, allocations: 191.9 kB / 17.34 MB, free: 5.762 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.276/1.276, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6917/0.6917, allocations: 115.3 MB / 406.5 MB, free: 6.117 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00115/0.00115, allocations: 70.88 kB / 0.5577 GB, free: 32.18 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1393/0.1404, allocations: 76.18 MB / 0.6321 GB, free: 4.383 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Sensors.Examples.SpecificEnthalpy): time 0.5164/0.6569, allocations: 161.3 MB / 0.7896 GB, free: 13.46 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.005222/0.6622, allocations: 4.549 MB / 0.7941 GB, free: 13.06 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005394/0.6629, allocations: 10.91 kB / 0.7941 GB, free: 13.06 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.000493/0.6634, allocations: 122.9 kB / 0.7942 GB, free: 13 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.0007944/0.6642, allocations: 332.6 kB / 0.7945 GB, free: 12.92 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008053/0.665, allocations: 281 kB / 0.7948 GB, free: 12.89 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.0006244/0.6656, allocations: 0.5564 MB / 0.7953 GB, free: 12.82 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000344/0.666, allocations: 209.2 kB / 0.7955 GB, free: 12.79 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009469/0.6669, allocations: 462.4 kB / 0.796 GB, free: 12.72 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002692/0.6672, allocations: 190.9 kB / 0.7962 GB, free: 12.71 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 3.784e-05/0.6673, allocations: 15.16 kB / 0.7962 GB, free: 12.71 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002/0.6675, allocations: 77.91 kB / 0.7962 GB, free: 12.71 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0001137/0.6676, allocations: 87.31 kB / 0.7963 GB, free: 12.71 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0001341/0.6677, allocations: 121 kB / 0.7964 GB, free: 12.71 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.0004165/0.6681, allocations: 298.4 kB / 0.7967 GB, free: 12.69 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 5.09e-06/0.6682, allocations: 3.75 kB / 0.7967 GB, free: 12.69 MB / 0.5919 GB Notification: Performance of FrontEnd: time 2.204e-06/0.6682, allocations: 4 kB / 0.7967 GB, free: 12.68 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 9.567e-06/0.6682, allocations: 0 / 0.7967 GB, free: 12.68 MB / 0.5919 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 42 * Number of variables: 42 Notification: Performance of Generate backend data structure: time 0.0008073/0.669, allocations: 0.5299 MB / 0.7973 GB, free: 12.25 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.648e-05/0.669, allocations: 9.875 kB / 0.7973 GB, free: 12.25 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.628e-05/0.6691, allocations: 29.42 kB / 0.7973 GB, free: 12.24 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003544/0.6695, allocations: 287.2 kB / 0.7976 GB, free: 12.01 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.969e-05/0.6695, allocations: 18.09 kB / 0.7976 GB, free: 12.01 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.534e-05/0.6695, allocations: 16.16 kB / 0.7976 GB, free: 12.01 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000401/0.67, allocations: 265.5 kB / 0.7979 GB, free: 11.88 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.037e-05/0.67, allocations: 2.188 kB / 0.7979 GB, free: 11.88 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.086e-05/0.67, allocations: 9.594 kB / 0.7979 GB, free: 11.88 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.861e-06/0.67, allocations: 3.281 kB / 0.7979 GB, free: 11.88 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003052/0.6703, allocations: 151 kB / 0.798 GB, free: 11.87 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001261/0.6716, allocations: 1.375 MB / 0.7994 GB, free: 10.77 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002891/0.6719, allocations: 179.2 kB / 0.7995 GB, free: 10.62 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001539/0.6721, allocations: 96.22 kB / 0.7996 GB, free: 10.57 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003296/0.6724, allocations: 116.8 kB / 0.7997 GB, free: 10.47 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.8e-05/0.6725, allocations: 46.38 kB / 0.7998 GB, free: 10.43 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=10): time 1.312e-06/0.6725, allocations: 0 / 0.7998 GB, free: 10.43 MB / 0.5919 GB Notification: Performance of matching and sorting (n=10): time 0.0005706/0.6731, allocations: 202.7 kB / 0.8 GB, free: 10.37 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.918e-05/0.6732, allocations: 189.4 kB / 0.8001 GB, free: 10.15 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002593/0.6734, allocations: 291.8 kB / 0.8004 GB, free: 10.04 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 2.199e-05/0.6735, allocations: 29.27 kB / 0.8005 GB, free: 10.01 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001092/0.6736, allocations: 145.8 kB / 0.8006 GB, free: 9.914 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 3.127e-05/0.6736, allocations: 43.67 kB / 0.8006 GB, free: 9.887 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.55e-05/0.6737, allocations: 38.12 kB / 0.8007 GB, free: 9.871 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001214/0.6738, allocations: 329.7 kB / 0.801 GB, free: 9.559 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001133/0.6739, allocations: 46.42 kB / 0.801 GB, free: 9.559 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001749/0.6741, allocations: 121.5 kB / 0.8011 GB, free: 9.48 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002588/0.6744, allocations: 154.3 kB / 0.8013 GB, free: 9.406 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.154e-06/0.6744, allocations: 0 / 0.8013 GB, free: 9.406 MB / 0.5919 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003314/0.6747, allocations: 196.4 kB / 0.8015 GB, free: 9.348 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.621e-05/0.6747, allocations: 8.562 kB / 0.8015 GB, free: 9.344 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.652e-06/0.6748, allocations: 2.781 kB / 0.8015 GB, free: 9.344 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.499e-05/0.6748, allocations: 3.703 kB / 0.8015 GB, free: 9.344 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001292/0.6749, allocations: 33.95 kB / 0.8015 GB, free: 9.344 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.176e-05/0.6749, allocations: 6.781 kB / 0.8015 GB, free: 9.34 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000146/0.6751, allocations: 28.36 kB / 0.8016 GB, free: 9.324 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.314e-05/0.6751, allocations: 13.52 kB / 0.8016 GB, free: 9.324 MB / 0.5919 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (15): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001717/0.6753, allocations: 140.3 kB / 0.8017 GB, free: 9.211 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001325/0.6754, allocations: 32.78 kB / 0.8017 GB, free: 9.191 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002969/0.6757, allocations: 131.1 kB / 0.8019 GB, free: 9.145 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.098e-06/0.6757, allocations: 2.969 kB / 0.8019 GB, free: 9.145 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.012e-06/0.6757, allocations: 0.75 kB / 0.8019 GB, free: 9.145 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.268e-06/0.6758, allocations: 6.188 kB / 0.8019 GB, free: 9.141 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007619/0.6765, allocations: 0.771 MB / 0.8026 GB, free: 8.492 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.643e-06/0.6765, allocations: 0 / 0.8026 GB, free: 8.492 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001176/0.6767, allocations: 26.5 kB / 0.8026 GB, free: 8.488 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.378e-06/0.6767, allocations: 8.031 kB / 0.8027 GB, free: 8.484 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.158e-05/0.6767, allocations: 2.25 kB / 0.8027 GB, free: 8.484 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.695e-06/0.6767, allocations: 2.594 kB / 0.8027 GB, free: 8.484 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.164e-06/0.6767, allocations: 1.828 kB / 0.8027 GB, free: 8.484 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004708/0.6772, allocations: 338.8 kB / 0.803 GB, free: 8.293 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 8.34e-05/0.6773, allocations: 110.8 kB / 0.8031 GB, free: 8.188 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.503e-05/0.6773, allocations: 6.094 kB / 0.8031 GB, free: 8.188 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001223/0.6774, allocations: 8.906 kB / 0.8031 GB, free: 8.188 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.88e-05/0.6775, allocations: 22.67 kB / 0.8031 GB, free: 8.176 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.843e-06/0.6775, allocations: 3.125 kB / 0.8031 GB, free: 8.176 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0001595/0.6777, allocations: 208.4 kB / 0.8033 GB, free: 8.098 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.2e-07/0.6777, allocations: 96 / 0.8033 GB, free: 8.098 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0003183/0.678, allocations: 65.02 kB / 0.8034 GB, free: 8.086 MB / 0.5919 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 1 (senStr.h_out) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003076/0.6783, allocations: 136 kB / 0.8035 GB, free: 8 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0003122/0.6786, allocations: 129 kB / 0.8036 GB, free: 7.984 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 1.953e-06/0.6786, allocations: 0 / 0.8036 GB, free: 7.984 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0001291/0.6788, allocations: 66.12 kB / 0.8037 GB, free: 7.977 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000692/0.6795, allocations: 127 kB / 0.8038 GB, free: 7.953 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007298/0.6802, allocations: 488.3 kB / 0.8043 GB, free: 7.652 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003718/0.6806, allocations: 0.7557 MB / 0.805 GB, free: 6.949 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0001202/0.6807, allocations: 49.89 kB / 0.8051 GB, free: 6.941 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.062e-05/0.6808, allocations: 28.48 kB / 0.8051 GB, free: 6.93 MB / 0.5919 GB Notification: Performance of SimCode: time 9.62e-07/0.6808, allocations: 0 / 0.8051 GB, free: 6.93 MB / 0.5919 GB Notification: Performance of Templates: time 0.007707/0.6885, allocations: 4.251 MB / 0.8093 GB, free: 5.266 MB / 0.5919 GB make -j1 -f IBPSA_latest_IBPSA.Fluid.Sensors.Examples.SpecificEnthalpy.makefile (rm -f IBPSA_latest_IBPSA.Fluid.Sensors.Examples.SpecificEnthalpy.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Sensors.Examples.SpecificEnthalpy.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Sensors.Examples.SpecificEnthalpy.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Sensors.Examples.SpecificEnthalpy.sim & ./IBPSA_latest_IBPSA.Fluid.Sensors.Examples.SpecificEnthalpy -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.Sensors.Examples.SpecificEnthalpy.pipe 2>&1)