Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.Sensors.Examples.SpecificEntropy.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.SpecificEntropy,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Sensors.Examples.SpecificEntropy") translateModel(IBPSA.Fluid.Sensors.Examples.SpecificEntropy,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Sensors.Examples.SpecificEntropy") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001455/0.001455, allocations: 118.4 kB / 17.1 MB, free: 6.008 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.001728/0.001728, allocations: 189.6 kB / 18.02 MB, free: 5.094 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.251/1.251, allocations: 222.9 MB / 241.7 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6655/0.6655, allocations: 115.3 MB / 407.2 MB, free: 6.129 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001187/0.001187, allocations: 68.17 kB / 0.5584 GB, free: 32.14 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1119/0.1131, allocations: 76.18 MB / 0.6328 GB, free: 4.387 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Sensors.Examples.SpecificEntropy): time 0.4298/0.5429, allocations: 163.2 MB / 0.7921 GB, free: 13.33 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.004476/0.5474, allocations: 4.579 MB / 0.7966 GB, free: 12.97 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000351/0.5478, allocations: 11.28 kB / 0.7966 GB, free: 12.96 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.0003804/0.5482, allocations: 127.2 kB / 0.7967 GB, free: 12.91 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.001025/0.5493, allocations: 0.533 MB / 0.7973 GB, free: 12.78 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.001472/0.5507, allocations: 0.7726 MB / 0.798 GB, free: 12.66 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.0005201/0.5513, allocations: 0.5783 MB / 0.7986 GB, free: 12.57 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002897/0.5516, allocations: 223.1 kB / 0.7988 GB, free: 12.55 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007869/0.5524, allocations: 459.2 kB / 0.7992 GB, free: 12.48 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004747/0.5529, allocations: 294 kB / 0.7995 GB, free: 12.45 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 3.541e-05/0.5529, allocations: 18.22 kB / 0.7995 GB, free: 12.45 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001213/0.5541, allocations: 1 MB / 0.8005 GB, free: 12.37 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 7.87e-05/0.5542, allocations: 87.2 kB / 0.8006 GB, free: 12.37 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0001023/0.5543, allocations: 124.4 kB / 0.8007 GB, free: 12.37 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.0007925/0.5551, allocations: 0.7177 MB / 0.8014 GB, free: 12.32 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 2.835e-06/0.5551, allocations: 4 kB / 0.8014 GB, free: 12.32 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.273e-06/0.5551, allocations: 0 / 0.8014 GB, free: 12.32 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 5.891e-06/0.5552, allocations: 0 / 0.8014 GB, free: 12.32 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: 44 * Number of variables: 44 Notification: Performance of Generate backend data structure: time 0.0007783/0.5559, allocations: 0.586 MB / 0.802 GB, free: 11.86 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.133e-05/0.556, allocations: 13.69 kB / 0.802 GB, free: 11.85 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006323/0.5566, allocations: 80.86 kB / 0.8021 GB, free: 11.83 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003445/0.557, allocations: 304.4 kB / 0.8024 GB, free: 11.6 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.424e-05/0.557, allocations: 18.64 kB / 0.8024 GB, free: 11.59 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.919e-05/0.557, allocations: 15.97 kB / 0.8024 GB, free: 11.59 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004218/0.5575, allocations: 289.2 kB / 0.8027 GB, free: 11.5 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.985e-06/0.5575, allocations: 0 / 0.8027 GB, free: 11.5 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.146e-05/0.5575, allocations: 9.594 kB / 0.8027 GB, free: 11.5 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.835e-06/0.5575, allocations: 8.781 kB / 0.8027 GB, free: 11.49 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003587/0.5579, allocations: 204.2 kB / 0.8029 GB, free: 11.48 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001321/0.5592, allocations: 1.246 MB / 0.8041 GB, free: 10.63 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002443/0.5595, allocations: 167.2 kB / 0.8043 GB, free: 10.51 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001699/0.5597, allocations: 122.2 kB / 0.8044 GB, free: 10.46 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006638/0.5603, allocations: 328.1 kB / 0.8047 GB, free: 10.18 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.352e-05/0.5604, allocations: 38.84 kB / 0.8047 GB, free: 10.14 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=13): time 1.473e-06/0.5604, allocations: 0 / 0.8047 GB, free: 10.14 MB / 0.5919 GB Notification: Performance of matching and sorting (n=13): time 0.000669/0.561, allocations: 280.1 kB / 0.805 GB, free: 10.08 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.794e-05/0.5611, allocations: 156 kB / 0.8051 GB, free: 9.891 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002271/0.5613, allocations: 287.7 kB / 0.8054 GB, free: 9.785 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 2.302e-05/0.5614, allocations: 28.27 kB / 0.8054 GB, free: 9.754 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 8.104e-05/0.5615, allocations: 149.5 kB / 0.8056 GB, free: 9.656 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 4.147e-05/0.5615, allocations: 50.72 kB / 0.8056 GB, free: 9.625 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.257e-05/0.5616, allocations: 42.77 kB / 0.8057 GB, free: 9.602 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001047/0.5617, allocations: 344.6 kB / 0.806 GB, free: 9.273 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001428/0.5618, allocations: 68.38 kB / 0.8061 GB, free: 9.258 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001968/0.562, allocations: 143.7 kB / 0.8062 GB, free: 9.156 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000318/0.5624, allocations: 206.7 kB / 0.8064 GB, free: 9.051 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.475e-06/0.5624, allocations: 0 / 0.8064 GB, free: 9.051 MB / 0.5919 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0004418/0.5628, allocations: 252.3 kB / 0.8066 GB, free: 8.957 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.122e-05/0.5628, allocations: 6.875 kB / 0.8066 GB, free: 8.957 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.819e-06/0.5629, allocations: 2.375 kB / 0.8067 GB, free: 8.957 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.189e-05/0.5629, allocations: 5.688 kB / 0.8067 GB, free: 8.957 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001708/0.563, allocations: 35.33 kB / 0.8067 GB, free: 8.949 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.165e-06/0.5631, allocations: 6.172 kB / 0.8067 GB, free: 8.945 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001711/0.5632, allocations: 32.28 kB / 0.8067 GB, free: 8.93 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.211e-05/0.5633, allocations: 11.7 kB / 0.8067 GB, free: 8.926 MB / 0.5919 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * 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 (18): * Single equations (assignments): 18 * 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.0001153/0.5634, allocations: 156.3 kB / 0.8069 GB, free: 8.797 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001437/0.5635, allocations: 24.56 kB / 0.8069 GB, free: 8.785 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004246/0.564, allocations: 186.3 kB / 0.8071 GB, free: 8.68 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.06e-06/0.564, allocations: 2.5 kB / 0.8071 GB, free: 8.68 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.262e-06/0.564, allocations: 0 / 0.8071 GB, free: 8.68 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 8.039e-05/0.5641, allocations: 109.8 kB / 0.8072 GB, free: 8.57 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.055e-05/0.5641, allocations: 6.531 kB / 0.8072 GB, free: 8.566 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002348/0.5644, allocations: 8.672 kB / 0.8072 GB, free: 8.562 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.257e-05/0.5644, allocations: 19.95 kB / 0.8072 GB, free: 8.551 MB / 0.5919 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0004813/0.5649, allocations: 0.5327 MB / 0.8077 GB, free: 8.102 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0005817/0.5655, allocations: 0.6781 MB / 0.8084 GB, free: 7.543 MB / 0.5919 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001253/0.5656, allocations: 60.08 kB / 0.8085 GB, free: 7.527 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0001915/0.5658, allocations: 235.6 kB / 0.8087 GB, free: 7.422 MB / 0.5919 GB Notification: Performance of Backend: time 2.3e-07/0.5658, allocations: 0 / 0.8087 GB, free: 7.422 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.00139/0.5672, allocations: 408.6 kB / 0.8091 GB, free: 7.25 MB / 0.5919 GB Notification: Performance of SimCode: time 0.001235/0.5685, allocations: 1.02 MB / 0.8101 GB, free: 6.434 MB / 0.5919 GB Notification: Performance of Templates: time 0.01142/0.5799, allocations: 7.964 MB / 0.8179 GB, free: 2.41 MB / 0.5919 GB make -j1 -f IBPSA_latest_IBPSA.Fluid.Sensors.Examples.SpecificEntropy.makefile (rm -f IBPSA_latest_IBPSA.Fluid.Sensors.Examples.SpecificEntropy.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Sensors.Examples.SpecificEntropy.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Sensors.Examples.SpecificEntropy.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Sensors.Examples.SpecificEntropy.sim & ./IBPSA_latest_IBPSA.Fluid.Sensors.Examples.SpecificEntropy -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.Sensors.Examples.SpecificEntropy.pipe 2>&1)