Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.SpecificEntropy.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Sensors.Examples.SpecificEntropy,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_Sensors_Examples_SpecificEntropy",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sensors.Examples.SpecificEntropy,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_Sensors_Examples_SpecificEntropy",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.411/1.411, allocations: 249.5 MB / 257 MB, free: 6.875 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001051/0.001051, allocations: 179.7 kB / 316.3 MB, free: 3.227 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.506/1.506, allocations: 205.3 MB / 0.5671 GB, free: 15.8 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008813/0.0008814, allocations: 89.41 kB / 0.6714 GB, free: 4.91 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.355e-05/2.357e-05, allocations: 12 kB / 0.7815 GB, free: 102.6 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1786/0.1786, allocations: 106.3 MB / 0.8853 GB, free: 12.17 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.173/5.351, allocations: 2.18 GB / 3.065 GB, free: 228 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003224/5.352, allocations: 80.7 kB / 3.065 GB, free: 227.9 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.3745/5.726, allocations: 212.7 MB / 3.273 GB, free: 10.62 MB / 0.8698 GB Notification: Performance of FrontEnd: time 1.222e-06/5.726, allocations: 0 / 3.273 GB, free: 10.62 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 2.117e-05/5.726, allocations: 8 kB / 3.273 GB, free: 10.62 MB / 0.8698 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.0009448/5.727, allocations: 0.6188 MB / 3.274 GB, free: 9.953 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 4.572e-05/5.727, allocations: 8.031 kB / 3.274 GB, free: 9.945 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005983/5.728, allocations: 71.64 kB / 3.274 GB, free: 9.875 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003497/5.728, allocations: 290.2 kB / 3.274 GB, free: 9.551 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.568e-05/5.728, allocations: 4 kB / 3.274 GB, free: 9.547 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.657e-05/5.729, allocations: 16 kB / 3.274 GB, free: 9.531 MB / 0.8698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002293/5.729, allocations: 151.9 kB / 3.274 GB, free: 9.383 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000277/5.729, allocations: 231.5 kB / 3.274 GB, free: 9.129 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.084e-05/5.729, allocations: 3.938 kB / 3.274 GB, free: 9.125 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.105e-05/5.729, allocations: 4 kB / 3.274 GB, free: 9.121 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.131e-06/5.729, allocations: 4 kB / 3.274 GB, free: 9.117 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001424/5.731, allocations: 1.445 MB / 3.276 GB, free: 7.551 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001314/5.731, allocations: 133.1 kB / 3.276 GB, free: 7.375 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.964e-05/5.731, allocations: 68.41 kB / 3.276 GB, free: 7.293 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002041/5.731, allocations: 117 kB / 3.276 GB, free: 7.16 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.642e-05/5.731, allocations: 42.56 kB / 3.276 GB, free: 7.109 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=10): time 1.423e-06/5.731, allocations: 0 / 3.276 GB, free: 7.109 MB / 0.8698 GB Notification: Performance of matching and sorting (n=10): time 0.0003893/5.731, allocations: 129.4 kB / 3.276 GB, free: 6.977 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.59e-05/5.731, allocations: 162.3 kB / 3.276 GB, free: 6.781 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001447/5.732, allocations: 207 kB / 3.277 GB, free: 6.57 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 1.537e-05/5.732, allocations: 25.7 kB / 3.277 GB, free: 6.539 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 6.331e-05/5.732, allocations: 164 kB / 3.277 GB, free: 6.375 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 2.318e-05/5.732, allocations: 39.41 kB / 3.277 GB, free: 6.336 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.177e-06/5.732, allocations: 0 / 3.277 GB, free: 6.336 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 6.044e-05/5.732, allocations: 330.8 kB / 3.277 GB, free: 6.004 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.267e-05/5.732, allocations: 43.97 kB / 3.277 GB, free: 5.961 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.769e-05/5.732, allocations: 125.4 kB / 3.277 GB, free: 5.805 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001984/5.732, allocations: 91.86 kB / 3.277 GB, free: 5.715 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.745e-06/5.732, allocations: 4 kB / 3.277 GB, free: 5.711 MB / 0.8698 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0003984/5.733, allocations: 209.2 kB / 3.278 GB, free: 5.5 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.509e-05/5.733, allocations: 4 kB / 3.278 GB, free: 5.496 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.342e-06/5.733, allocations: 7.938 kB / 3.278 GB, free: 5.488 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.516e-05/5.733, allocations: 256 / 3.278 GB, free: 5.488 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001879/5.733, allocations: 47.92 kB / 3.278 GB, free: 5.441 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.12e-05/5.733, allocations: 7.984 kB / 3.278 GB, free: 5.434 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002098/5.733, allocations: 19.89 kB / 3.278 GB, free: 5.414 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.088e-05/5.733, allocations: 12 kB / 3.278 GB, free: 5.402 MB / 0.8698 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 5.716e-05/5.733, allocations: 108.9 kB / 3.278 GB, free: 5.289 MB / 0.8698 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0003158/5.733, allocations: 149.2 kB / 3.278 GB, free: 5.137 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001176/5.734, allocations: 19.8 kB / 3.278 GB, free: 5.117 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002189/5.734, allocations: 115.7 kB / 3.278 GB, free: 5 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.544e-06/5.734, allocations: 0 / 3.278 GB, free: 5 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.973e-06/5.734, allocations: 4 kB / 3.278 GB, free: 4.996 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.526e-06/5.734, allocations: 3.938 kB / 3.278 GB, free: 4.992 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006655/5.735, allocations: 0.7939 MB / 3.279 GB, free: 4.137 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.394e-06/5.735, allocations: 4 kB / 3.279 GB, free: 4.133 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001203/5.735, allocations: 23.98 kB / 3.279 GB, free: 4.109 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.876e-06/5.735, allocations: 0 / 3.279 GB, free: 4.109 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.234e-05/5.735, allocations: 4 kB / 3.279 GB, free: 4.105 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.455e-06/5.735, allocations: 4.141 kB / 3.279 GB, free: 4.102 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.278e-06/5.735, allocations: 8 kB / 3.279 GB, free: 4.094 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003511/5.735, allocations: 356 kB / 3.279 GB, free: 3.684 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 6.441e-05/5.735, allocations: 116.7 kB / 3.279 GB, free: 3.551 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.109e-05/5.735, allocations: 4 kB / 3.279 GB, free: 3.547 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001507/5.735, allocations: 11.98 kB / 3.279 GB, free: 3.535 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.063e-05/5.735, allocations: 8.062 kB / 3.279 GB, free: 3.527 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.474e-06/5.735, allocations: 7.984 kB / 3.279 GB, free: 3.52 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 9.422e-05/5.736, allocations: 157.9 kB / 3.28 GB, free: 3.367 MB / 0.8698 GB Notification: Performance of sort global known variables: time 1.61e-07/5.736, allocations: 0 / 3.28 GB, free: 3.367 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.0005988/5.736, allocations: 167.8 kB / 3.28 GB, free: 3.203 MB / 0.8698 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.00181/5.738, allocations: 2.305 MB / 3.282 GB, free: 0.8438 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.0001934/5.738, allocations: 108.3 kB / 3.282 GB, free: 0.7383 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 2.845e-06/5.738, allocations: 4.062 kB / 3.282 GB, free: 0.7344 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 5.618e-05/5.738, allocations: 39.92 kB / 3.282 GB, free: 0.6953 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003938/5.739, allocations: 60.61 kB / 3.282 GB, free: 0.6367 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007423/5.739, allocations: 423.3 kB / 3.283 GB, free: 176 kB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.4567/6.196, allocations: 0.7578 MB / 3.283 GB, free: 241.9 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.0002666/6.196, allocations: 52.56 kB / 3.283 GB, free: 241.9 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001426/6.197, allocations: 67.86 kB / 3.283 GB, free: 241.9 MB / 0.8698 GB Notification: Performance of SimCode: time 1.112e-06/6.197, allocations: 2.844 kB / 3.283 GB, free: 241.9 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04266/6.239, allocations: 13.06 MB / 3.296 GB, free: 241.8 MB / 0.8698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000134/6.239, allocations: 184.6 kB / 3.296 GB, free: 241.6 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.065/8.305, allocations: 3.375 kB / 3.296 GB, free: 241.6 MB / 0.8698 GB (rm -f Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.SpecificEntropy.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.SpecificEntropy.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.SpecificEntropy.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.SpecificEntropy.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Fluid_Sensors_Examples_SpecificEntropy_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Fluid_Sensors_Examples_SpecificEntropy.fmu > Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.SpecificEntropy.pipe 2>&1)