Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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(BuildingSystems.Fluid.Sensors.Examples.SpecificEntropy,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.SpecificEntropy") translateModel(BuildingSystems.Fluid.Sensors.Examples.SpecificEntropy,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.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.001029/0.001029, allocations: 98.27 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.00853/0.00853, allocations: 171.5 kB / 16.27 MB, free: 6.652 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.392/1.392, allocations: 223.3 MB / 240.3 MB, free: 5.324 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.00167/0.00167, allocations: 274.9 kB / 291.7 MB, free: 1.863 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9347/0.9347, allocations: 169.5 MB / 0.5004 GB, free: 14.12 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004141/0.0004142, allocations: 20.62 kB / 0.5987 GB, free: 27.98 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1645/0.1649, allocations: 88.54 MB / 0.6851 GB, free: 15.07 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Sensors.Examples.SpecificEntropy): time 0.5632/0.7281, allocations: 158.9 MB / 0.8403 GB, free: 6.555 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.006075/0.7343, allocations: 4.565 MB / 0.8447 GB, free: 2.898 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003153/0.7346, allocations: 8.812 kB / 0.8448 GB, free: 2.895 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0004542/0.7351, allocations: 104.3 kB / 0.8449 GB, free: 2.805 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.001476/0.7366, allocations: 0.508 MB / 0.8454 GB, free: 2.426 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.001941/0.7385, allocations: 0.7093 MB / 0.846 GB, free: 1.914 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.001031/0.7396, allocations: 0.8079 MB / 0.8468 GB, free: 1.477 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003312/0.7399, allocations: 171.9 kB / 0.847 GB, free: 1.379 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001056/0.741, allocations: 434.8 kB / 0.8474 GB, free: 1.117 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005682/0.7416, allocations: 280.5 kB / 0.8477 GB, free: 0.9688 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 3.022e-05/0.7416, allocations: 10.84 kB / 0.8477 GB, free: 0.9688 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001825/0.7434, allocations: 1.162 MB / 0.8488 GB, free: 304 kB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0001021/0.7435, allocations: 86.55 kB / 0.8489 GB, free: 248 kB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0001374/0.7437, allocations: 143.5 kB / 0.849 GB, free: 144 kB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0009291/0.7446, allocations: 0.7608 MB / 0.8498 GB, free: 15.68 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.376e-06/0.7446, allocations: 0 / 0.8498 GB, free: 15.68 MB / 0.5762 GB Notification: Performance of FrontEnd: time 2.104e-06/0.7447, allocations: 3.938 kB / 0.8498 GB, free: 15.68 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 6.091e-06/0.7447, allocations: 2.844 kB / 0.8498 GB, free: 15.68 MB / 0.5762 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.0008843/0.7456, allocations: 0.5497 MB / 0.8503 GB, free: 15.17 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.062e-05/0.7456, allocations: 10.5 kB / 0.8503 GB, free: 15.17 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006638/0.7463, allocations: 86.34 kB / 0.8504 GB, free: 15.12 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003759/0.7467, allocations: 294.7 kB / 0.8507 GB, free: 14.84 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.68e-05/0.7467, allocations: 15.88 kB / 0.8507 GB, free: 14.83 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.739e-05/0.7468, allocations: 17.78 kB / 0.8507 GB, free: 14.82 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000509/0.7473, allocations: 292.3 kB / 0.851 GB, free: 14.61 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.1e-05/0.7473, allocations: 0 / 0.851 GB, free: 14.61 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.526e-05/0.7473, allocations: 11.22 kB / 0.851 GB, free: 14.61 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.371e-05/0.7474, allocations: 12.61 kB / 0.851 GB, free: 14.6 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004323/0.7478, allocations: 219.3 kB / 0.8512 GB, free: 14.5 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001534/0.7493, allocations: 1.241 MB / 0.8525 GB, free: 13.38 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000277/0.7496, allocations: 175.2 kB / 0.8526 GB, free: 13.21 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002058/0.7498, allocations: 124.9 kB / 0.8527 GB, free: 13.12 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007271/0.7506, allocations: 344.2 kB / 0.8531 GB, free: 12.8 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.752e-05/0.7506, allocations: 36.53 kB / 0.8531 GB, free: 12.76 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=13): time 1.553e-06/0.7506, allocations: 0 / 0.8531 GB, free: 12.76 MB / 0.5762 GB Notification: Performance of matching and sorting (n=13): time 0.0007683/0.7514, allocations: 295.6 kB / 0.8534 GB, free: 12.61 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.997e-05/0.7515, allocations: 156.9 kB / 0.8535 GB, free: 12.42 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002943/0.7518, allocations: 289 kB / 0.8538 GB, free: 12.23 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 2.996e-05/0.7518, allocations: 29.7 kB / 0.8538 GB, free: 12.2 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001392/0.752, allocations: 149.2 kB / 0.854 GB, free: 12.06 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 4.652e-05/0.752, allocations: 36.64 kB / 0.854 GB, free: 12.03 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.138e-05/0.7521, allocations: 27.92 kB / 0.854 GB, free: 12 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001498/0.7523, allocations: 339.2 kB / 0.8544 GB, free: 11.67 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001838/0.7524, allocations: 81.62 kB / 0.8544 GB, free: 11.63 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002667/0.7527, allocations: 143.7 kB / 0.8546 GB, free: 11.51 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004031/0.7531, allocations: 223.4 kB / 0.8548 GB, free: 11.36 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.667e-06/0.7532, allocations: 3.281 kB / 0.8548 GB, free: 11.36 MB / 0.5762 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0005512/0.7537, allocations: 252.5 kB / 0.855 GB, free: 11.22 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.743e-05/0.7537, allocations: 9.797 kB / 0.8551 GB, free: 11.22 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.029e-05/0.7538, allocations: 2.906 kB / 0.8551 GB, free: 11.22 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.399e-05/0.7538, allocations: 6.156 kB / 0.8551 GB, free: 11.21 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002034/0.754, allocations: 43.39 kB / 0.8551 GB, free: 11.2 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.259e-05/0.754, allocations: 7.031 kB / 0.8551 GB, free: 11.2 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002229/0.7543, allocations: 39.64 kB / 0.8551 GB, free: 11.18 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.704e-05/0.7543, allocations: 12.66 kB / 0.8552 GB, free: 11.17 MB / 0.5762 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.0001844/0.7545, allocations: 154.6 kB / 0.8553 GB, free: 11.03 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001548/0.7547, allocations: 24.78 kB / 0.8553 GB, free: 11.02 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005137/0.7552, allocations: 197.6 kB / 0.8555 GB, free: 10.88 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.32e-06/0.7552, allocations: 2.75 kB / 0.8555 GB, free: 10.88 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.855e-06/0.7552, allocations: 2.562 kB / 0.8555 GB, free: 10.88 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.87e-06/0.7552, allocations: 0 / 0.8555 GB, free: 10.88 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001028/0.7562, allocations: 0.8616 MB / 0.8564 GB, free: 10.07 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.788e-06/0.7563, allocations: 6.547 kB / 0.8564 GB, free: 10.07 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001245/0.7564, allocations: 27.61 kB / 0.8564 GB, free: 10.06 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.901e-06/0.7564, allocations: 10.56 kB / 0.8564 GB, free: 10.05 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.476e-05/0.7564, allocations: 6.781 kB / 0.8564 GB, free: 10.05 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.116e-06/0.7564, allocations: 2.688 kB / 0.8564 GB, free: 10.05 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.124e-06/0.7564, allocations: 0 / 0.8564 GB, free: 10.05 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005987/0.757, allocations: 359.8 kB / 0.8568 GB, free: 9.773 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001069/0.7572, allocations: 123.6 kB / 0.8569 GB, free: 9.648 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.007e-05/0.7572, allocations: 15.28 kB / 0.8569 GB, free: 9.637 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001615/0.7574, allocations: 11.58 kB / 0.8569 GB, free: 9.633 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.361e-05/0.7574, allocations: 9.688 kB / 0.8569 GB, free: 9.629 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.939e-06/0.7575, allocations: 10.27 kB / 0.8569 GB, free: 9.621 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0002255/0.7577, allocations: 234 kB / 0.8571 GB, free: 9.469 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.51e-07/0.7577, allocations: 0 / 0.8571 GB, free: 9.469 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.000505/0.7582, allocations: 88.94 kB / 0.8572 GB, free: 9.457 MB / 0.5762 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.0005481/0.7588, allocations: 225.2 kB / 0.8574 GB, free: 9.312 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0004007/0.7592, allocations: 165.3 kB / 0.8576 GB, free: 9.242 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.525e-06/0.7592, allocations: 0 / 0.8576 GB, free: 9.242 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0001471/0.7593, allocations: 71.45 kB / 0.8577 GB, free: 9.211 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008396/0.7602, allocations: 127.9 kB / 0.8578 GB, free: 9.148 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008835/0.7611, allocations: 0.5865 MB / 0.8584 GB, free: 8.672 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003083/0.7614, allocations: 0.7538 MB / 0.8591 GB, free: 7.941 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0001958/0.7616, allocations: 68.48 kB / 0.8592 GB, free: 7.914 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.374e-05/0.7617, allocations: 23.38 kB / 0.8592 GB, free: 7.91 MB / 0.5762 GB Notification: Performance of SimCode: time 5.51e-07/0.7617, allocations: 0 / 0.8592 GB, free: 7.91 MB / 0.5762 GB Notification: Performance of Templates: time 0.01026/0.7719, allocations: 5.569 MB / 0.8646 GB, free: 5.129 MB / 0.5762 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.SpecificEntropy.makefile (rm -f BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.SpecificEntropy.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.SpecificEntropy.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.SpecificEntropy.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.SpecificEntropy.sim & ./BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.SpecificEntropy -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.SpecificEntropy.pipe 2>&1)