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.001293/0.001293, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001465/0.001465, allocations: 193.3 kB / 16.14 MB, free: 6.703 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.495/1.495, allocations: 205.1 MB / 222 MB, free: 4.742 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.5928/0.5928, allocations: 95.49 MB / 364.8 MB, free: 10.1 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.001605/0.001605, allocations: 63.92 kB / 444.7 MB, free: 10.09 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3605/0.3621, allocations: 69.07 MB / 0.5017 GB, free: 17.64 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.SpecificEntropy): time 0.4862/0.8484, allocations: 141.3 MB / 0.6397 GB, free: 0.793 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.003997/0.8524, allocations: 3.063 MB / 0.6427 GB, free: 0.6953 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005607/0.853, allocations: 12.19 kB / 0.6427 GB, free: 0.6953 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006494/0.8537, allocations: 136 kB / 0.6428 GB, free: 0.6914 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009263/0.8547, allocations: 391 kB / 0.6432 GB, free: 0.6719 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001365/0.856, allocations: 490.2 kB / 0.6436 GB, free: 0.6445 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.001375/0.8574, allocations: 1.098 MB / 0.6447 GB, free: 0.6406 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003517/0.8578, allocations: 203 kB / 0.6449 GB, free: 0.625 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005938/0.8584, allocations: 306.4 kB / 0.6452 GB, free: 0.625 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004261/0.8588, allocations: 290 kB / 0.6455 GB, free: 0.6211 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 4.487e-05/0.8589, allocations: 15.53 kB / 0.6455 GB, free: 0.6211 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007315/0.8596, allocations: 325.8 kB / 0.6458 GB, free: 0.6133 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001123/0.8597, allocations: 79.39 kB / 0.6459 GB, free: 0.6133 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000236/0.86, allocations: 163.8 kB / 0.646 GB, free: 0.6133 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007644/0.8608, allocations: 0.5264 MB / 0.6465 GB, free: 0.582 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.975e-06/0.8608, allocations: 0 / 0.6465 GB, free: 0.582 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.222e-06/0.8608, allocations: 0.5625 kB / 0.6465 GB, free: 0.582 MB / 494.1 MB Notification: Performance of Transformations before backend: time 6.763e-06/0.8608, allocations: 0 / 0.6465 GB, free: 0.582 MB / 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.00113/0.8619, allocations: 0.6508 MB / 0.6472 GB, free: 16.11 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.559e-05/0.862, allocations: 16.33 kB / 0.6472 GB, free: 16.1 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002475/0.8622, allocations: 47.03 kB / 0.6472 GB, free: 16.08 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004093/0.8626, allocations: 319.5 kB / 0.6475 GB, free: 15.85 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.034e-05/0.8627, allocations: 17.31 kB / 0.6476 GB, free: 15.85 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.783e-05/0.8627, allocations: 22.97 kB / 0.6476 GB, free: 15.85 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004866/0.8632, allocations: 327.8 kB / 0.6479 GB, free: 15.76 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.218e-06/0.8632, allocations: 1.203 kB / 0.6479 GB, free: 15.76 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.518e-05/0.8633, allocations: 10.91 kB / 0.6479 GB, free: 15.76 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.092e-05/0.8633, allocations: 6.062 kB / 0.6479 GB, free: 15.76 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003926/0.8637, allocations: 215.2 kB / 0.6481 GB, free: 15.76 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001755/0.8655, allocations: 1.368 MB / 0.6495 GB, free: 14.87 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002134/0.8657, allocations: 115.8 kB / 0.6496 GB, free: 14.84 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000138/0.8658, allocations: 66.19 kB / 0.6496 GB, free: 14.83 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007014/0.8665, allocations: 0.6052 MB / 0.6502 GB, free: 14.17 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.214e-05/0.8666, allocations: 39.41 kB / 0.6503 GB, free: 14.13 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=16): time 1.433e-06/0.8666, allocations: 0 / 0.6503 GB, free: 14.13 MB / 0.4981 GB Notification: Performance of matching and sorting (n=16): time 0.0005712/0.8672, allocations: 237.6 kB / 0.6505 GB, free: 14.08 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.324e-05/0.8672, allocations: 110 kB / 0.6506 GB, free: 13.95 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003874/0.8676, allocations: 332.3 kB / 0.6509 GB, free: 13.84 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 3.027e-05/0.8677, allocations: 34.52 kB / 0.6509 GB, free: 13.81 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.000145/0.8678, allocations: 190 kB / 0.6511 GB, free: 13.7 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 5.348e-05/0.8679, allocations: 61.38 kB / 0.6512 GB, free: 13.66 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.245e-05/0.868, allocations: 50.5 kB / 0.6512 GB, free: 13.64 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001327/0.8681, allocations: 348 kB / 0.6516 GB, free: 13.33 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001824/0.8683, allocations: 60.44 kB / 0.6516 GB, free: 13.33 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002754/0.8686, allocations: 172.4 kB / 0.6518 GB, free: 13.19 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004397/0.869, allocations: 244.6 kB / 0.652 GB, free: 13.07 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.376e-05/0.8691, allocations: 7.219 kB / 0.652 GB, free: 13.06 MB / 0.4981 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0004838/0.8696, allocations: 277.2 kB / 0.6523 GB, free: 13.01 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.367e-05/0.8696, allocations: 6.844 kB / 0.6523 GB, free: 13.01 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.911e-06/0.8696, allocations: 3.281 kB / 0.6523 GB, free: 13.01 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.351e-05/0.8696, allocations: 9.375 kB / 0.6523 GB, free: 13.01 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003363/0.8699, allocations: 70.91 kB / 0.6524 GB, free: 13.01 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.008e-05/0.87, allocations: 9.406 kB / 0.6524 GB, free: 13.01 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002093/0.8702, allocations: 39.48 kB / 0.6524 GB, free: 12.99 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.488e-05/0.8702, allocations: 15.64 kB / 0.6524 GB, free: 12.99 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.0001309/0.8704, allocations: 158.9 kB / 0.6526 GB, free: 12.87 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.482e-05/0.8704, allocations: 36.81 kB / 0.6526 GB, free: 12.85 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005081/0.8709, allocations: 278.2 kB / 0.6529 GB, free: 12.77 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.238e-06/0.871, allocations: 2.094 kB / 0.6529 GB, free: 12.77 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.288e-06/0.871, allocations: 6.938 kB / 0.6529 GB, free: 12.76 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.276e-06/0.871, allocations: 0 / 0.6529 GB, free: 12.76 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003272/0.8713, allocations: 332.6 kB / 0.6532 GB, free: 12.56 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.312e-06/0.8713, allocations: 0 / 0.6532 GB, free: 12.56 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000258/0.8716, allocations: 47.97 kB / 0.6533 GB, free: 12.56 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.585e-06/0.8716, allocations: 0 / 0.6533 GB, free: 12.56 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.403e-05/0.8716, allocations: 3.281 kB / 0.6533 GB, free: 12.56 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.435e-06/0.8716, allocations: 0 / 0.6533 GB, free: 12.56 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.423e-06/0.8716, allocations: 1.203 kB / 0.6533 GB, free: 12.56 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004956/0.8721, allocations: 275.2 kB / 0.6535 GB, free: 12.47 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 7.29e-05/0.8722, allocations: 104.7 kB / 0.6536 GB, free: 12.36 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.104e-05/0.8723, allocations: 9.594 kB / 0.6536 GB, free: 12.36 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001935/0.8725, allocations: 18.27 kB / 0.6536 GB, free: 12.35 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.176e-05/0.8725, allocations: 6.125 kB / 0.6537 GB, free: 12.35 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.746e-05/0.8725, allocations: 7.984 kB / 0.6537 GB, free: 12.35 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0002344/0.8728, allocations: 273.9 kB / 0.6539 GB, free: 12.26 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.2e-07/0.8728, allocations: 2.875 kB / 0.6539 GB, free: 12.26 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0004156/0.8732, allocations: 110.8 kB / 0.654 GB, free: 12.25 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.0004244/0.8736, allocations: 194.3 kB / 0.6542 GB, free: 12.15 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0003621/0.874, allocations: 168.3 kB / 0.6544 GB, free: 12.14 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.735e-06/0.874, allocations: 0 / 0.6544 GB, free: 12.14 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001321/0.8742, allocations: 60.36 kB / 0.6544 GB, free: 12.14 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008131/0.875, allocations: 192.6 kB / 0.6546 GB, free: 12.12 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008351/0.8758, allocations: 0.6644 MB / 0.6553 GB, free: 11.72 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002903/0.8761, allocations: 0.7754 MB / 0.656 GB, free: 11.02 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0002497/0.8764, allocations: 76.12 kB / 0.6561 GB, free: 11 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.504e-05/0.8765, allocations: 28.81 kB / 0.6561 GB, free: 10.99 MB / 0.4981 GB Notification: Performance of SimCode: time 3.4e-07/0.8765, allocations: 0 / 0.6561 GB, free: 10.99 MB / 0.4981 GB Notification: Performance of Templates: time 0.01077/0.8872, allocations: 6.807 MB / 0.6628 GB, free: 10.46 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)