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.0008763/0.0008765, allocations: 90.83 kB / 15.36 MB, free: 0.7383 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.006825/0.006825, allocations: 172.6 kB / 16.26 MB, free: 6.613 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.643/1.643, allocations: 205.4 MB / 222.4 MB, free: 5.797 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.6067/0.6067, allocations: 95.64 MB / 366.4 MB, free: 10.3 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.0005895/0.0005896, allocations: 15.98 kB / 447.5 MB, free: 9.043 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3821/0.3827, allocations: 70.33 MB / 0.5057 GB, free: 16.37 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.SpecificEntropy): time 0.5362/0.9189, allocations: 139.4 MB / 0.6418 GB, free: 0.793 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.004693/0.9237, allocations: 3.03 MB / 0.6448 GB, free: 0.6914 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005688/0.9243, allocations: 11.59 kB / 0.6448 GB, free: 0.6914 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007334/0.925, allocations: 129.5 kB / 0.6449 GB, free: 0.6914 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001338/0.9264, allocations: 395.3 kB / 0.6453 GB, free: 0.668 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001666/0.9281, allocations: 484.4 kB / 0.6457 GB, free: 0.6445 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.001659/0.9297, allocations: 1.1 MB / 0.6468 GB, free: 0.6406 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004398/0.9302, allocations: 201.6 kB / 0.647 GB, free: 0.625 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000717/0.9309, allocations: 301.3 kB / 0.6473 GB, free: 0.6211 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006001/0.9315, allocations: 290.2 kB / 0.6476 GB, free: 0.6211 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 4.501e-05/0.9316, allocations: 14.16 kB / 0.6476 GB, free: 0.6211 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008974/0.9325, allocations: 316.7 kB / 0.6479 GB, free: 0.6172 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001145/0.9326, allocations: 77.3 kB / 0.648 GB, free: 0.6133 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003342/0.933, allocations: 190.1 kB / 0.6481 GB, free: 16.58 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0009185/0.9339, allocations: 0.5216 MB / 0.6486 GB, free: 16.55 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 2.118e-05/0.9339, allocations: 0 / 0.6486 GB, free: 16.55 MB / 0.4981 GB Notification: Performance of FrontEnd: time 2.033e-06/0.9339, allocations: 0.5 kB / 0.6486 GB, free: 16.55 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 7.714e-06/0.9339, allocations: 0 / 0.6486 GB, free: 16.55 MB / 0.4981 GB 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.001074/0.935, allocations: 0.5744 MB / 0.6492 GB, free: 16.09 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 5.988e-05/0.9351, allocations: 16.86 kB / 0.6492 GB, free: 16.08 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002981/0.9354, allocations: 46.84 kB / 0.6493 GB, free: 16.06 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005463/0.936, allocations: 326.3 kB / 0.6496 GB, free: 15.83 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.838e-05/0.936, allocations: 20.47 kB / 0.6496 GB, free: 15.83 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.27e-05/0.9361, allocations: 25.64 kB / 0.6496 GB, free: 15.83 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007814/0.9369, allocations: 327.5 kB / 0.6499 GB, free: 15.74 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.36e-05/0.9369, allocations: 0.625 kB / 0.6499 GB, free: 15.74 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.818e-05/0.937, allocations: 11.38 kB / 0.6499 GB, free: 15.74 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.613e-05/0.937, allocations: 5.688 kB / 0.65 GB, free: 15.74 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004386/0.9374, allocations: 234.3 kB / 0.6502 GB, free: 15.73 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001974/0.9394, allocations: 1.371 MB / 0.6515 GB, free: 14.84 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002542/0.9397, allocations: 122.7 kB / 0.6516 GB, free: 14.81 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001588/0.9398, allocations: 77.52 kB / 0.6517 GB, free: 14.8 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008062/0.9407, allocations: 0.6145 MB / 0.6523 GB, free: 14.14 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.789e-05/0.9407, allocations: 37.22 kB / 0.6523 GB, free: 14.1 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=16): time 1.794e-06/0.9407, allocations: 0 / 0.6523 GB, free: 14.1 MB / 0.4981 GB Notification: Performance of matching and sorting (n=16): time 0.000656/0.9414, allocations: 246.4 kB / 0.6526 GB, free: 14.05 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.843e-05/0.9415, allocations: 112.3 kB / 0.6527 GB, free: 13.92 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004977/0.942, allocations: 336.5 kB / 0.653 GB, free: 13.81 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 3.796e-05/0.942, allocations: 30.39 kB / 0.653 GB, free: 13.78 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001674/0.9422, allocations: 192.3 kB / 0.6532 GB, free: 13.66 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 5.498e-05/0.9423, allocations: 59.84 kB / 0.6533 GB, free: 13.63 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.011e-05/0.9423, allocations: 22.97 kB / 0.6533 GB, free: 13.61 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001447/0.9425, allocations: 342.4 kB / 0.6536 GB, free: 13.3 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001999/0.9427, allocations: 70.17 kB / 0.6537 GB, free: 13.3 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003067/0.943, allocations: 183.4 kB / 0.6539 GB, free: 13.16 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004647/0.9435, allocations: 254 kB / 0.6541 GB, free: 13.03 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.172e-06/0.9435, allocations: 7.5 kB / 0.6541 GB, free: 13.03 MB / 0.4981 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0005066/0.944, allocations: 292.5 kB / 0.6544 GB, free: 12.97 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.243e-05/0.944, allocations: 5.781 kB / 0.6544 GB, free: 12.97 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.184e-06/0.944, allocations: 6.938 kB / 0.6544 GB, free: 12.97 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.066e-05/0.9441, allocations: 5.719 kB / 0.6544 GB, free: 12.97 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004053/0.9445, allocations: 80.67 kB / 0.6545 GB, free: 12.97 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.159e-05/0.9445, allocations: 8.156 kB / 0.6545 GB, free: 12.97 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002621/0.9448, allocations: 40.84 kB / 0.6545 GB, free: 12.95 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.023e-05/0.9448, allocations: 15.38 kB / 0.6545 GB, free: 12.95 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.0001634/0.945, allocations: 158.4 kB / 0.6547 GB, free: 12.83 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.019e-05/0.945, allocations: 33.97 kB / 0.6547 GB, free: 12.81 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005795/0.9456, allocations: 288 kB / 0.655 GB, free: 12.73 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.967e-06/0.9456, allocations: 0 / 0.655 GB, free: 12.73 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.694e-06/0.9456, allocations: 0 / 0.655 GB, free: 12.73 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.528e-06/0.9457, allocations: 1.859 kB / 0.655 GB, free: 12.73 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003803/0.946, allocations: 327.8 kB / 0.6553 GB, free: 12.53 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.407e-06/0.9461, allocations: 4 kB / 0.6553 GB, free: 12.53 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002595/0.9463, allocations: 54.19 kB / 0.6554 GB, free: 12.53 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.945e-06/0.9463, allocations: 0 / 0.6554 GB, free: 12.53 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.303e-05/0.9464, allocations: 3.562 kB / 0.6554 GB, free: 12.53 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.763e-06/0.9464, allocations: 0 / 0.6554 GB, free: 12.53 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.883e-06/0.9464, allocations: 0 / 0.6554 GB, free: 12.53 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005232/0.9469, allocations: 286.7 kB / 0.6557 GB, free: 12.43 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001012/0.947, allocations: 124.9 kB / 0.6558 GB, free: 12.32 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.29e-05/0.9471, allocations: 0 / 0.6558 GB, free: 12.32 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001948/0.9473, allocations: 20.3 kB / 0.6558 GB, free: 12.32 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.606e-05/0.9473, allocations: 7.953 kB / 0.6558 GB, free: 12.32 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.043e-05/0.9473, allocations: 17.12 kB / 0.6558 GB, free: 12.31 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0002582/0.9476, allocations: 271.9 kB / 0.6561 GB, free: 12.23 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.41e-07/0.9476, allocations: 0 / 0.6561 GB, free: 12.23 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0004851/0.9481, allocations: 107.2 kB / 0.6562 GB, free: 12.21 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.0005026/0.9486, allocations: 212.9 kB / 0.6564 GB, free: 12.1 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0004229/0.949, allocations: 173.1 kB / 0.6565 GB, free: 12.09 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.745e-06/0.9491, allocations: 0 / 0.6565 GB, free: 12.09 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001462/0.9492, allocations: 70.56 kB / 0.6566 GB, free: 12.09 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009511/0.9502, allocations: 183.6 kB / 0.6568 GB, free: 12.08 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001013/0.9512, allocations: 0.6976 MB / 0.6575 GB, free: 11.68 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003714/0.9516, allocations: 0.7771 MB / 0.6582 GB, free: 10.98 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0003061/0.9519, allocations: 78.47 kB / 0.6583 GB, free: 10.95 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.816e-05/0.952, allocations: 34.17 kB / 0.6583 GB, free: 10.94 MB / 0.4981 GB Notification: Performance of SimCode: time 7.22e-07/0.952, allocations: 0 / 0.6583 GB, free: 10.94 MB / 0.4981 GB Notification: Performance of Templates: time 0.01205/0.964, allocations: 6.766 MB / 0.6649 GB, free: 10.42 MB / 0.4981 GB make -j1 -f Buildings_1.6_Buildings.Fluid.Sensors.Examples.SpecificEntropy.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: