Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_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 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.SpecificEntropy,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Sensors.Examples.SpecificEntropy") translateModel(Buildings.Fluid.Sensors.Examples.SpecificEntropy,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_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.001062/0.001062, allocations: 107.3 kB / 16.29 MB, free: 6.43 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.001051/0.001051, allocations: 184 kB / 17.22 MB, free: 5.934 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.472/1.472, allocations: 205.1 MB / 223.1 MB, free: 12.31 MB / 190.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.748/1.748, allocations: 292.3 MB / 0.5495 GB, free: 17.58 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.001459/0.00146, allocations: 67.91 kB / 0.6722 GB, free: 6.508 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.266/0.2675, allocations: 114.6 MB / 0.7841 GB, free: 3.836 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.SpecificEntropy): time 0.7411/1.009, allocations: 163.2 MB / 0.9435 GB, free: 7.273 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.006602/1.015, allocations: 4.582 MB / 0.9479 GB, free: 2.688 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004791/1.016, allocations: 11.94 kB / 0.948 GB, free: 2.676 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.0004961/1.016, allocations: 127 kB / 0.9481 GB, free: 2.551 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.001841/1.018, allocations: 0.5367 MB / 0.9486 GB, free: 2.012 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.002347/1.021, allocations: 0.7711 MB / 0.9494 GB, free: 1.242 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.000856/1.021, allocations: 0.5807 MB / 0.9499 GB, free: 0.6602 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004108/1.022, allocations: 213.1 kB / 0.9501 GB, free: 464 kB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001291/1.023, allocations: 470.3 kB / 0.9506 GB, free: 15.99 MB / 0.7481 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007237/1.024, allocations: 282.9 kB / 0.9508 GB, free: 15.71 MB / 0.7481 GB Notification: Performance of NFPackage.collectConstants: time 5.298e-05/1.024, allocations: 16 kB / 0.9509 GB, free: 15.7 MB / 0.7481 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001949/1.026, allocations: 0.9977 MB / 0.9518 GB, free: 14.7 MB / 0.7481 GB Notification: Performance of NFScalarize.scalarize: time 0.0001065/1.026, allocations: 99.64 kB / 0.9519 GB, free: 14.6 MB / 0.7481 GB Notification: Performance of NFVerifyModel.verify: time 0.0001385/1.026, allocations: 119.4 kB / 0.952 GB, free: 14.48 MB / 0.7481 GB Notification: Performance of NFConvertDAE.convert: time 0.001013/1.027, allocations: 0.7208 MB / 0.9527 GB, free: 13.76 MB / 0.7481 GB Notification: Performance of FrontEnd - DAE generated: time 6.171e-06/1.027, allocations: 4 kB / 0.9528 GB, free: 13.76 MB / 0.7481 GB Notification: Performance of FrontEnd: time 1.513e-06/1.027, allocations: 3.938 kB / 0.9528 GB, free: 13.75 MB / 0.7481 GB Notification: Performance of Transformations before backend: time 7.033e-06/1.027, allocations: 0 / 0.9528 GB, free: 13.75 MB / 0.7481 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 44 * Number of variables: 44 Notification: Performance of Generate backend data structure: time 0.001157/1.028, allocations: 0.583 MB / 0.9533 GB, free: 13.12 MB / 0.7481 GB Notification: Performance of prepare preOptimizeDAE: time 5.171e-05/1.028, allocations: 12.03 kB / 0.9533 GB, free: 13.11 MB / 0.7481 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007599/1.029, allocations: 79.5 kB / 0.9534 GB, free: 13.04 MB / 0.7481 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000489/1.03, allocations: 291.2 kB / 0.9537 GB, free: 12.71 MB / 0.7481 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.678e-05/1.03, allocations: 16 kB / 0.9537 GB, free: 12.7 MB / 0.7481 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.737e-05/1.03, allocations: 20 kB / 0.9537 GB, free: 12.68 MB / 0.7481 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005428/1.03, allocations: 286.2 kB / 0.954 GB, free: 12.37 MB / 0.7481 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.271e-05/1.03, allocations: 0 / 0.954 GB, free: 12.37 MB / 0.7481 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.764e-05/1.03, allocations: 8 kB / 0.954 GB, free: 12.36 MB / 0.7481 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.076e-05/1.03, allocations: 11.94 kB / 0.954 GB, free: 12.35 MB / 0.7481 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004371/1.031, allocations: 204.7 kB / 0.9542 GB, free: 12.15 MB / 0.7481 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001652/1.033, allocations: 1.237 MB / 0.9554 GB, free: 10.84 MB / 0.7481 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002912/1.033, allocations: 181 kB / 0.9556 GB, free: 10.61 MB / 0.7481 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001999/1.033, allocations: 116.2 kB / 0.9557 GB, free: 10.48 MB / 0.7481 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007587/1.034, allocations: 323.2 kB / 0.956 GB, free: 10.11 MB / 0.7481 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.89e-05/1.034, allocations: 46.69 kB / 0.9561 GB, free: 10.06 MB / 0.7481 GB Notification: Performance of pre-optimization done (n=13): time 1.783e-06/1.034, allocations: 0 / 0.9561 GB, free: 10.06 MB / 0.7481 GB Notification: Performance of matching and sorting (n=13): time 0.0007788/1.035, allocations: 278.3 kB / 0.9563 GB, free: 9.781 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001056/1.035, allocations: 158.7 kB / 0.9565 GB, free: 9.59 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003073/1.035, allocations: 283 kB / 0.9567 GB, free: 9.309 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 2.62e-05/1.035, allocations: 33.7 kB / 0.9568 GB, free: 9.27 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001277/1.035, allocations: 147.8 kB / 0.9569 GB, free: 9.121 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 5.245e-05/1.035, allocations: 51.28 kB / 0.957 GB, free: 9.07 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.112e-05/1.035, allocations: 43.39 kB / 0.957 GB, free: 9.023 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 0.0001387/1.036, allocations: 338.8 kB / 0.9573 GB, free: 8.684 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001705/1.036, allocations: 71.94 kB / 0.9574 GB, free: 8.613 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002244/1.036, allocations: 145.2 kB / 0.9575 GB, free: 8.441 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003579/1.036, allocations: 209.4 kB / 0.9577 GB, free: 8.211 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.345e-06/1.036, allocations: 8 kB / 0.9577 GB, free: 8.203 MB / 0.7481 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0004829/1.037, allocations: 237.1 kB / 0.958 GB, free: 7.965 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 2.035e-05/1.037, allocations: 8 kB / 0.958 GB, free: 7.957 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.164e-06/1.037, allocations: 0 / 0.958 GB, free: 7.957 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.15e-05/1.037, allocations: 4 kB / 0.958 GB, free: 7.953 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001917/1.037, allocations: 40.23 kB / 0.958 GB, free: 7.914 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.059e-05/1.037, allocations: 11.88 kB / 0.958 GB, free: 7.902 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001858/1.037, allocations: 27.73 kB / 0.9581 GB, free: 7.875 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.344e-05/1.037, allocations: 12 kB / 0.9581 GB, free: 7.863 MB / 0.7481 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * 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 (18): * Single equations (assignments): 18 * 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.0001474/1.038, allocations: 149.8 kB / 0.9582 GB, free: 7.707 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001435/1.038, allocations: 27.72 kB / 0.9582 GB, free: 7.68 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004652/1.038, allocations: 195.3 kB / 0.9584 GB, free: 7.477 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.578e-06/1.038, allocations: 0 / 0.9584 GB, free: 7.477 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.742e-06/1.038, allocations: 4 kB / 0.9584 GB, free: 7.473 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.068e-06/1.038, allocations: 4 kB / 0.9584 GB, free: 7.469 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000967/1.039, allocations: 0.8528 MB / 0.9593 GB, free: 6.543 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.977e-06/1.039, allocations: 4.156 kB / 0.9593 GB, free: 6.539 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001154/1.039, allocations: 23.98 kB / 0.9593 GB, free: 6.516 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.093e-06/1.039, allocations: 7.938 kB / 0.9593 GB, free: 6.508 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.427e-05/1.039, allocations: 4 kB / 0.9593 GB, free: 6.504 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.308e-06/1.039, allocations: 4 kB / 0.9593 GB, free: 6.5 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.967e-06/1.039, allocations: 3.938 kB / 0.9593 GB, free: 6.496 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005723/1.04, allocations: 340.2 kB / 0.9596 GB, free: 6.133 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 9.741e-05/1.04, allocations: 112.8 kB / 0.9597 GB, free: 6.004 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.597e-05/1.04, allocations: 7.938 kB / 0.9598 GB, free: 5.996 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001494/1.04, allocations: 9.859 kB / 0.9598 GB, free: 5.988 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.024e-05/1.04, allocations: 20.05 kB / 0.9598 GB, free: 5.969 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.178e-06/1.04, allocations: 5.688 kB / 0.9598 GB, free: 5.965 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.0002442/1.041, allocations: 229.9 kB / 0.96 GB, free: 5.738 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1.6e-07/1.041, allocations: 0 / 0.96 GB, free: 5.738 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.0004682/1.041, allocations: 99.92 kB / 0.9601 GB, free: 5.641 MB / 0.7481 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * 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 (10): * Single equations (assignments): 10 * 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.0005571/1.042, allocations: 216.6 kB / 0.9603 GB, free: 5.43 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.000383/1.042, allocations: 153.7 kB / 0.9605 GB, free: 5.281 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 2.305e-06/1.042, allocations: 2.375 kB / 0.9605 GB, free: 5.281 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.0001355/1.042, allocations: 63.91 kB / 0.9605 GB, free: 5.219 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007119/1.043, allocations: 137.7 kB / 0.9606 GB, free: 5.102 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008467/1.044, allocations: 0.4907 MB / 0.9611 GB, free: 4.57 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003504/1.044, allocations: 0.7558 MB / 0.9619 GB, free: 3.789 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.0001752/1.044, allocations: 66.88 kB / 0.9619 GB, free: 3.73 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.029e-05/1.044, allocations: 27.42 kB / 0.962 GB, free: 3.703 MB / 0.7481 GB Notification: Performance of SimCode: time 3.2e-07/1.044, allocations: 0 / 0.962 GB, free: 3.703 MB / 0.7481 GB Notification: Performance of Templates: time 0.01114/1.056, allocations: 5.806 MB / 0.9676 GB, free: 14.03 MB / 0.7637 GB make -j1 -f Buildings_8_Buildings.Fluid.Sensors.Examples.SpecificEntropy.makefile (rm -f Buildings_8_Buildings.Fluid.Sensors.Examples.SpecificEntropy.pipe ; mkfifo Buildings_8_Buildings.Fluid.Sensors.Examples.SpecificEntropy.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.Sensors.Examples.SpecificEntropy.pipe >> ../files/Buildings_8_Buildings.Fluid.Sensors.Examples.SpecificEntropy.sim & ./Buildings_8_Buildings.Fluid.Sensors.Examples.SpecificEntropy -abortSlowSimulation -alarm=480 -s cvode -lv LOG_STATS > Buildings_8_Buildings.Fluid.Sensors.Examples.SpecificEntropy.pipe 2>&1)