Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.Sensors.Examples.SpecificEntropy.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Fluid.Sensors.Examples.SpecificEntropy,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Fluid.Sensors.Examples.SpecificEntropy") translateModel(Buildings.Fluid.Sensors.Examples.SpecificEntropy,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Fluid.Sensors.Examples.SpecificEntropy") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.825/2.825, allocations: 287.3 MB / 302.3 MB, free: 8.277 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001561/0.001561, allocations: 185.4 kB / 370.8 MB, free: 10.86 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.155/2.155, allocations: 205.4 MB / 0.6295 GB, free: 10.6 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001108/0.001108, allocations: 98.86 kB / 0.7428 GB, free: 6.605 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0005272/0.0005273, allocations: 11.94 kB / 0.8656 GB, free: 140.9 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2195/0.22, allocations: 115.3 MB / 0.9782 GB, free: 28.4 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.SpecificEntropy): time 0.8935/1.114, allocations: 137 MB / 1.112 GB, free: 1.191 MB / 0.6823 GB Notification: Performance of NFInst.instExpressions: time 0.007522/1.121, allocations: 3.58 MB / 1.115 GB, free: 0.9336 MB / 0.6823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004475/1.122, allocations: 8.375 kB / 1.115 GB, free: 0.9297 MB / 0.6823 GB Notification: Performance of NFTyping.typeComponents: time 0.0008509/1.123, allocations: 156.5 kB / 1.116 GB, free: 0.9023 MB / 0.6823 GB Notification: Performance of NFTyping.typeBindings: time 0.001924/1.125, allocations: 359.3 kB / 1.116 GB, free: 0.8828 MB / 0.6823 GB Notification: Performance of NFTyping.typeClassSections: time 0.00284/1.127, allocations: 0.5729 MB / 1.116 GB, free: 0.8555 MB / 0.6823 GB Notification: Performance of NFFlatten.flatten: time 0.001082/1.129, allocations: 346.6 kB / 1.117 GB, free: 0.8398 MB / 0.6823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004925/1.129, allocations: 172.8 kB / 1.117 GB, free: 0.8164 MB / 0.6823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00135/1.13, allocations: 324.4 kB / 1.117 GB, free: 0.7812 MB / 0.6823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000766/1.131, allocations: 218.1 kB / 1.118 GB, free: 0.75 MB / 0.6823 GB Notification: Performance of NFPackage.collectConstants: time 5.465e-05/1.131, allocations: 10 kB / 1.118 GB, free: 0.75 MB / 0.6823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001945/1.133, allocations: 438.2 kB / 1.118 GB, free: 0.7305 MB / 0.6823 GB Notification: Performance of NFScalarize.scalarize: time 0.0002333/1.134, allocations: 74.38 kB / 1.118 GB, free: 0.7227 MB / 0.6823 GB Notification: Performance of NFVerifyModel.verify: time 0.0002312/1.134, allocations: 75.11 kB / 1.118 GB, free: 16.68 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.001199/1.135, allocations: 353.7 kB / 1.118 GB, free: 16.65 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 3.637e-06/1.135, allocations: 0 / 1.118 GB, free: 16.65 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.304e-06/1.135, allocations: 0 / 1.118 GB, free: 16.65 MB / 0.698 GB Notification: Performance of Transformations before backend: time 8.296e-06/1.135, allocations: 3.938 kB / 1.118 GB, free: 16.65 MB / 0.698 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.00119/1.136, allocations: 0.5346 MB / 1.119 GB, free: 16.2 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.792e-05/1.136, allocations: 9 kB / 1.119 GB, free: 16.2 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001062/1.137, allocations: 79.64 kB / 1.119 GB, free: 16.19 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006303/1.138, allocations: 276 kB / 1.119 GB, free: 15.96 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.736e-05/1.138, allocations: 14.94 kB / 1.119 GB, free: 15.96 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.02e-05/1.138, allocations: 18.12 kB / 1.119 GB, free: 15.96 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007625/1.139, allocations: 286.5 kB / 1.12 GB, free: 15.87 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.689e-05/1.139, allocations: 2.125 kB / 1.12 GB, free: 15.87 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.579e-05/1.139, allocations: 9.469 kB / 1.12 GB, free: 15.87 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.869e-06/1.139, allocations: 2.812 kB / 1.12 GB, free: 15.87 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007053/1.14, allocations: 214.5 kB / 1.12 GB, free: 15.86 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002387/1.142, allocations: 1.276 MB / 1.121 GB, free: 15 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004316/1.143, allocations: 187 kB / 1.121 GB, free: 14.87 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006203/1.143, allocations: 136 kB / 1.121 GB, free: 14.77 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.914e-05/1.143, allocations: 44.47 kB / 1.121 GB, free: 14.73 MB / 0.698 GB Notification: Performance of pre-optimization done (n=13): time 3.377e-06/1.143, allocations: 0 / 1.121 GB, free: 14.73 MB / 0.698 GB Notification: Performance of matching and sorting (n=13): time 0.00133/1.145, allocations: 333 kB / 1.122 GB, free: 14.66 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001131/1.145, allocations: 157.4 kB / 1.122 GB, free: 14.48 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000436/1.145, allocations: 284.2 kB / 1.122 GB, free: 14.38 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 5.649e-05/1.145, allocations: 25.7 kB / 1.122 GB, free: 14.34 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001372/1.146, allocations: 145 kB / 1.122 GB, free: 14.25 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 7.25e-05/1.146, allocations: 50.64 kB / 1.122 GB, free: 14.22 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.884e-05/1.146, allocations: 3.75 kB / 1.122 GB, free: 14.22 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001631/1.146, allocations: 336 kB / 1.123 GB, free: 13.91 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003121/1.146, allocations: 81.02 kB / 1.123 GB, free: 13.91 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000394/1.147, allocations: 163.8 kB / 1.123 GB, free: 13.82 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003436/1.147, allocations: 109.9 kB / 1.123 GB, free: 13.81 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.858e-06/1.147, allocations: 0 / 1.123 GB, free: 13.81 MB / 0.698 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0009002/1.148, allocations: 279.1 kB / 1.123 GB, free: 13.75 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 2.094e-05/1.148, allocations: 5.438 kB / 1.123 GB, free: 13.75 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.136e-05/1.148, allocations: 5.25 kB / 1.123 GB, free: 13.75 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.019e-05/1.148, allocations: 2.688 kB / 1.123 GB, free: 13.75 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003827/1.148, allocations: 41.23 kB / 1.123 GB, free: 13.74 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.207e-05/1.148, allocations: 5.25 kB / 1.123 GB, free: 13.74 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000383/1.149, allocations: 42.19 kB / 1.123 GB, free: 13.72 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.097e-05/1.149, allocations: 12.55 kB / 1.123 GB, free: 13.72 MB / 0.698 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002396/1.149, allocations: 149.6 kB / 1.124 GB, free: 13.6 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002071/1.149, allocations: 30.69 kB / 1.124 GB, free: 13.59 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000867/1.15, allocations: 226.6 kB / 1.124 GB, free: 13.53 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.925e-06/1.15, allocations: 6.781 kB / 1.124 GB, free: 13.53 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.246e-06/1.15, allocations: 5.531 kB / 1.124 GB, free: 13.53 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.312e-06/1.15, allocations: 2.562 kB / 1.124 GB, free: 13.53 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001713/1.152, allocations: 0.9233 MB / 1.125 GB, free: 12.88 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.29e-06/1.152, allocations: 0 / 1.125 GB, free: 12.88 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003167/1.152, allocations: 38.84 kB / 1.125 GB, free: 12.87 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.646e-06/1.152, allocations: 0 / 1.125 GB, free: 12.87 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.488e-05/1.152, allocations: 10.09 kB / 1.125 GB, free: 12.87 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.119e-06/1.152, allocations: 0 / 1.125 GB, free: 12.87 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.26e-06/1.152, allocations: 4.688 kB / 1.125 GB, free: 12.87 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001142/1.154, allocations: 485.3 kB / 1.125 GB, free: 12.59 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001794/1.154, allocations: 116.8 kB / 1.125 GB, free: 12.48 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.419e-05/1.154, allocations: 5.656 kB / 1.125 GB, free: 12.48 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002804/1.154, allocations: 9.969 kB / 1.125 GB, free: 12.48 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.742e-05/1.154, allocations: 12.94 kB / 1.125 GB, free: 12.48 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.755e-05/1.154, allocations: 12.91 kB / 1.125 GB, free: 12.48 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.000345/1.155, allocations: 219.4 kB / 1.126 GB, free: 12.4 MB / 0.698 GB Notification: Performance of sort global known variables: time 3.2e-07/1.155, allocations: 3.938 kB / 1.126 GB, free: 12.39 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0007182/1.155, allocations: 99.41 kB / 1.126 GB, free: 12.38 MB / 0.698 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 (12): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0006631/1.156, allocations: 204.1 kB / 1.126 GB, free: 12.26 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0007626/1.157, allocations: 189.5 kB / 1.126 GB, free: 12.25 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 3.838e-06/1.157, allocations: 0 / 1.126 GB, free: 12.25 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0003036/1.157, allocations: 91.08 kB / 1.126 GB, free: 12.24 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001215/1.158, allocations: 127.7 kB / 1.126 GB, free: 12.23 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001365/1.16, allocations: 0.5897 MB / 1.127 GB, free: 11.88 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004912/1.16, allocations: 0.7688 MB / 1.128 GB, free: 11.18 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0004874/1.161, allocations: 67.53 kB / 1.128 GB, free: 11.16 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001222/1.161, allocations: 25.69 kB / 1.128 GB, free: 11.16 MB / 0.698 GB Notification: Performance of SimCode: time 1.012e-06/1.161, allocations: 4 kB / 1.128 GB, free: 11.15 MB / 0.698 GB Notification: Performance of Templates: time 0.01668/1.178, allocations: 5.482 MB / 1.133 GB, free: 9.758 MB / 0.698 GB make -j1 -f Buildings_8.0.0_Buildings.Fluid.Sensors.Examples.SpecificEntropy.makefile (rm -f Buildings_8.0.0_Buildings.Fluid.Sensors.Examples.SpecificEntropy.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.Sensors.Examples.SpecificEntropy.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.Sensors.Examples.SpecificEntropy.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.Sensors.Examples.SpecificEntropy.sim & ./Buildings_8.0.0_Buildings.Fluid.Sensors.Examples.SpecificEntropy -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Fluid.Sensors.Examples.SpecificEntropy.pipe 2>&1)