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.001638/0.001638, allocations: 106.9 kB / 16.36 MB, free: 6.48 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.001724/0.001724, allocations: 193.7 kB / 17.3 MB, free: 5.824 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.395/1.395, allocations: 205.1 MB / 223.2 MB, free: 12.26 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.82/1.82, allocations: 292.3 MB / 0.5496 GB, free: 17.55 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.001528/0.001528, allocations: 71.91 kB / 0.6729 GB, free: 5.875 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2112/0.2127, allocations: 114.5 MB / 0.7848 GB, free: 3.215 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.SpecificEntropy): time 0.5489/0.7617, allocations: 163.2 MB / 0.9442 GB, free: 6.871 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.005398/0.7672, allocations: 4.583 MB / 0.9487 GB, free: 2.281 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003786/0.7676, allocations: 7.938 kB / 0.9487 GB, free: 2.273 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.0004219/0.768, allocations: 127 kB / 0.9488 GB, free: 2.148 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.001252/0.7693, allocations: 0.5328 MB / 0.9493 GB, free: 1.613 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.001775/0.7711, allocations: 0.7776 MB / 0.9501 GB, free: 0.8359 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0006402/0.7718, allocations: 0.5729 MB / 0.9506 GB, free: 268 kB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000325/0.7721, allocations: 214.3 kB / 0.9508 GB, free: 60 kB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009147/0.773, allocations: 470.2 kB / 0.9513 GB, free: 15.6 MB / 0.7481 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005252/0.7736, allocations: 279 kB / 0.9516 GB, free: 15.32 MB / 0.7481 GB Notification: Performance of NFPackage.collectConstants: time 3.777e-05/0.7736, allocations: 20 kB / 0.9516 GB, free: 15.3 MB / 0.7481 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001807/0.7754, allocations: 1.009 MB / 0.9526 GB, free: 14.29 MB / 0.7481 GB Notification: Performance of NFScalarize.scalarize: time 0.0001164/0.7756, allocations: 83.78 kB / 0.9526 GB, free: 14.21 MB / 0.7481 GB Notification: Performance of NFVerifyModel.verify: time 0.0001313/0.7757, allocations: 127.4 kB / 0.9528 GB, free: 14.09 MB / 0.7481 GB Notification: Performance of NFConvertDAE.convert: time 0.0009924/0.7767, allocations: 0.7169 MB / 0.9535 GB, free: 13.37 MB / 0.7481 GB Notification: Performance of FrontEnd - DAE generated: time 3.857e-06/0.7767, allocations: 0 / 0.9535 GB, free: 13.37 MB / 0.7481 GB Notification: Performance of FrontEnd: time 1.502e-06/0.7767, allocations: 0 / 0.9535 GB, free: 13.37 MB / 0.7481 GB Notification: Performance of Transformations before backend: time 6.091e-06/0.7767, allocations: 0 / 0.9535 GB, free: 13.37 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.0009192/0.7777, allocations: 0.5947 MB / 0.954 GB, free: 12.73 MB / 0.7481 GB Notification: Performance of prepare preOptimizeDAE: time 3.464e-05/0.7777, allocations: 8.031 kB / 0.954 GB, free: 12.72 MB / 0.7481 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006758/0.7784, allocations: 79.5 kB / 0.9541 GB, free: 12.64 MB / 0.7481 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004024/0.7788, allocations: 292.7 kB / 0.9544 GB, free: 12.32 MB / 0.7481 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.772e-05/0.7788, allocations: 12 kB / 0.9544 GB, free: 12.3 MB / 0.7481 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.131e-05/0.7789, allocations: 31.92 kB / 0.9544 GB, free: 12.27 MB / 0.7481 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004797/0.7794, allocations: 280.9 kB / 0.9547 GB, free: 11.97 MB / 0.7481 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.191e-05/0.7794, allocations: 7.938 kB / 0.9547 GB, free: 11.96 MB / 0.7481 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.341e-05/0.7794, allocations: 4 kB / 0.9547 GB, free: 11.96 MB / 0.7481 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.13e-05/0.7794, allocations: 11.94 kB / 0.9547 GB, free: 11.95 MB / 0.7481 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004142/0.7799, allocations: 200.7 kB / 0.9549 GB, free: 11.75 MB / 0.7481 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001577/0.7814, allocations: 1.237 MB / 0.9561 GB, free: 10.44 MB / 0.7481 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002811/0.7817, allocations: 181 kB / 0.9563 GB, free: 10.21 MB / 0.7481 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001925/0.7819, allocations: 116.2 kB / 0.9564 GB, free: 10.09 MB / 0.7481 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007742/0.7827, allocations: 335.4 kB / 0.9567 GB, free: 9.703 MB / 0.7481 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.808e-05/0.7828, allocations: 42.5 kB / 0.9568 GB, free: 9.652 MB / 0.7481 GB Notification: Performance of pre-optimization done (n=13): time 1.924e-06/0.7828, allocations: 1.406 kB / 0.9568 GB, free: 9.652 MB / 0.7481 GB Notification: Performance of matching and sorting (n=13): time 0.0007582/0.7835, allocations: 277.5 kB / 0.957 GB, free: 9.375 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.233e-05/0.7836, allocations: 162.2 kB / 0.9572 GB, free: 9.18 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002786/0.7839, allocations: 283 kB / 0.9575 GB, free: 8.898 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 2.77e-05/0.784, allocations: 33.7 kB / 0.9575 GB, free: 8.859 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001051/0.7841, allocations: 147.8 kB / 0.9576 GB, free: 8.711 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 4.762e-05/0.7841, allocations: 48.05 kB / 0.9577 GB, free: 8.664 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.306e-05/0.7842, allocations: 37.7 kB / 0.9577 GB, free: 8.621 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 0.0001222/0.7843, allocations: 342.8 kB / 0.9581 GB, free: 8.277 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001622/0.7845, allocations: 67.95 kB / 0.9581 GB, free: 8.211 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002212/0.7847, allocations: 148.2 kB / 0.9583 GB, free: 8.039 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003706/0.7851, allocations: 211.5 kB / 0.9585 GB, free: 7.805 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.284e-06/0.7851, allocations: 0 / 0.9585 GB, free: 7.805 MB / 0.7481 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0005551/0.7857, allocations: 247.2 kB / 0.9587 GB, free: 7.559 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 1.683e-05/0.7857, allocations: 4.781 kB / 0.9587 GB, free: 7.555 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.873e-06/0.7857, allocations: 4.25 kB / 0.9587 GB, free: 7.551 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.705e-05/0.7857, allocations: 11.98 kB / 0.9587 GB, free: 7.539 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002051/0.7859, allocations: 39.92 kB / 0.9588 GB, free: 7.5 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.466e-06/0.786, allocations: 4 kB / 0.9588 GB, free: 7.496 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001962/0.7862, allocations: 23.73 kB / 0.9588 GB, free: 7.473 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.11e-05/0.7862, allocations: 16 kB / 0.9588 GB, free: 7.457 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.0001337/0.7863, allocations: 145.8 kB / 0.9589 GB, free: 7.305 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001676/0.7865, allocations: 31.66 kB / 0.959 GB, free: 7.273 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004482/0.787, allocations: 179.7 kB / 0.9591 GB, free: 7.082 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.1e-06/0.787, allocations: 8 kB / 0.9591 GB, free: 7.074 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.95e-06/0.787, allocations: 5.859 kB / 0.9591 GB, free: 7.07 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.19e-06/0.787, allocations: 4 kB / 0.9592 GB, free: 7.066 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009737/0.788, allocations: 0.8544 MB / 0.96 GB, free: 6.141 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.294e-06/0.788, allocations: 0 / 0.96 GB, free: 6.141 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001219/0.7881, allocations: 23.98 kB / 0.96 GB, free: 6.117 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.043e-05/0.7882, allocations: 3.938 kB / 0.96 GB, free: 6.113 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.427e-05/0.7882, allocations: 11.94 kB / 0.96 GB, free: 6.102 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.939e-06/0.7882, allocations: 7.938 kB / 0.96 GB, free: 6.094 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.313e-06/0.7882, allocations: 0 / 0.96 GB, free: 6.094 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005392/0.7887, allocations: 331.5 kB / 0.9603 GB, free: 5.738 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001031/0.7889, allocations: 116.8 kB / 0.9605 GB, free: 5.605 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.792e-05/0.7889, allocations: 7.938 kB / 0.9605 GB, free: 5.598 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001636/0.7891, allocations: 12.05 kB / 0.9605 GB, free: 5.586 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.729e-05/0.7891, allocations: 11.98 kB / 0.9605 GB, free: 5.574 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.945e-06/0.7891, allocations: 5.969 kB / 0.9605 GB, free: 5.57 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.0002351/0.7894, allocations: 233.9 kB / 0.9607 GB, free: 5.34 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1.5e-07/0.7894, allocations: 0 / 0.9607 GB, free: 5.34 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.0004861/0.7899, allocations: 95.94 kB / 0.9608 GB, free: 5.246 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.0005469/0.7904, allocations: 216.2 kB / 0.961 GB, free: 5.035 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.0004361/0.7909, allocations: 148.9 kB / 0.9612 GB, free: 4.891 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 2.545e-06/0.7909, allocations: 4.125 kB / 0.9612 GB, free: 4.887 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.0001557/0.7911, allocations: 59.89 kB / 0.9612 GB, free: 4.828 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000782/0.7918, allocations: 146.2 kB / 0.9614 GB, free: 4.703 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000774/0.7926, allocations: 0.494 MB / 0.9618 GB, free: 4.168 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003012/0.7929, allocations: 0.7597 MB / 0.9626 GB, free: 3.383 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.0001704/0.7931, allocations: 58.12 kB / 0.9626 GB, free: 3.332 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.058e-05/0.7932, allocations: 19.44 kB / 0.9627 GB, free: 3.312 MB / 0.7481 GB Notification: Performance of SimCode: time 2.5e-07/0.7932, allocations: 4 kB / 0.9627 GB, free: 3.309 MB / 0.7481 GB Notification: Performance of Templates: time 0.01098/0.8042, allocations: 5.801 MB / 0.9683 GB, free: 13.63 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 gbode -lv LOG_STATS > Buildings_8_Buildings.Fluid.Sensors.Examples.SpecificEntropy.pipe 2>&1)