Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_1.6_Buildings.Fluid.Sensors.Examples.SpecificEntropy.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 1.6.0+build.1/package.mo", uses=false) Using package Buildings with version 1.6 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/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.SpecificEntropy,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Fluid.Sensors.Examples.SpecificEntropy") translateModel(Buildings.Fluid.Sensors.Examples.SpecificEntropy,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Fluid.Sensors.Examples.SpecificEntropy") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001749/0.001749, allocations: 109.4 kB / 15.69 MB, free: 128 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002169/0.002169, allocations: 186.1 kB / 16.62 MB, free: 6.582 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.597/1.597, allocations: 205.1 MB / 222.5 MB, free: 4.531 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/package.mo): time 0.5833/0.5833, allocations: 95.47 MB / 365.3 MB, free: 9.797 MB / 302.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: Buildings requested package Modelica of version 3.2.1. Modelica 3.2.3 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001512/0.001512, allocations: 79.89 kB / 446.1 MB, free: 8.84 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.365/0.3666, allocations: 69.07 MB / 0.5031 GB, free: 17.32 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.SpecificEntropy): time 0.4788/0.8455, allocations: 143.3 MB / 0.643 GB, free: 476 kB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.003945/0.8495, allocations: 3.021 MB / 0.646 GB, free: 376 kB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004327/0.85, allocations: 16.12 kB / 0.646 GB, free: 372 kB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006236/0.8506, allocations: 161.4 kB / 0.6462 GB, free: 368 kB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009068/0.8515, allocations: 409 kB / 0.6465 GB, free: 348 kB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001371/0.8529, allocations: 0.5262 MB / 0.6471 GB, free: 320 kB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008995/0.8538, allocations: 0.7799 MB / 0.6478 GB, free: 316 kB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003866/0.8542, allocations: 247.1 kB / 0.6481 GB, free: 296 kB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005522/0.8548, allocations: 339.2 kB / 0.6484 GB, free: 292 kB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006169/0.8554, allocations: 284.8 kB / 0.6487 GB, free: 292 kB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 8.216e-05/0.8555, allocations: 32.06 kB / 0.6487 GB, free: 288 kB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001078/0.8566, allocations: 319.8 kB / 0.649 GB, free: 284 kB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001798/0.8568, allocations: 85.95 kB / 0.6491 GB, free: 284 kB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003736/0.8572, allocations: 182.2 kB / 0.6492 GB, free: 284 kB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001326/0.8585, allocations: 0.5399 MB / 0.6498 GB, free: 256 kB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.17e-06/0.8586, allocations: 0 / 0.6498 GB, free: 256 kB / 494.1 MB Notification: Performance of FrontEnd: time 1.743e-06/0.8586, allocations: 0 / 0.6498 GB, free: 256 kB / 494.1 MB Notification: Performance of Transformations before backend: time 1.059e-05/0.8586, allocations: 0 / 0.6498 GB, free: 256 kB / 494.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 57 * Number of variables: 57 Notification: Performance of Generate backend data structure: time 0.001602/0.8602, allocations: 0.6489 MB / 0.6504 GB, free: 15.78 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 5.836e-05/0.8603, allocations: 14.61 kB / 0.6504 GB, free: 15.77 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000383/0.8607, allocations: 46.75 kB / 0.6505 GB, free: 15.75 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006449/0.8613, allocations: 340.8 kB / 0.6508 GB, free: 15.52 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.353e-05/0.8614, allocations: 16.44 kB / 0.6508 GB, free: 15.52 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.622e-05/0.8614, allocations: 22.69 kB / 0.6508 GB, free: 15.52 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008305/0.8623, allocations: 325.6 kB / 0.6511 GB, free: 15.43 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.561e-05/0.8623, allocations: 0 / 0.6511 GB, free: 15.43 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.852e-05/0.8623, allocations: 10.3 kB / 0.6511 GB, free: 15.43 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.375e-05/0.8624, allocations: 8.688 kB / 0.6512 GB, free: 15.43 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005609/0.8629, allocations: 213.2 kB / 0.6514 GB, free: 15.43 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002685/0.8656, allocations: 1.367 MB / 0.6527 GB, free: 14.54 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004088/0.8661, allocations: 113.4 kB / 0.6528 GB, free: 14.5 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002617/0.8663, allocations: 71.17 kB / 0.6529 GB, free: 14.5 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001092/0.8675, allocations: 0.6083 MB / 0.6535 GB, free: 13.84 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.699e-05/0.8675, allocations: 32.78 kB / 0.6535 GB, free: 13.8 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=16): time 2.464e-06/0.8675, allocations: 0 / 0.6535 GB, free: 13.8 MB / 0.4981 GB Notification: Performance of matching and sorting (n=16): time 0.0009861/0.8685, allocations: 236.9 kB / 0.6537 GB, free: 13.75 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.208e-05/0.8686, allocations: 109.6 kB / 0.6538 GB, free: 13.62 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004616/0.8691, allocations: 339.7 kB / 0.6541 GB, free: 13.51 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 4.098e-05/0.8691, allocations: 30.8 kB / 0.6542 GB, free: 13.48 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001713/0.8693, allocations: 191.1 kB / 0.6544 GB, free: 13.36 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 6.841e-05/0.8694, allocations: 59.34 kB / 0.6544 GB, free: 13.33 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001398/0.8696, allocations: 53.97 kB / 0.6545 GB, free: 13.31 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001988/0.8698, allocations: 340.7 kB / 0.6548 GB, free: 13 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002502/0.87, allocations: 62.61 kB / 0.6549 GB, free: 13 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003514/0.8704, allocations: 182.3 kB / 0.655 GB, free: 12.86 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005742/0.871, allocations: 239.1 kB / 0.6553 GB, free: 12.73 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.758e-06/0.871, allocations: 6.5 kB / 0.6553 GB, free: 12.73 MB / 0.4981 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0007359/0.8718, allocations: 277.2 kB / 0.6555 GB, free: 12.68 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.244e-05/0.8718, allocations: 5.531 kB / 0.6555 GB, free: 12.68 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.044e-05/0.8718, allocations: 4.719 kB / 0.6555 GB, free: 12.68 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.555e-05/0.8718, allocations: 6.344 kB / 0.6555 GB, free: 12.68 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005383/0.8724, allocations: 79.66 kB / 0.6556 GB, free: 12.67 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.775e-05/0.8724, allocations: 9.578 kB / 0.6556 GB, free: 12.67 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003256/0.8728, allocations: 35.59 kB / 0.6557 GB, free: 12.66 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.369e-05/0.8728, allocations: 14.22 kB / 0.6557 GB, free: 12.66 MB / 0.4981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * 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 (28): * Single equations (assignments): 28 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002288/0.873, allocations: 156.2 kB / 0.6558 GB, free: 12.54 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001001/0.8732, allocations: 33.78 kB / 0.6559 GB, free: 12.52 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007919/0.874, allocations: 277.8 kB / 0.6561 GB, free: 12.43 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.232e-06/0.874, allocations: 1.094 kB / 0.6561 GB, free: 12.43 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.122e-06/0.874, allocations: 3.031 kB / 0.6561 GB, free: 12.43 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.256e-05/0.874, allocations: 7.078 kB / 0.6561 GB, free: 12.43 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005036/0.8745, allocations: 321.2 kB / 0.6564 GB, free: 12.23 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.386e-06/0.8745, allocations: 6.906 kB / 0.6564 GB, free: 12.22 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003725/0.8749, allocations: 52.36 kB / 0.6565 GB, free: 12.22 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.755e-06/0.8749, allocations: 0 / 0.6565 GB, free: 12.22 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.739e-05/0.875, allocations: 2.578 kB / 0.6565 GB, free: 12.22 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.016e-06/0.875, allocations: 2.562 kB / 0.6565 GB, free: 12.22 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.325e-06/0.875, allocations: 0 / 0.6565 GB, free: 12.22 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007136/0.8757, allocations: 267.3 kB / 0.6568 GB, free: 12.14 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001027/0.8758, allocations: 100.7 kB / 0.6568 GB, free: 12.03 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.848e-05/0.8759, allocations: 16.78 kB / 0.6569 GB, free: 12.02 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002799/0.8762, allocations: 11.25 kB / 0.6569 GB, free: 12.02 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.726e-05/0.8763, allocations: 8.75 kB / 0.6569 GB, free: 12.02 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.592e-05/0.8763, allocations: 11.11 kB / 0.6569 GB, free: 12.02 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0003324/0.8767, allocations: 273.6 kB / 0.6572 GB, free: 11.94 MB / 0.4981 GB Notification: Performance of sort global known variables: time 2.71e-07/0.8767, allocations: 0 / 0.6572 GB, free: 11.94 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0006996/0.8774, allocations: 115.4 kB / 0.6573 GB, free: 11.92 MB / 0.4981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (senStr.s) * 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 (13): * Single equations (assignments): 13 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0006661/0.8781, allocations: 202.8 kB / 0.6575 GB, free: 11.82 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0006099/0.8787, allocations: 168.2 kB / 0.6576 GB, free: 11.81 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 4.659e-06/0.8787, allocations: 3.953 kB / 0.6576 GB, free: 11.81 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0002255/0.879, allocations: 59.39 kB / 0.6577 GB, free: 11.81 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001322/0.8803, allocations: 198.1 kB / 0.6579 GB, free: 11.77 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00141/0.8817, allocations: 0.5653 MB / 0.6584 GB, free: 11.47 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005179/0.8823, allocations: 0.7769 MB / 0.6592 GB, free: 10.77 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0004075/0.8827, allocations: 72.62 kB / 0.6592 GB, free: 10.74 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001178/0.8828, allocations: 34.34 kB / 0.6593 GB, free: 10.73 MB / 0.4981 GB Notification: Performance of SimCode: time 6.51e-07/0.8828, allocations: 0 / 0.6593 GB, free: 10.73 MB / 0.4981 GB Notification: Performance of Templates: time 0.02161/0.9045, allocations: 7.098 MB / 0.6662 GB, free: 10.21 MB / 0.4981 GB make -j1 -f Buildings_1.6_Buildings.Fluid.Sensors.Examples.SpecificEntropy.makefile (rm -f Buildings_1.6_Buildings.Fluid.Sensors.Examples.SpecificEntropy.pipe ; mkfifo Buildings_1.6_Buildings.Fluid.Sensors.Examples.SpecificEntropy.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Fluid.Sensors.Examples.SpecificEntropy.pipe >> ../files/Buildings_1.6_Buildings.Fluid.Sensors.Examples.SpecificEntropy.sim & ./Buildings_1.6_Buildings.Fluid.Sensors.Examples.SpecificEntropy -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Fluid.Sensors.Examples.SpecificEntropy.pipe 2>&1)