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.001076/0.001076, allocations: 100.1 kB / 15.05 MB, free: 1.105 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.0013/0.0013, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.414/1.414, allocations: 205.4 MB / 222.1 MB, free: 5.66 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.5814/0.5814, allocations: 95.58 MB / 366 MB, free: 10.39 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.0005153/0.0005153, allocations: 16 kB / 446.8 MB, free: 9.406 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2894/0.2899, allocations: 70.35 MB / 0.505 GB, free: 16.5 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.SpecificEntropy): time 0.1235/0.4135, allocations: 121.5 MB / 0.6237 GB, free: 6.664 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.003106/0.4167, allocations: 2.329 MB / 0.626 GB, free: 4.324 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003167/0.417, allocations: 11.88 kB / 0.626 GB, free: 4.312 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005612/0.4176, allocations: 119.4 kB / 0.6261 GB, free: 4.195 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006207/0.4182, allocations: 279.1 kB / 0.6263 GB, free: 3.922 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001103/0.4193, allocations: 420.7 kB / 0.6267 GB, free: 3.516 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.00057/0.4199, allocations: 460 kB / 0.6272 GB, free: 3.062 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003244/0.4202, allocations: 199.2 kB / 0.6274 GB, free: 2.871 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000436/0.4207, allocations: 275.1 kB / 0.6276 GB, free: 2.602 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002863/0.421, allocations: 195.3 kB / 0.6278 GB, free: 2.41 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 3.403e-05/0.421, allocations: 16 kB / 0.6278 GB, free: 2.395 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005306/0.4216, allocations: 247.6 kB / 0.6281 GB, free: 2.152 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 8.546e-05/0.4217, allocations: 67.73 kB / 0.6281 GB, free: 2.086 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 7.306e-05/0.4217, allocations: 89.58 kB / 0.6282 GB, free: 1.992 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004063/0.4222, allocations: 371 kB / 0.6286 GB, free: 1.629 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.184e-06/0.4222, allocations: 0 / 0.6286 GB, free: 1.629 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.343e-06/0.4222, allocations: 0 / 0.6286 GB, free: 1.629 MB / 494.1 MB Notification: Performance of Transformations before backend: time 9.267e-06/0.4222, allocations: 4 kB / 0.6286 GB, free: 1.625 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.0008646/0.4231, allocations: 0.5806 MB / 0.6291 GB, free: 0.9961 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.403e-05/0.4231, allocations: 11.98 kB / 0.6292 GB, free: 0.9844 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000215/0.4233, allocations: 47.52 kB / 0.6292 GB, free: 0.9375 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003972/0.4237, allocations: 313.4 kB / 0.6295 GB, free: 0.5898 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.874e-05/0.4238, allocations: 16.56 kB / 0.6295 GB, free: 0.5742 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.025e-05/0.4238, allocations: 31.95 kB / 0.6296 GB, free: 0.543 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005123/0.4243, allocations: 314.8 kB / 0.6299 GB, free: 220 kB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.378e-06/0.4244, allocations: 0 / 0.6299 GB, free: 220 kB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.313e-05/0.4244, allocations: 16 kB / 0.6299 GB, free: 204 kB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.915e-06/0.4244, allocations: 11.94 kB / 0.6299 GB, free: 192 kB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.2563/0.6808, allocations: 219.1 kB / 0.6301 GB, free: 12.05 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001791/0.6826, allocations: 1.362 MB / 0.6314 GB, free: 11.2 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002438/0.6829, allocations: 124.5 kB / 0.6315 GB, free: 11.17 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00061/0.6835, allocations: 0.6154 MB / 0.6321 GB, free: 10.52 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.799e-05/0.6835, allocations: 36.94 kB / 0.6322 GB, free: 10.48 MB / 494.1 MB Notification: Performance of pre-optimization done (n=16): time 2.084e-06/0.6835, allocations: 1.031 kB / 0.6322 GB, free: 10.48 MB / 494.1 MB Notification: Performance of matching and sorting (n=16): time 0.000586/0.6841, allocations: 252.5 kB / 0.6324 GB, free: 10.43 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.115e-05/0.6841, allocations: 105.6 kB / 0.6325 GB, free: 10.3 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003082/0.6845, allocations: 337.6 kB / 0.6328 GB, free: 10.19 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 2.141e-05/0.6845, allocations: 29.39 kB / 0.6329 GB, free: 10.16 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001021/0.6846, allocations: 194.5 kB / 0.633 GB, free: 10.05 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.739e-05/0.6846, allocations: 54.73 kB / 0.6331 GB, free: 10.01 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.558e-06/0.6847, allocations: 7.25 kB / 0.6331 GB, free: 10.01 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 7.597e-05/0.6847, allocations: 343.5 kB / 0.6334 GB, free: 9.699 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001621/0.6849, allocations: 64.33 kB / 0.6335 GB, free: 9.699 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002051/0.6851, allocations: 184.3 kB / 0.6337 GB, free: 9.566 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001906/0.6853, allocations: 87.8 kB / 0.6338 GB, free: 9.566 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.256e-06/0.6853, allocations: 0.8125 kB / 0.6338 GB, free: 9.566 MB / 494.1 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.000504/0.6858, allocations: 302.5 kB / 0.634 GB, free: 9.508 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.909e-05/0.6859, allocations: 9.359 kB / 0.6341 GB, free: 9.508 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.587e-06/0.6859, allocations: 5.109 kB / 0.6341 GB, free: 9.508 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.919e-05/0.6859, allocations: 5.812 kB / 0.6341 GB, free: 9.508 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003773/0.6863, allocations: 77.94 kB / 0.6341 GB, free: 9.508 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.001e-05/0.6863, allocations: 8.922 kB / 0.6341 GB, free: 9.508 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002127/0.6865, allocations: 46.97 kB / 0.6342 GB, free: 9.492 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.379e-05/0.6866, allocations: 8.641 kB / 0.6342 GB, free: 9.492 MB / 494.1 MB 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001214/0.6867, allocations: 150 kB / 0.6343 GB, free: 9.379 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.083e-05/0.6868, allocations: 37.95 kB / 0.6344 GB, free: 9.359 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005848/0.6873, allocations: 291.7 kB / 0.6347 GB, free: 9.281 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.869e-06/0.6874, allocations: 1.781 kB / 0.6347 GB, free: 9.281 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.909e-06/0.6874, allocations: 3.938 kB / 0.6347 GB, free: 9.281 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.058e-06/0.6874, allocations: 1.594 kB / 0.6347 GB, free: 9.281 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003403/0.6877, allocations: 323.7 kB / 0.635 GB, free: 9.086 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.994e-06/0.6877, allocations: 0.5156 kB / 0.635 GB, free: 9.086 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002743/0.688, allocations: 52 kB / 0.635 GB, free: 9.086 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.148e-06/0.688, allocations: 5.75 kB / 0.635 GB, free: 9.086 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.443e-05/0.6881, allocations: 7.984 kB / 0.635 GB, free: 9.082 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.375e-06/0.6881, allocations: 0.75 kB / 0.635 GB, free: 9.082 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.12e-07/0.6881, allocations: 5.094 kB / 0.635 GB, free: 9.078 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000506/0.6886, allocations: 274.4 kB / 0.6353 GB, free: 8.996 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.931e-05/0.6887, allocations: 123 kB / 0.6354 GB, free: 8.879 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.878e-05/0.6887, allocations: 7.5 kB / 0.6354 GB, free: 8.879 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001915/0.6889, allocations: 23.25 kB / 0.6355 GB, free: 8.871 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.099e-05/0.689, allocations: 8.266 kB / 0.6355 GB, free: 8.871 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.176e-05/0.689, allocations: 13.56 kB / 0.6355 GB, free: 8.871 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0002938/0.6893, allocations: 268.4 kB / 0.6357 GB, free: 8.785 MB / 494.1 MB Notification: Performance of sort global known variables: time 2.91e-07/0.6893, allocations: 0 / 0.6357 GB, free: 8.785 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0004537/0.6898, allocations: 114.4 kB / 0.6358 GB, free: 8.777 MB / 494.1 MB 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 (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.0004218/0.6902, allocations: 186.8 kB / 0.636 GB, free: 8.68 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0004852/0.6907, allocations: 178.9 kB / 0.6362 GB, free: 8.672 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 3.617e-06/0.6907, allocations: 0.8438 kB / 0.6362 GB, free: 8.672 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001575/0.6909, allocations: 64.91 kB / 0.6362 GB, free: 8.672 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008011/0.6917, allocations: 172.1 kB / 0.6364 GB, free: 8.66 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009933/0.6927, allocations: 0.6771 MB / 0.6371 GB, free: 8.281 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002236/0.6929, allocations: 0.7831 MB / 0.6378 GB, free: 7.578 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0002704/0.6932, allocations: 68.55 kB / 0.6379 GB, free: 7.562 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.608e-05/0.6933, allocations: 32.14 kB / 0.6379 GB, free: 7.555 MB / 494.1 MB Notification: Performance of SimCode: time 4.01e-07/0.6933, allocations: 0 / 0.6379 GB, free: 7.555 MB / 494.1 MB Notification: Performance of Templates: time 0.01235/0.7057, allocations: 6.453 MB / 0.6442 GB, free: 7.062 MB / 494.1 MB 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: