Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.Sensors.Examples.EntropyFlowRate.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: translateModel(Buildings.Fluid.Sensors.Examples.EntropyFlowRate,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Sensors.Examples.EntropyFlowRate") translateModel(Buildings.Fluid.Sensors.Examples.EntropyFlowRate,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Sensors.Examples.EntropyFlowRate") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.759/1.759, allocations: 292.6 MB / 307.5 MB, free: 5.195 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001501/0.001502, allocations: 181 kB / 377.1 MB, free: 1.551 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.73/1.73, allocations: 205.4 MB / 0.6367 GB, free: 8.641 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008825/0.0008822, allocations: 89.28 kB / 0.751 GB, free: 63.43 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004057/0.0004057, allocations: 12 kB / 0.8748 GB, free: 11.24 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3359/0.3364, allocations: 116.3 MB / 0.9884 GB, free: 6.793 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.693/6.029, allocations: 2.065 GB / 3.053 GB, free: 156.4 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003416/6.03, allocations: 88.61 kB / 3.053 GB, free: 156.3 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 1.251/7.281, allocations: 304 MB / 3.35 GB, free: 207.4 MB / 0.948 GB Notification: Performance of FrontEnd: time 2.715e-06/7.281, allocations: 0 / 3.35 GB, free: 207.4 MB / 0.948 GB Notification: Performance of Transformations before backend: time 2.732e-05/7.281, allocations: 6.812 kB / 3.35 GB, free: 207.4 MB / 0.948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 65 * Number of variables: 65 Notification: Performance of Generate backend data structure: time 0.001605/7.282, allocations: 0.7523 MB / 3.351 GB, free: 206.8 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 4.249e-05/7.283, allocations: 10.56 kB / 3.351 GB, free: 206.8 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001035/7.284, allocations: 126 kB / 3.351 GB, free: 206.7 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005316/7.284, allocations: 335.2 kB / 3.351 GB, free: 206.5 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.623e-05/7.284, allocations: 54.05 kB / 3.351 GB, free: 206.4 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.781e-05/7.284, allocations: 29.44 kB / 3.351 GB, free: 206.4 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005686/7.285, allocations: 358 kB / 3.352 GB, free: 206.2 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.149e-05/7.285, allocations: 4 kB / 3.352 GB, free: 206.2 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.337e-05/7.285, allocations: 11.59 kB / 3.352 GB, free: 206.2 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.987e-06/7.285, allocations: 3.938 kB / 3.352 GB, free: 206.2 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004459/7.285, allocations: 267.4 kB / 3.352 GB, free: 206.1 MB / 0.948 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001576/7.287, allocations: 1.478 MB / 3.353 GB, free: 205 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003442/7.287, allocations: 189.1 kB / 3.354 GB, free: 204.9 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007964/7.288, allocations: 0.5012 MB / 3.354 GB, free: 204.4 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.195e-05/7.288, allocations: 34.56 kB / 3.354 GB, free: 204.4 MB / 0.948 GB Notification: Performance of pre-optimization done (n=15): time 1.923e-06/7.288, allocations: 4 kB / 3.354 GB, free: 204.4 MB / 0.948 GB Notification: Performance of matching and sorting (n=15): time 0.0008465/7.289, allocations: 352.7 kB / 3.354 GB, free: 204.2 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.114e-05/7.289, allocations: 59.41 kB / 3.355 GB, free: 204.2 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002362/7.289, allocations: 277.2 kB / 3.355 GB, free: 204 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 2.743e-05/7.289, allocations: 29.7 kB / 3.355 GB, free: 204 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001127/7.289, allocations: 190.1 kB / 3.355 GB, free: 203.8 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 3.463e-05/7.29, allocations: 50.8 kB / 3.355 GB, free: 203.8 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.098e-05/7.29, allocations: 4 kB / 3.355 GB, free: 203.8 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 8.323e-05/7.29, allocations: 341.8 kB / 3.355 GB, free: 203.5 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001607/7.29, allocations: 89.89 kB / 3.355 GB, free: 203.5 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002011/7.29, allocations: 159.7 kB / 3.356 GB, free: 203.4 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001747/7.29, allocations: 95.36 kB / 3.356 GB, free: 203.3 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.284e-06/7.29, allocations: 0 / 3.356 GB, free: 203.3 MB / 0.948 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0004833/7.291, allocations: 291 kB / 3.356 GB, free: 203.2 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 2.185e-05/7.291, allocations: 7.406 kB / 3.356 GB, free: 203.2 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.312e-06/7.291, allocations: 0 / 3.356 GB, free: 203.2 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.793e-05/7.291, allocations: 3.875 kB / 3.356 GB, free: 203.2 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002231/7.291, allocations: 47.12 kB / 3.356 GB, free: 203.2 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.246e-06/7.291, allocations: 7.875 kB / 3.356 GB, free: 203.2 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002481/7.291, allocations: 38.14 kB / 3.356 GB, free: 203.2 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.255e-05/7.291, allocations: 23.5 kB / 3.356 GB, free: 203.2 MB / 0.948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * 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 (20): * Single equations (assignments): 20 * 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 0.0001422/7.291, allocations: 152 kB / 3.356 GB, free: 203 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.897e-05/7.292, allocations: 27.22 kB / 3.356 GB, free: 203 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006551/7.292, allocations: 313.2 kB / 3.357 GB, free: 202.9 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.719e-06/7.292, allocations: 0 / 3.357 GB, free: 202.9 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.161e-06/7.292, allocations: 0 / 3.357 GB, free: 202.9 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.979e-06/7.292, allocations: 0 / 3.357 GB, free: 202.9 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001202/7.293, allocations: 0.8049 MB / 3.357 GB, free: 202.4 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.196e-06/7.293, allocations: 3.781 kB / 3.357 GB, free: 202.4 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001747/7.294, allocations: 31.25 kB / 3.357 GB, free: 202.4 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.88e-06/7.294, allocations: 7.562 kB / 3.357 GB, free: 202.4 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.043e-05/7.294, allocations: 11.89 kB / 3.357 GB, free: 202.4 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.29e-06/7.294, allocations: 7.812 kB / 3.357 GB, free: 202.4 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.277e-06/7.294, allocations: 3.781 kB / 3.357 GB, free: 202.4 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005618/7.294, allocations: 485.7 kB / 3.358 GB, free: 202 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001347/7.294, allocations: 143.6 kB / 3.358 GB, free: 201.8 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.032e-05/7.294, allocations: 3.875 kB / 3.358 GB, free: 201.8 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002667/7.295, allocations: 37.36 kB / 3.358 GB, free: 201.8 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.979e-05/7.295, allocations: 18.27 kB / 3.358 GB, free: 201.8 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.15e-05/7.295, allocations: 11.69 kB / 3.358 GB, free: 201.8 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.0001861/7.295, allocations: 229.3 kB / 3.358 GB, free: 201.7 MB / 0.948 GB Notification: Performance of sort global known variables: time 1.1e-07/7.295, allocations: 0 / 3.358 GB, free: 201.7 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.001011/7.296, allocations: 218.3 kB / 3.359 GB, free: 201.6 MB / 0.948 GB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (16): * Single equations (assignments): 16 * 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.001693/7.298, allocations: 1.238 MB / 3.36 GB, free: 200.9 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.0004747/7.298, allocations: 215.6 kB / 3.36 GB, free: 200.9 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 2.695e-06/7.298, allocations: 0 / 3.36 GB, free: 200.9 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0001979/7.298, allocations: 122.4 kB / 3.36 GB, free: 200.8 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007208/7.299, allocations: 154.2 kB / 3.36 GB, free: 200.8 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009704/7.3, allocations: 0.6922 MB / 3.361 GB, free: 200.4 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002288/7.3, allocations: 0.7948 MB / 3.362 GB, free: 199.7 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.000282/7.301, allocations: 84.75 kB / 3.362 GB, free: 199.6 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.007e-05/7.301, allocations: 28.69 kB / 3.362 GB, free: 199.6 MB / 0.948 GB Notification: Performance of SimCode: time 5.11e-07/7.301, allocations: 0 / 3.362 GB, free: 199.6 MB / 0.948 GB Notification: Performance of Templates: time 0.02754/7.328, allocations: 21.07 MB / 3.382 GB, free: 189.2 MB / 0.948 GB make -j1 -f Buildings_8_Buildings.Fluid.Sensors.Examples.EntropyFlowRate.makefile (rm -f Buildings_8_Buildings.Fluid.Sensors.Examples.EntropyFlowRate.pipe ; mkfifo Buildings_8_Buildings.Fluid.Sensors.Examples.EntropyFlowRate.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.Sensors.Examples.EntropyFlowRate.pipe >> ../files/Buildings_8_Buildings.Fluid.Sensors.Examples.EntropyFlowRate.sim & ./Buildings_8_Buildings.Fluid.Sensors.Examples.EntropyFlowRate -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.Sensors.Examples.EntropyFlowRate.pipe 2>&1)