Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.EntropyFlowRate.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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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(BuildingSystems.Fluid.Sensors.Examples.EntropyFlowRate,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.EntropyFlowRate") translateModel(BuildingSystems.Fluid.Sensors.Examples.EntropyFlowRate,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.EntropyFlowRate") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008249/0.0008249, allocations: 91.61 kB / 15.06 MB, free: 1.098 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.0008486/0.0008486, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.32/1.32, allocations: 223.3 MB / 240 MB, free: 5.402 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001783/0.001783, allocations: 277.6 kB / 291.4 MB, free: 1.957 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9544/0.9544, allocations: 169.5 MB / 0.5 GB, free: 14.22 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004104/0.0004104, allocations: 13.62 kB / 0.598 GB, free: 28.39 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1366/0.137, allocations: 88.55 MB / 0.6845 GB, free: 15.46 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Sensors.Examples.EntropyFlowRate): time 0.4178/0.5549, allocations: 153.9 MB / 0.8348 GB, free: 10.79 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.007003/0.5619, allocations: 6.629 MB / 0.8413 GB, free: 5.496 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003114/0.5623, allocations: 9.375 kB / 0.8413 GB, free: 5.492 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0003958/0.5627, allocations: 119.5 kB / 0.8414 GB, free: 5.395 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.002013/0.5647, allocations: 0.8315 MB / 0.8422 GB, free: 4.754 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.001242/0.566, allocations: 489 kB / 0.8427 GB, free: 4.418 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0008104/0.5668, allocations: 0.8905 MB / 0.8436 GB, free: 3.895 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003352/0.5671, allocations: 220 kB / 0.8438 GB, free: 3.766 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000838/0.568, allocations: 474.7 kB / 0.8442 GB, free: 3.496 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006215/0.5686, allocations: 402.7 kB / 0.8446 GB, free: 3.281 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 3.433e-05/0.5686, allocations: 13 kB / 0.8446 GB, free: 3.281 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001225/0.5699, allocations: 0.6342 MB / 0.8452 GB, free: 2.965 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.00012/0.57, allocations: 113 kB / 0.8453 GB, free: 2.887 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 7.793e-05/0.5701, allocations: 92.95 kB / 0.8454 GB, free: 2.824 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0005612/0.5707, allocations: 0.5178 MB / 0.8459 GB, free: 2.52 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.307e-06/0.5707, allocations: 0 / 0.8459 GB, free: 2.52 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.202e-06/0.5707, allocations: 0 / 0.8459 GB, free: 2.52 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 7.774e-06/0.5707, allocations: 0 / 0.8459 GB, free: 2.52 MB / 0.5606 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.0007884/0.5715, allocations: 0.6402 MB / 0.8466 GB, free: 1.949 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 2.632e-05/0.5715, allocations: 7.812 kB / 0.8466 GB, free: 1.949 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008964/0.5724, allocations: 121.7 kB / 0.8467 GB, free: 1.895 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003743/0.5728, allocations: 313.6 kB / 0.847 GB, free: 1.602 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.503e-05/0.5729, allocations: 47.89 kB / 0.847 GB, free: 1.559 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.1e-05/0.5729, allocations: 30.8 kB / 0.8471 GB, free: 1.547 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005923/0.5735, allocations: 378 kB / 0.8474 GB, free: 1.305 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.254e-05/0.5736, allocations: 11.16 kB / 0.8474 GB, free: 1.297 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.08e-05/0.5736, allocations: 10.59 kB / 0.8474 GB, free: 1.289 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.812e-06/0.5736, allocations: 4.969 kB / 0.8475 GB, free: 1.289 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004812/0.5741, allocations: 285.1 kB / 0.8477 GB, free: 1.16 MB / 0.5606 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.00167/0.5758, allocations: 1.502 MB / 0.8492 GB, free: 15.79 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000355/0.5761, allocations: 203 kB / 0.8494 GB, free: 15.68 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001947/0.5763, allocations: 115.1 kB / 0.8495 GB, free: 15.63 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008974/0.5773, allocations: 0.5199 MB / 0.85 GB, free: 15.11 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.197e-05/0.5773, allocations: 33.41 kB / 0.85 GB, free: 15.07 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=15): time 1.372e-06/0.5773, allocations: 0 / 0.85 GB, free: 15.07 MB / 0.5762 GB Notification: Performance of matching and sorting (n=15): time 0.0008597/0.5782, allocations: 376.4 kB / 0.8504 GB, free: 14.88 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.497e-05/0.5782, allocations: 53.19 kB / 0.8504 GB, free: 14.82 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002865/0.5785, allocations: 316.1 kB / 0.8507 GB, free: 14.61 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 2.699e-05/0.5785, allocations: 29.7 kB / 0.8508 GB, free: 14.57 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001233/0.5787, allocations: 180.9 kB / 0.8509 GB, free: 14.41 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 4.507e-05/0.5787, allocations: 55.06 kB / 0.851 GB, free: 14.36 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.18e-05/0.5787, allocations: 0 / 0.851 GB, free: 14.36 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001153/0.5789, allocations: 350.4 kB / 0.8513 GB, free: 14.02 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000179/0.579, allocations: 89.31 kB / 0.8514 GB, free: 13.98 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002228/0.5793, allocations: 155 kB / 0.8516 GB, free: 13.87 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001959/0.5795, allocations: 98.31 kB / 0.8517 GB, free: 13.83 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.254e-06/0.5795, allocations: 0 / 0.8517 GB, free: 13.83 MB / 0.5762 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0005335/0.58, allocations: 305.4 kB / 0.852 GB, free: 13.67 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.245e-05/0.5801, allocations: 5.719 kB / 0.852 GB, free: 13.67 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.03e-06/0.5801, allocations: 192 / 0.852 GB, free: 13.67 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.076e-05/0.5801, allocations: 7.125 kB / 0.852 GB, free: 13.66 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002172/0.5803, allocations: 47.23 kB / 0.852 GB, free: 13.65 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.806e-06/0.5803, allocations: 6.531 kB / 0.852 GB, free: 13.65 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002159/0.5805, allocations: 40.38 kB / 0.8521 GB, free: 13.62 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.034e-05/0.5806, allocations: 12.62 kB / 0.8521 GB, free: 13.62 MB / 0.5762 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.0001445/0.5807, allocations: 157.8 kB / 0.8522 GB, free: 13.48 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001072/0.5808, allocations: 29.41 kB / 0.8522 GB, free: 13.46 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006653/0.5815, allocations: 331 kB / 0.8526 GB, free: 13.27 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.437e-06/0.5815, allocations: 3 kB / 0.8526 GB, free: 13.27 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.662e-06/0.5815, allocations: 5.453 kB / 0.8526 GB, free: 13.27 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.266e-06/0.5816, allocations: 0 / 0.8526 GB, free: 13.27 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001154/0.5827, allocations: 0.8099 MB / 0.8534 GB, free: 12.62 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.136e-06/0.5827, allocations: 3.094 kB / 0.8534 GB, free: 12.62 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000178/0.5829, allocations: 45.66 kB / 0.8534 GB, free: 12.61 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.709e-06/0.5829, allocations: 2.938 kB / 0.8534 GB, free: 12.61 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.584e-05/0.5829, allocations: 2.875 kB / 0.8534 GB, free: 12.61 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.32e-06/0.583, allocations: 6.844 kB / 0.8534 GB, free: 12.6 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.884e-06/0.583, allocations: 2.031 kB / 0.8534 GB, free: 12.6 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005539/0.5835, allocations: 416.1 kB / 0.8538 GB, free: 12.29 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001242/0.5837, allocations: 139.5 kB / 0.8539 GB, free: 12.15 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.297e-05/0.5837, allocations: 5.562 kB / 0.854 GB, free: 12.15 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002457/0.584, allocations: 23.83 kB / 0.854 GB, free: 12.14 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.034e-05/0.584, allocations: 16.77 kB / 0.854 GB, free: 12.14 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.617e-05/0.584, allocations: 15.86 kB / 0.854 GB, free: 12.13 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0001953/0.5842, allocations: 225.6 kB / 0.8542 GB, free: 11.98 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1e-07/0.5843, allocations: 0 / 0.8542 GB, free: 11.98 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0004436/0.5847, allocations: 114.5 kB / 0.8543 GB, free: 11.96 MB / 0.5762 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.0004259/0.5851, allocations: 211.2 kB / 0.8545 GB, free: 11.82 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0004425/0.5856, allocations: 231.6 kB / 0.8548 GB, free: 11.71 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.5856, allocations: 0 / 0.8548 GB, free: 11.71 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0002117/0.5858, allocations: 125 kB / 0.8549 GB, free: 11.66 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008122/0.5866, allocations: 155 kB / 0.855 GB, free: 11.58 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009582/0.5876, allocations: 0.7068 MB / 0.8557 GB, free: 11.04 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003224/0.5879, allocations: 0.7883 MB / 0.8565 GB, free: 10.3 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0002858/0.5882, allocations: 87.97 kB / 0.8566 GB, free: 10.26 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.173e-05/0.5883, allocations: 25.94 kB / 0.8566 GB, free: 10.25 MB / 0.5762 GB Notification: Performance of SimCode: time 2.61e-07/0.5883, allocations: 0 / 0.8566 GB, free: 10.25 MB / 0.5762 GB Notification: Performance of Templates: time 0.01052/0.5989, allocations: 6.781 MB / 0.8632 GB, free: 6.875 MB / 0.5762 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.EntropyFlowRate.makefile (rm -f BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.EntropyFlowRate.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.EntropyFlowRate.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.EntropyFlowRate.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.EntropyFlowRate.sim & ./BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.EntropyFlowRate -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.EntropyFlowRate.pipe 2>&1)