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.00116/0.00116, allocations: 97.8 kB / 15.36 MB, free: 0.7344 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.01024/0.01024, allocations: 169.2 kB / 16.26 MB, free: 6.66 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.662/1.662, allocations: 205.4 MB / 222.4 MB, free: 5.57 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.828/1.828, allocations: 292.7 MB / 0.5502 GB, free: 14.48 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.0007021/0.000702, allocations: 15.19 kB / 0.6743 GB, free: 25.83 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2912/0.292, allocations: 116.3 MB / 0.7879 GB, free: 11.59 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.SpecificEntropy): time 0.7879/1.08, allocations: 158.9 MB / 0.943 GB, free: 0.9141 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.007363/1.087, allocations: 4.573 MB / 0.9475 GB, free: 0.582 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003948/1.088, allocations: 9.094 kB / 0.9475 GB, free: 0.5781 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0004946/1.088, allocations: 95.31 kB / 0.9476 GB, free: 0.543 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.001672/1.09, allocations: 0.5106 MB / 0.9481 GB, free: 448 kB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.002073/1.092, allocations: 0.7048 MB / 0.9488 GB, free: 348 kB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.001237/1.093, allocations: 0.809 MB / 0.9496 GB, free: 260 kB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004199/1.094, allocations: 181.2 kB / 0.9498 GB, free: 228 kB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001337/1.095, allocations: 421 kB / 0.9502 GB, free: 168 kB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007849/1.096, allocations: 292.4 kB / 0.9504 GB, free: 144 kB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 4.152e-05/1.096, allocations: 10.09 kB / 0.9505 GB, free: 144 kB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002966/1.099, allocations: 1.159 MB / 0.9516 GB, free: 40 kB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0001925/1.099, allocations: 85.17 kB / 0.9517 GB, free: 40 kB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0002284/1.099, allocations: 140.7 kB / 0.9518 GB, free: 8 kB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0016/1.101, allocations: 0.7687 MB / 0.9526 GB, free: 15.96 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 6.202e-06/1.101, allocations: 3.75 kB / 0.9526 GB, free: 15.96 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.653e-06/1.101, allocations: 0 / 0.9526 GB, free: 15.96 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 6.893e-06/1.101, allocations: 4 kB / 0.9526 GB, free: 15.95 MB / 0.7325 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.001075/1.102, allocations: 0.5455 MB / 0.9531 GB, free: 15.5 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 6.955e-05/1.102, allocations: 9.438 kB / 0.9531 GB, free: 15.5 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000716/1.103, allocations: 78.55 kB / 0.9532 GB, free: 15.48 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004239/1.103, allocations: 287.6 kB / 0.9535 GB, free: 15.26 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.839e-05/1.103, allocations: 16.34 kB / 0.9535 GB, free: 15.25 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.844e-05/1.103, allocations: 19.78 kB / 0.9535 GB, free: 15.25 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005391/1.104, allocations: 296.3 kB / 0.9538 GB, free: 15.15 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.076e-05/1.104, allocations: 6.625 kB / 0.9538 GB, free: 15.15 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.482e-05/1.104, allocations: 6.156 kB / 0.9538 GB, free: 15.15 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.327e-05/1.104, allocations: 8.438 kB / 0.9538 GB, free: 15.14 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004513/1.105, allocations: 221 kB / 0.954 GB, free: 15.13 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001639/1.106, allocations: 1.248 MB / 0.9552 GB, free: 14.28 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002936/1.106, allocations: 178.6 kB / 0.9554 GB, free: 14.15 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002226/1.107, allocations: 118.6 kB / 0.9555 GB, free: 14.11 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007687/1.108, allocations: 346 kB / 0.9558 GB, free: 13.82 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.373e-05/1.108, allocations: 46.97 kB / 0.9559 GB, free: 13.78 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=13): time 1.864e-06/1.108, allocations: 0 / 0.9559 GB, free: 13.78 MB / 0.7325 GB Notification: Performance of matching and sorting (n=13): time 0.0007797/1.108, allocations: 294.2 kB / 0.9562 GB, free: 13.72 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.407e-05/1.108, allocations: 157.5 kB / 0.9563 GB, free: 13.53 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003072/1.109, allocations: 285.9 kB / 0.9566 GB, free: 13.43 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 2.763e-05/1.109, allocations: 26.83 kB / 0.9566 GB, free: 13.39 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001188/1.109, allocations: 151.4 kB / 0.9567 GB, free: 13.3 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 4.418e-05/1.109, allocations: 48.72 kB / 0.9568 GB, free: 13.27 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.691e-05/1.109, allocations: 19.06 kB / 0.9568 GB, free: 13.25 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001316/1.109, allocations: 346.2 kB / 0.9571 GB, free: 12.93 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001722/1.109, allocations: 74.09 kB / 0.9572 GB, free: 12.93 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002312/1.11, allocations: 155.2 kB / 0.9574 GB, free: 12.84 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003819/1.11, allocations: 219.3 kB / 0.9576 GB, free: 12.76 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.226e-06/1.11, allocations: 1.219 kB / 0.9576 GB, free: 12.76 MB / 0.7325 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0005165/1.11, allocations: 256.5 kB / 0.9578 GB, free: 12.7 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.985e-05/1.111, allocations: 5.812 kB / 0.9578 GB, free: 12.7 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.578e-06/1.111, allocations: 8.891 kB / 0.9578 GB, free: 12.7 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.624e-05/1.111, allocations: 3.312 kB / 0.9578 GB, free: 12.7 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001968/1.111, allocations: 37.62 kB / 0.9579 GB, free: 12.7 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.783e-05/1.111, allocations: 11.89 kB / 0.9579 GB, free: 12.69 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002073/1.111, allocations: 33.88 kB / 0.9579 GB, free: 12.68 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.314e-05/1.111, allocations: 9.031 kB / 0.9579 GB, free: 12.68 MB / 0.7325 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.0001517/1.111, allocations: 155 kB / 0.9581 GB, free: 12.56 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001456/1.111, allocations: 25.55 kB / 0.9581 GB, free: 12.55 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004978/1.112, allocations: 199.3 kB / 0.9583 GB, free: 12.47 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.859e-06/1.112, allocations: 2.531 kB / 0.9583 GB, free: 12.47 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.331e-06/1.112, allocations: 1.156 kB / 0.9583 GB, free: 12.47 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.671e-06/1.112, allocations: 4.359 kB / 0.9583 GB, free: 12.47 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001137/1.113, allocations: 0.8677 MB / 0.9591 GB, free: 11.81 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.679e-06/1.113, allocations: 4.625 kB / 0.9591 GB, free: 11.81 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001215/1.113, allocations: 21.64 kB / 0.9592 GB, free: 11.81 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.708e-06/1.113, allocations: 12.38 kB / 0.9592 GB, free: 11.8 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.494e-05/1.113, allocations: 6.844 kB / 0.9592 GB, free: 11.8 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.487e-06/1.113, allocations: 1.312 kB / 0.9592 GB, free: 11.8 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.338e-06/1.113, allocations: 6.031 kB / 0.9592 GB, free: 11.8 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006077/1.114, allocations: 358.5 kB / 0.9595 GB, free: 11.6 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001154/1.114, allocations: 120.1 kB / 0.9596 GB, free: 11.49 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.037e-05/1.114, allocations: 7.031 kB / 0.9597 GB, free: 11.49 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001699/1.114, allocations: 15.2 kB / 0.9597 GB, free: 11.49 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.612e-05/1.114, allocations: 9.844 kB / 0.9597 GB, free: 11.49 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.786e-06/1.114, allocations: 7.25 kB / 0.9597 GB, free: 11.48 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0002482/1.115, allocations: 237 kB / 0.9599 GB, free: 11.41 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.7e-07/1.115, allocations: 3.266 kB / 0.9599 GB, free: 11.41 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0006231/1.115, allocations: 93.97 kB / 0.96 GB, free: 11.4 MB / 0.7325 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.0005962/1.116, allocations: 222.2 kB / 0.9602 GB, free: 11.28 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0004545/1.116, allocations: 158.9 kB / 0.9604 GB, free: 11.27 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.515e-06/1.116, allocations: 5.594 kB / 0.9604 GB, free: 11.27 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0001634/1.116, allocations: 62.25 kB / 0.9604 GB, free: 11.27 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009143/1.117, allocations: 136.3 kB / 0.9606 GB, free: 11.25 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009701/1.118, allocations: 0.5915 MB / 0.9611 GB, free: 10.86 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004364/1.119, allocations: 0.7615 MB / 0.9619 GB, free: 10.16 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0002209/1.119, allocations: 58.22 kB / 0.9619 GB, free: 10.16 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.308e-05/1.119, allocations: 27.47 kB / 0.962 GB, free: 10.14 MB / 0.7325 GB Notification: Performance of SimCode: time 2.61e-07/1.119, allocations: 0 / 0.962 GB, free: 10.14 MB / 0.7325 GB Notification: Performance of Templates: time 0.0124/1.131, allocations: 5.552 MB / 0.9674 GB, free: 8.461 MB / 0.7325 GB make -j1 -f Buildings_8_Buildings.Fluid.Sensors.Examples.SpecificEntropy.makefile Environment - environmentSimulation: (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 -lv LOG_STATS > Buildings_8_Buildings.Fluid.Sensors.Examples.SpecificEntropy.pipe 2>&1) Environment - environmentSimulation: