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/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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) 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) 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 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(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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008727/0.0008727, allocations: 86.09 kB / 15.06 MB, free: 1.09 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.001063/0.001063, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.367/1.367, allocations: 205.4 MB / 222.1 MB, free: 5.648 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.66/1.66, allocations: 292.7 MB / 0.5499 GB, free: 14.54 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0006435/0.0006439, allocations: 15.69 kB / 0.6737 GB, free: 26.21 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2523/0.253, allocations: 116.3 MB / 0.7873 GB, free: 11.95 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.EntropyFlowRate): time 0.6939/0.9469, allocations: 154 MB / 0.9376 GB, free: 5.457 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.007178/0.9541, allocations: 6.634 MB / 0.9441 GB, free: 5.312 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004753/0.9546, allocations: 11.34 kB / 0.9441 GB, free: 5.312 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0005123/0.9552, allocations: 118.4 kB / 0.9442 GB, free: 5.309 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.002457/0.9576, allocations: 0.833 MB / 0.945 GB, free: 5.273 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.001428/0.9591, allocations: 489.9 kB / 0.9455 GB, free: 5.254 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0009758/0.96, allocations: 0.8945 MB / 0.9464 GB, free: 5.164 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003661/0.9604, allocations: 223 kB / 0.9466 GB, free: 5.137 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001006/0.9614, allocations: 478.9 kB / 0.9471 GB, free: 5.039 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007386/0.9622, allocations: 394.9 kB / 0.9474 GB, free: 4.977 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 4.488e-05/0.9622, allocations: 14.22 kB / 0.9474 GB, free: 4.977 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001745/0.964, allocations: 0.6417 MB / 0.9481 GB, free: 4.902 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0001493/0.9642, allocations: 103.9 kB / 0.9482 GB, free: 4.891 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0001012/0.9643, allocations: 89.89 kB / 0.9483 GB, free: 4.848 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0008538/0.9651, allocations: 0.5199 MB / 0.9488 GB, free: 4.801 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.979e-06/0.9651, allocations: 0 / 0.9488 GB, free: 4.801 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.144e-06/0.9651, allocations: 0.5 kB / 0.9488 GB, free: 4.801 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 6.742e-06/0.9652, allocations: 0 / 0.9488 GB, free: 4.801 MB / 0.7169 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.001289/0.9665, allocations: 0.6318 MB / 0.9494 GB, free: 20.31 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 5.038e-05/0.9665, allocations: 9.406 kB / 0.9494 GB, free: 20.31 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001012/0.9675, allocations: 129.9 kB / 0.9495 GB, free: 20.29 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000411/0.968, allocations: 315.7 kB / 0.9498 GB, free: 20.06 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.487e-05/0.968, allocations: 52.94 kB / 0.9499 GB, free: 20.03 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.206e-05/0.9681, allocations: 25.91 kB / 0.9499 GB, free: 20.03 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006483/0.9687, allocations: 374.2 kB / 0.9502 GB, free: 19.95 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.321e-05/0.9688, allocations: 0 / 0.9502 GB, free: 19.95 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.263e-05/0.9688, allocations: 14.02 kB / 0.9503 GB, free: 19.94 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.003e-05/0.9688, allocations: 6.719 kB / 0.9503 GB, free: 19.94 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004727/0.9693, allocations: 283.2 kB / 0.9505 GB, free: 19.93 MB / 0.7325 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.001696/0.971, allocations: 1.505 MB / 0.952 GB, free: 18.93 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000375/0.9714, allocations: 200.3 kB / 0.9522 GB, free: 18.9 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002027/0.9716, allocations: 123.7 kB / 0.9523 GB, free: 18.89 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000923/0.9725, allocations: 0.5175 MB / 0.9528 GB, free: 18.42 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.302e-05/0.9726, allocations: 35.44 kB / 0.9529 GB, free: 18.38 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=15): time 1.573e-06/0.9726, allocations: 0 / 0.9529 GB, free: 18.38 MB / 0.7325 GB Notification: Performance of matching and sorting (n=15): time 0.0008716/0.9735, allocations: 377.6 kB / 0.9532 GB, free: 18.32 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.846e-05/0.9735, allocations: 52.41 kB / 0.9533 GB, free: 18.26 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002958/0.9738, allocations: 313.7 kB / 0.9536 GB, free: 18.15 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 2.759e-05/0.9738, allocations: 28.89 kB / 0.9536 GB, free: 18.12 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001121/0.974, allocations: 184.4 kB / 0.9538 GB, free: 18.01 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 3.65e-05/0.974, allocations: 57.17 kB / 0.9538 GB, free: 17.97 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.295e-05/0.974, allocations: 4.594 kB / 0.9538 GB, free: 17.97 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001127/0.9741, allocations: 337.7 kB / 0.9541 GB, free: 17.65 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001751/0.9743, allocations: 96.48 kB / 0.9542 GB, free: 17.65 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002038/0.9745, allocations: 153.5 kB / 0.9544 GB, free: 17.59 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000194/0.9747, allocations: 111.9 kB / 0.9545 GB, free: 17.58 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.296e-06/0.9747, allocations: 1.25 kB / 0.9545 GB, free: 17.58 MB / 0.7325 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0005615/0.9753, allocations: 290.8 kB / 0.9548 GB, free: 17.53 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 2.016e-05/0.9753, allocations: 6.75 kB / 0.9548 GB, free: 17.53 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.763e-06/0.9754, allocations: 1.062 kB / 0.9548 GB, free: 17.53 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.949e-05/0.9754, allocations: 3.469 kB / 0.9548 GB, free: 17.53 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002157/0.9756, allocations: 46.41 kB / 0.9548 GB, free: 17.52 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.616e-06/0.9756, allocations: 6.641 kB / 0.9548 GB, free: 17.52 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002384/0.9759, allocations: 42.08 kB / 0.9549 GB, free: 17.5 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.792e-05/0.9759, allocations: 18.45 kB / 0.9549 GB, free: 17.5 MB / 0.7325 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.0001623/0.9761, allocations: 149.7 kB / 0.955 GB, free: 17.38 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.51e-05/0.9762, allocations: 29.91 kB / 0.9551 GB, free: 17.36 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000704/0.9769, allocations: 318.8 kB / 0.9554 GB, free: 17.32 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.19e-06/0.9769, allocations: 1.188 kB / 0.9554 GB, free: 17.32 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.482e-06/0.9769, allocations: 1.844 kB / 0.9554 GB, free: 17.32 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.877e-06/0.9769, allocations: 0 / 0.9554 GB, free: 17.32 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001249/0.9782, allocations: 0.8215 MB / 0.9562 GB, free: 16.93 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.931e-06/0.9782, allocations: 11.27 kB / 0.9562 GB, free: 16.93 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001709/0.9784, allocations: 35.22 kB / 0.9562 GB, free: 16.92 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.245e-06/0.9784, allocations: 8.156 kB / 0.9562 GB, free: 16.92 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.919e-05/0.9784, allocations: 11.89 kB / 0.9562 GB, free: 16.92 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.047e-06/0.9784, allocations: 2.125 kB / 0.9562 GB, free: 16.92 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.776e-06/0.9784, allocations: 2.281 kB / 0.9562 GB, free: 16.92 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005555/0.979, allocations: 412.1 kB / 0.9566 GB, free: 16.7 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001396/0.9791, allocations: 136.2 kB / 0.9568 GB, free: 16.59 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.85e-05/0.9792, allocations: 9 kB / 0.9568 GB, free: 16.59 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002385/0.9794, allocations: 26.98 kB / 0.9568 GB, free: 16.59 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.877e-05/0.9795, allocations: 25.31 kB / 0.9568 GB, free: 16.58 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.474e-05/0.9795, allocations: 11.03 kB / 0.9568 GB, free: 16.58 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.000206/0.9797, allocations: 220.5 kB / 0.957 GB, free: 16.5 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.21e-07/0.9798, allocations: 1.25 kB / 0.957 GB, free: 16.5 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0005895/0.9804, allocations: 118.4 kB / 0.9572 GB, free: 16.48 MB / 0.7325 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.0005316/0.9809, allocations: 215.7 kB / 0.9574 GB, free: 16.37 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0004897/0.9814, allocations: 226.7 kB / 0.9576 GB, free: 16.36 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 3.126e-06/0.9814, allocations: 1.031 kB / 0.9576 GB, free: 16.36 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0002183/0.9816, allocations: 126.4 kB / 0.9577 GB, free: 16.34 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008249/0.9825, allocations: 146.7 kB / 0.9578 GB, free: 16.33 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001133/0.9836, allocations: 0.7046 MB / 0.9585 GB, free: 15.93 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003984/0.984, allocations: 0.7851 MB / 0.9593 GB, free: 15.22 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0003258/0.9843, allocations: 92.94 kB / 0.9594 GB, free: 15.2 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.178e-05/0.9844, allocations: 33.28 kB / 0.9594 GB, free: 15.19 MB / 0.7325 GB Notification: Performance of SimCode: time 8.42e-07/0.9845, allocations: 0 / 0.9594 GB, free: 15.19 MB / 0.7325 GB Notification: Performance of Templates: time 0.01329/0.9977, allocations: 6.765 MB / 0.966 GB, free: 14.2 MB / 0.7325 GB make -j1 -f Buildings_8_Buildings.Fluid.Sensors.Examples.EntropyFlowRate.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: