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.001245/0.001245, allocations: 111.8 kB / 17.08 MB, free: 5.969 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.001205/0.001205, allocations: 196.2 kB / 18.01 MB, free: 5.055 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.231/1.231, allocations: 222.9 MB / 241.7 MB, free: 15.07 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6704/0.6704, allocations: 115.3 MB / 407.2 MB, free: 6.109 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001146/0.001146, allocations: 65.81 kB / 0.5583 GB, free: 32.18 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1392/0.1404, allocations: 76.18 MB / 0.6327 GB, free: 4.383 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Sensors.Examples.SpecificEntropy): time 0.5009/0.6414, allocations: 163.2 MB / 0.7921 GB, free: 13.75 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.004585/0.646, allocations: 4.571 MB / 0.7966 GB, free: 13.39 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004243/0.6464, allocations: 9.438 kB / 0.7966 GB, free: 13.38 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.0004409/0.6469, allocations: 130.5 kB / 0.7967 GB, free: 13.33 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.001248/0.6482, allocations: 0.5394 MB / 0.7973 GB, free: 13.2 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.00169/0.6499, allocations: 0.7707 MB / 0.798 GB, free: 13.07 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.0006157/0.6505, allocations: 0.5749 MB / 0.7986 GB, free: 13 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003163/0.6508, allocations: 218.2 kB / 0.7988 GB, free: 12.97 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009061/0.6518, allocations: 466.5 kB / 0.7992 GB, free: 12.9 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005151/0.6523, allocations: 289.8 kB / 0.7995 GB, free: 12.88 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 3.557e-05/0.6523, allocations: 16 kB / 0.7995 GB, free: 12.88 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001505/0.6538, allocations: 1.009 MB / 0.8005 GB, free: 12.79 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 9.464e-05/0.654, allocations: 88.38 kB / 0.8006 GB, free: 12.79 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.000127/0.6541, allocations: 124.5 kB / 0.8007 GB, free: 12.79 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.0009743/0.6551, allocations: 0.7119 MB / 0.8014 GB, free: 12.74 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 5.941e-06/0.6551, allocations: 0 / 0.8014 GB, free: 12.74 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.432e-06/0.6551, allocations: 3.938 kB / 0.8014 GB, free: 12.73 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 5.74e-06/0.6551, allocations: 0 / 0.8014 GB, free: 12.73 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.0008081/0.6559, allocations: 0.5895 MB / 0.802 GB, free: 12.27 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.036e-05/0.656, allocations: 11.94 kB / 0.802 GB, free: 12.27 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005871/0.6566, allocations: 80.3 kB / 0.8021 GB, free: 12.25 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003631/0.6569, allocations: 300.7 kB / 0.8024 GB, free: 12.02 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.914e-05/0.657, allocations: 15.92 kB / 0.8024 GB, free: 12.02 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.799e-05/0.657, allocations: 34.78 kB / 0.8024 GB, free: 12 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004486/0.6575, allocations: 284.2 kB / 0.8027 GB, free: 11.91 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.093e-05/0.6575, allocations: 0 / 0.8027 GB, free: 11.91 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.346e-05/0.6575, allocations: 9.688 kB / 0.8027 GB, free: 11.91 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.847e-06/0.6575, allocations: 8.75 kB / 0.8027 GB, free: 11.91 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003631/0.6579, allocations: 204.6 kB / 0.8029 GB, free: 11.9 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001371/0.6593, allocations: 1.237 MB / 0.8041 GB, free: 11.05 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002467/0.6595, allocations: 171.4 kB / 0.8043 GB, free: 10.93 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001813/0.6597, allocations: 112.3 kB / 0.8044 GB, free: 10.88 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006873/0.6604, allocations: 331.4 kB / 0.8047 GB, free: 10.6 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.572e-05/0.6605, allocations: 42.41 kB / 0.8047 GB, free: 10.55 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=13): time 1.482e-06/0.6605, allocations: 0 / 0.8047 GB, free: 10.55 MB / 0.5919 GB Notification: Performance of matching and sorting (n=13): time 0.0006843/0.6612, allocations: 278.5 kB / 0.805 GB, free: 10.5 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.265e-05/0.6613, allocations: 157.8 kB / 0.8051 GB, free: 10.31 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002356/0.6615, allocations: 288.7 kB / 0.8054 GB, free: 10.2 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 3.045e-05/0.6615, allocations: 25.7 kB / 0.8054 GB, free: 10.17 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 9.369e-05/0.6616, allocations: 152 kB / 0.8056 GB, free: 10.07 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 3.649e-05/0.6617, allocations: 42.38 kB / 0.8056 GB, free: 10.05 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.791e-05/0.6617, allocations: 47.09 kB / 0.8057 GB, free: 10.03 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.000127/0.6619, allocations: 343.1 kB / 0.806 GB, free: 9.703 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001396/0.662, allocations: 60.64 kB / 0.806 GB, free: 9.691 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001957/0.6622, allocations: 148.5 kB / 0.8062 GB, free: 9.59 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000322/0.6626, allocations: 211 kB / 0.8064 GB, free: 9.48 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.474e-06/0.6626, allocations: 0 / 0.8064 GB, free: 9.48 MB / 0.5919 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.000434/0.663, allocations: 244.6 kB / 0.8066 GB, free: 9.391 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.403e-05/0.663, allocations: 5.188 kB / 0.8066 GB, free: 9.391 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.861e-06/0.663, allocations: 2.828 kB / 0.8066 GB, free: 9.391 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.682e-05/0.6631, allocations: 6.078 kB / 0.8066 GB, free: 9.387 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001699/0.6632, allocations: 46.06 kB / 0.8067 GB, free: 9.375 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.522e-06/0.6633, allocations: 6.75 kB / 0.8067 GB, free: 9.371 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001657/0.6634, allocations: 32.77 kB / 0.8067 GB, free: 9.352 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.768e-05/0.6635, allocations: 10.19 kB / 0.8067 GB, free: 9.352 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.0001366/0.6636, allocations: 156.8 kB / 0.8069 GB, free: 9.223 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001375/0.6638, allocations: 27.84 kB / 0.8069 GB, free: 9.207 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004372/0.6642, allocations: 185.5 kB / 0.8071 GB, free: 9.102 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.328e-06/0.6642, allocations: 2.219 kB / 0.8071 GB, free: 9.102 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.829e-06/0.6642, allocations: 2.906 kB / 0.8071 GB, free: 9.102 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.922e-06/0.6642, allocations: 3.984 kB / 0.8071 GB, free: 9.098 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008924/0.6651, allocations: 0.8547 MB / 0.8079 GB, free: 8.367 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.256e-06/0.6651, allocations: 2.125 kB / 0.8079 GB, free: 8.367 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001115/0.6653, allocations: 33.94 kB / 0.808 GB, free: 8.352 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.38e-06/0.6653, allocations: 6.875 kB / 0.808 GB, free: 8.348 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.321e-05/0.6653, allocations: 4 kB / 0.808 GB, free: 8.348 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.166e-06/0.6653, allocations: 1.781 kB / 0.808 GB, free: 8.348 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.563e-06/0.6653, allocations: 2.656 kB / 0.808 GB, free: 8.348 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005029/0.6658, allocations: 338.4 kB / 0.8083 GB, free: 8.125 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 9.664e-05/0.6659, allocations: 113.7 kB / 0.8084 GB, free: 8.012 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.628e-05/0.666, allocations: 7.25 kB / 0.8084 GB, free: 8.008 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001417/0.6661, allocations: 9.172 kB / 0.8084 GB, free: 8.004 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.435e-05/0.6662, allocations: 20.42 kB / 0.8084 GB, free: 7.992 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.955e-06/0.6662, allocations: 4.281 kB / 0.8084 GB, free: 7.992 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0002031/0.6664, allocations: 233 kB / 0.8087 GB, free: 7.887 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1e-07/0.6664, allocations: 0 / 0.8087 GB, free: 7.887 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0004522/0.6668, allocations: 96.44 kB / 0.8088 GB, free: 7.879 MB / 0.5919 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 1 (senStr.s) * 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.0005287/0.6674, allocations: 218.8 kB / 0.809 GB, free: 7.75 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0003664/0.6678, allocations: 142.5 kB / 0.8091 GB, free: 7.719 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.6678, allocations: 0.5 kB / 0.8091 GB, free: 7.719 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0001545/0.6679, allocations: 70.83 kB / 0.8092 GB, free: 7.695 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007081/0.6687, allocations: 144 kB / 0.8093 GB, free: 7.637 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007999/0.6695, allocations: 0.5249 MB / 0.8098 GB, free: 7.258 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003028/0.6698, allocations: 0.7557 MB / 0.8106 GB, free: 6.527 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.629e-05/0.6699, allocations: 26.69 kB / 0.8106 GB, free: 6.52 MB / 0.5919 GB Notification: Performance of SimCode: time 4.31e-07/0.6699, allocations: 4 kB / 0.8106 GB, free: 6.516 MB / 0.5919 GB Notification: Performance of Templates: time 0.007108/0.677, allocations: 5.277 MB / 0.8157 GB, free: 3.824 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)