Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Sensors.Examples.EntropyFlowRate.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 Buildings with version 9.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo) Running command: translateModel(Buildings.Fluid.Sensors.Examples.EntropyFlowRate,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Fluid.Sensors.Examples.EntropyFlowRate") translateModel(Buildings.Fluid.Sensors.Examples.EntropyFlowRate,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Fluid.Sensors.Examples.EntropyFlowRate") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 1.701/1.701, allocations: 297.8 MB / 313.7 MB, free: 168 kB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001174/0.001174, allocations: 176.3 kB / 384.6 MB, free: 10.89 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.417/1.417, allocations: 223.2 MB / 0.6626 GB, free: 4.344 MB / 490.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007781/0.0007782, allocations: 93.66 kB / 0.7808 GB, free: 50.4 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003849/0.0003849, allocations: 17.94 kB / 0.9088 GB, free: 2.883 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6997/0.7001, allocations: 120.3 MB / 1.026 GB, free: 55.99 MB / 0.7292 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.418/5.118, allocations: 1.861 GB / 2.887 GB, free: 300.1 MB / 0.9792 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002933/5.119, allocations: 89.69 kB / 2.888 GB, free: 300.1 MB / 0.9792 GB Notification: Performance of FrontEnd - DAE generated: time 0.5847/5.704, allocations: 306 MB / 3.186 GB, free: 65.76 MB / 0.9792 GB Notification: Performance of FrontEnd: time 3.206e-06/5.704, allocations: 0 / 3.186 GB, free: 65.76 MB / 0.9792 GB Notification: Performance of Transformations before backend: time 4.446e-05/5.704, allocations: 11.98 kB / 3.186 GB, free: 65.75 MB / 0.9792 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.001782/5.705, allocations: 0.7455 MB / 3.187 GB, free: 64.95 MB / 0.9792 GB Notification: Performance of prepare preOptimizeDAE: time 4.332e-05/5.706, allocations: 8.219 kB / 3.187 GB, free: 64.94 MB / 0.9792 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001056/5.707, allocations: 140.3 kB / 3.187 GB, free: 64.8 MB / 0.9792 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000534/5.707, allocations: 343.2 kB / 3.188 GB, free: 64.43 MB / 0.9792 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.841e-05/5.707, allocations: 46.83 kB / 3.188 GB, free: 64.38 MB / 0.9792 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.668e-05/5.707, allocations: 32.38 kB / 3.188 GB, free: 64.35 MB / 0.9792 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005657/5.708, allocations: 366.4 kB / 3.188 GB, free: 63.97 MB / 0.9792 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.429e-05/5.708, allocations: 0 / 3.188 GB, free: 63.97 MB / 0.9792 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.035e-05/5.708, allocations: 12 kB / 3.188 GB, free: 63.96 MB / 0.9792 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.795e-06/5.708, allocations: 8 kB / 3.188 GB, free: 63.95 MB / 0.9792 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004394/5.708, allocations: 270 kB / 3.188 GB, free: 63.68 MB / 0.9792 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.001436/5.71, allocations: 1.476 MB / 3.19 GB, free: 62.08 MB / 0.9792 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003218/5.71, allocations: 182.6 kB / 3.19 GB, free: 61.89 MB / 0.9792 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001905/5.71, allocations: 120.8 kB / 3.19 GB, free: 61.77 MB / 0.9792 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007124/5.711, allocations: 0.4975 MB / 3.19 GB, free: 61.18 MB / 0.9792 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.24e-05/5.711, allocations: 42.5 kB / 3.191 GB, free: 61.13 MB / 0.9792 GB Notification: Performance of pre-optimization done (n=15): time 1.573e-06/5.711, allocations: 0 / 3.191 GB, free: 61.13 MB / 0.9792 GB Notification: Performance of matching and sorting (n=15): time 0.0008079/5.712, allocations: 346.8 kB / 3.191 GB, free: 60.79 MB / 0.9792 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.137e-05/5.712, allocations: 55.41 kB / 3.191 GB, free: 60.72 MB / 0.9792 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002418/5.712, allocations: 328.3 kB / 3.191 GB, free: 60.4 MB / 0.9792 GB Notification: Performance of collectPreVariables (initialization): time 2.284e-05/5.712, allocations: 25.7 kB / 3.191 GB, free: 60.37 MB / 0.9792 GB Notification: Performance of collectInitialEqns (initialization): time 8.238e-05/5.712, allocations: 184.2 kB / 3.191 GB, free: 60.18 MB / 0.9792 GB Notification: Performance of collectInitialBindings (initialization): time 3.558e-05/5.712, allocations: 51.2 kB / 3.191 GB, free: 60.13 MB / 0.9792 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.638e-06/5.712, allocations: 4 kB / 3.191 GB, free: 60.13 MB / 0.9792 GB Notification: Performance of setup shared object (initialization): time 5.95e-05/5.712, allocations: 338.8 kB / 3.192 GB, free: 59.79 MB / 0.9792 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001547/5.713, allocations: 83.94 kB / 3.192 GB, free: 59.71 MB / 0.9792 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000184/5.713, allocations: 169.1 kB / 3.192 GB, free: 59.52 MB / 0.9792 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003294/5.713, allocations: 237.8 kB / 3.192 GB, free: 59.26 MB / 0.9792 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.064e-06/5.713, allocations: 0 / 3.192 GB, free: 59.26 MB / 0.9792 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0004915/5.714, allocations: 287 kB / 3.193 GB, free: 58.98 MB / 0.9792 GB Notification: Performance of prepare postOptimizeDAE: time 1.475e-05/5.714, allocations: 8.188 kB / 3.193 GB, free: 58.97 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.901e-06/5.714, allocations: 4 kB / 3.193 GB, free: 58.96 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.554e-05/5.714, allocations: 4 kB / 3.193 GB, free: 58.96 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002144/5.714, allocations: 39.97 kB / 3.193 GB, free: 58.92 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.077e-05/5.714, allocations: 7.938 kB / 3.193 GB, free: 58.91 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002247/5.714, allocations: 51.59 kB / 3.193 GB, free: 58.86 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.625e-05/5.714, allocations: 12 kB / 3.193 GB, free: 58.85 MB / 0.9792 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.0001402/5.714, allocations: 145.8 kB / 3.193 GB, free: 58.7 MB / 0.9792 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.158e-05/5.714, allocations: 27.72 kB / 3.193 GB, free: 58.67 MB / 0.9792 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006093/5.715, allocations: 321.9 kB / 3.193 GB, free: 58.34 MB / 0.9792 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.647e-06/5.715, allocations: 4 kB / 3.193 GB, free: 58.34 MB / 0.9792 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.029e-06/5.715, allocations: 3.938 kB / 3.193 GB, free: 58.34 MB / 0.9792 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.188e-06/5.715, allocations: 3.984 kB / 3.193 GB, free: 58.33 MB / 0.9792 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001027/5.716, allocations: 0.8005 MB / 3.194 GB, free: 57.45 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.655e-06/5.716, allocations: 0 / 3.194 GB, free: 57.45 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001654/5.716, allocations: 31.98 kB / 3.194 GB, free: 57.42 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.637e-06/5.716, allocations: 4 kB / 3.194 GB, free: 57.42 MB / 0.9792 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.819e-05/5.716, allocations: 11.98 kB / 3.194 GB, free: 57.41 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.487e-06/5.716, allocations: 8.156 kB / 3.194 GB, free: 57.4 MB / 0.9792 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.953e-06/5.716, allocations: 4 kB / 3.194 GB, free: 57.39 MB / 0.9792 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004889/5.717, allocations: 404.9 kB / 3.194 GB, free: 56.96 MB / 0.9792 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000127/5.717, allocations: 136.6 kB / 3.195 GB, free: 56.81 MB / 0.9792 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.018e-05/5.717, allocations: 4 kB / 3.195 GB, free: 56.8 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002527/5.717, allocations: 35.91 kB / 3.195 GB, free: 56.77 MB / 0.9792 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.601e-05/5.717, allocations: 11.98 kB / 3.195 GB, free: 56.76 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.335e-05/5.717, allocations: 19.92 kB / 3.195 GB, free: 56.74 MB / 0.9792 GB Notification: Performance of sorting global known variables: time 0.0001599/5.718, allocations: 223 kB / 3.195 GB, free: 56.52 MB / 0.9792 GB Notification: Performance of sort global known variables: time 2.71e-07/5.718, allocations: 0 / 3.195 GB, free: 56.52 MB / 0.9792 GB Notification: Performance of remove unused functions: time 0.0008769/5.718, allocations: 227.8 kB / 3.195 GB, free: 56.3 MB / 0.9792 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.001784/5.72, allocations: 1.247 MB / 3.196 GB, free: 55.04 MB / 0.9792 GB Notification: Performance of simCode: created initialization part: time 0.0004219/5.721, allocations: 219.7 kB / 3.196 GB, free: 54.82 MB / 0.9792 GB Notification: Performance of simCode: created event and clocks part: time 2.825e-06/5.721, allocations: 0 / 3.196 GB, free: 54.82 MB / 0.9792 GB Notification: Performance of simCode: created simulation system equations: time 0.0001856/5.721, allocations: 116.6 kB / 3.197 GB, free: 54.71 MB / 0.9792 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008864/5.722, allocations: 154.8 kB / 3.197 GB, free: 54.57 MB / 0.9792 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009845/5.723, allocations: 0.6823 MB / 3.197 GB, free: 53.83 MB / 0.9792 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001971/5.723, allocations: 0.7875 MB / 3.198 GB, free: 53.02 MB / 0.9792 GB Notification: Performance of simCode: alias equations: time 0.0002891/5.723, allocations: 78.88 kB / 3.198 GB, free: 52.94 MB / 0.9792 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.969e-05/5.723, allocations: 35.36 kB / 3.198 GB, free: 52.91 MB / 0.9792 GB Notification: Performance of SimCode: time 4.91e-07/5.723, allocations: 0 / 3.198 GB, free: 52.91 MB / 0.9792 GB Notification: Performance of Templates: time 0.02526/5.749, allocations: 21.25 MB / 3.219 GB, free: 31.74 MB / 0.9792 GB make -j1 -f Buildings_latest_Buildings.Fluid.Sensors.Examples.EntropyFlowRate.makefile (rm -f Buildings_latest_Buildings.Fluid.Sensors.Examples.EntropyFlowRate.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Sensors.Examples.EntropyFlowRate.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Sensors.Examples.EntropyFlowRate.pipe >> ../files/Buildings_latest_Buildings.Fluid.Sensors.Examples.EntropyFlowRate.sim & ./Buildings_latest_Buildings.Fluid.Sensors.Examples.EntropyFlowRate -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Sensors.Examples.EntropyFlowRate.pipe 2>&1)