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.001462/0.001462, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001694/0.001694, allocations: 195.9 kB / 16.14 MB, free: 6.664 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.385/1.385, allocations: 222.9 MB / 239.8 MB, free: 4.586 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002095/0.002095, allocations: 285.6 kB / 290.2 MB, free: 2.188 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9514/0.9514, allocations: 169.2 MB / 0.4977 GB, free: 14.16 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00167/0.00167, allocations: 100.4 kB / 0.5945 GB, free: 28.37 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1671/0.1688, allocations: 86.97 MB / 0.6794 GB, free: 1.18 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Sensors.Examples.SpecificEntropy): time 0.5756/0.7445, allocations: 161 MB / 0.8366 GB, free: 56 kB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.006009/0.7505, allocations: 4.631 MB / 0.8412 GB, free: 15.66 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006449/0.7512, allocations: 9.844 kB / 0.8412 GB, free: 15.66 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0005555/0.7518, allocations: 97.45 kB / 0.8413 GB, free: 15.62 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.001558/0.7534, allocations: 0.5094 MB / 0.8418 GB, free: 15.51 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.002217/0.7556, allocations: 0.7066 MB / 0.8424 GB, free: 15.29 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0009358/0.7566, allocations: 0.8159 MB / 0.8432 GB, free: 15.03 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003195/0.7569, allocations: 176.1 kB / 0.8434 GB, free: 14.96 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001099/0.758, allocations: 434.4 kB / 0.8438 GB, free: 14.74 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006616/0.7587, allocations: 299.4 kB / 0.8441 GB, free: 14.6 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 3.876e-05/0.7587, allocations: 12.34 kB / 0.8441 GB, free: 14.6 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00239/0.7611, allocations: 1.158 MB / 0.8452 GB, free: 14.07 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0001455/0.7613, allocations: 81.98 kB / 0.8453 GB, free: 14.02 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0001656/0.7615, allocations: 120.5 kB / 0.8454 GB, free: 13.95 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.001338/0.7628, allocations: 0.7721 MB / 0.8462 GB, free: 13.54 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.897e-06/0.7628, allocations: 4.75 kB / 0.8462 GB, free: 13.54 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.493e-06/0.7628, allocations: 0 / 0.8462 GB, free: 13.54 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 6.612e-06/0.7629, allocations: 0 / 0.8462 GB, free: 13.54 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.001079/0.7639, allocations: 0.595 MB / 0.8468 GB, free: 13 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 5.119e-05/0.764, allocations: 14.64 kB / 0.8468 GB, free: 13 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00072/0.7647, allocations: 76.5 kB / 0.8469 GB, free: 12.96 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003927/0.7651, allocations: 287.6 kB / 0.8471 GB, free: 12.69 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.075e-05/0.7652, allocations: 11.81 kB / 0.8472 GB, free: 12.68 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.49e-05/0.7652, allocations: 28.44 kB / 0.8472 GB, free: 12.67 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005186/0.7657, allocations: 281 kB / 0.8474 GB, free: 12.46 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.42e-05/0.7658, allocations: 3.938 kB / 0.8475 GB, free: 12.46 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.722e-05/0.7658, allocations: 6.469 kB / 0.8475 GB, free: 12.46 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.14e-05/0.7658, allocations: 13.72 kB / 0.8475 GB, free: 12.45 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004228/0.7662, allocations: 204.1 kB / 0.8477 GB, free: 12.35 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001658/0.7679, allocations: 1.244 MB / 0.8489 GB, free: 11.23 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000285/0.7682, allocations: 173 kB / 0.849 GB, free: 11.07 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002093/0.7684, allocations: 115.2 kB / 0.8492 GB, free: 10.98 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007866/0.7692, allocations: 335.1 kB / 0.8495 GB, free: 10.66 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.966e-05/0.7693, allocations: 41.73 kB / 0.8495 GB, free: 10.61 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=13): time 1.884e-06/0.7693, allocations: 0 / 0.8495 GB, free: 10.61 MB / 0.5762 GB Notification: Performance of matching and sorting (n=13): time 0.0007764/0.7701, allocations: 284.3 kB / 0.8498 GB, free: 10.46 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.142e-05/0.7702, allocations: 156.8 kB / 0.8499 GB, free: 10.27 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002838/0.7704, allocations: 282.7 kB / 0.8502 GB, free: 10.09 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 3.356e-05/0.7705, allocations: 36.2 kB / 0.8502 GB, free: 10.05 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.000113/0.7706, allocations: 142.9 kB / 0.8504 GB, free: 9.918 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 4.883e-05/0.7707, allocations: 58.39 kB / 0.8504 GB, free: 9.871 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.388e-05/0.7707, allocations: 37.36 kB / 0.8505 GB, free: 9.844 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.000146/0.7709, allocations: 340 kB / 0.8508 GB, free: 9.508 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001586/0.7711, allocations: 64.64 kB / 0.8509 GB, free: 9.48 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000264/0.7713, allocations: 157.3 kB / 0.851 GB, free: 9.348 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000426/0.7718, allocations: 217.9 kB / 0.8512 GB, free: 9.191 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.438e-06/0.7718, allocations: 2.75 kB / 0.8512 GB, free: 9.191 MB / 0.5762 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0005435/0.7723, allocations: 237.8 kB / 0.8514 GB, free: 9.062 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.302e-05/0.7724, allocations: 5.531 kB / 0.8514 GB, free: 9.062 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.356e-06/0.7724, allocations: 2.875 kB / 0.8514 GB, free: 9.062 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.252e-05/0.7724, allocations: 2.375 kB / 0.8515 GB, free: 9.062 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002159/0.7726, allocations: 45 kB / 0.8515 GB, free: 9.047 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.212e-05/0.7726, allocations: 2.656 kB / 0.8515 GB, free: 9.047 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002175/0.7729, allocations: 24.92 kB / 0.8515 GB, free: 9.035 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.039e-05/0.7729, allocations: 12.16 kB / 0.8515 GB, free: 9.031 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.0001848/0.7731, allocations: 161.6 kB / 0.8517 GB, free: 8.883 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001416/0.7733, allocations: 26.62 kB / 0.8517 GB, free: 8.867 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005164/0.7738, allocations: 181.2 kB / 0.8519 GB, free: 8.734 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.879e-06/0.7738, allocations: 3.156 kB / 0.8519 GB, free: 8.734 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.181e-06/0.7738, allocations: 0 / 0.8519 GB, free: 8.734 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.336e-06/0.7738, allocations: 6.609 kB / 0.8519 GB, free: 8.73 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00106/0.7749, allocations: 0.8489 MB / 0.8527 GB, free: 7.934 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.336e-06/0.7749, allocations: 0.625 kB / 0.8527 GB, free: 7.934 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001227/0.775, allocations: 26.75 kB / 0.8527 GB, free: 7.926 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.071e-06/0.775, allocations: 6.062 kB / 0.8528 GB, free: 7.922 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.655e-05/0.7751, allocations: 6.531 kB / 0.8528 GB, free: 7.918 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.921e-06/0.7751, allocations: 12.56 kB / 0.8528 GB, free: 7.91 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.744e-06/0.7751, allocations: 0 / 0.8528 GB, free: 7.91 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005675/0.7757, allocations: 334.6 kB / 0.8531 GB, free: 7.648 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001033/0.7758, allocations: 115.2 kB / 0.8532 GB, free: 7.527 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.476e-05/0.7758, allocations: 10.03 kB / 0.8532 GB, free: 7.52 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001611/0.776, allocations: 9.391 kB / 0.8532 GB, free: 7.516 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.709e-05/0.7761, allocations: 12.92 kB / 0.8532 GB, free: 7.508 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.616e-06/0.7761, allocations: 4.781 kB / 0.8532 GB, free: 7.508 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0002567/0.7763, allocations: 243.1 kB / 0.8535 GB, free: 7.348 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.1e-07/0.7763, allocations: 0 / 0.8535 GB, free: 7.348 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0005834/0.7769, allocations: 89 kB / 0.8536 GB, free: 7.336 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.0006719/0.7776, allocations: 231.3 kB / 0.8538 GB, free: 7.188 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0004203/0.778, allocations: 140.4 kB / 0.8539 GB, free: 7.129 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/0.778, allocations: 2.938 kB / 0.8539 GB, free: 7.129 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0001546/0.7782, allocations: 60.45 kB / 0.854 GB, free: 7.102 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008167/0.779, allocations: 129.2 kB / 0.8541 GB, free: 7.039 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008472/0.7799, allocations: 0.5556 MB / 0.8546 GB, free: 6.598 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003192/0.7802, allocations: 0.7646 MB / 0.8554 GB, free: 5.859 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0001985/0.7804, allocations: 71.88 kB / 0.8555 GB, free: 5.828 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.304e-05/0.7805, allocations: 20.06 kB / 0.8555 GB, free: 5.82 MB / 0.5762 GB Notification: Performance of SimCode: time 2.01e-07/0.7805, allocations: 2.375 kB / 0.8555 GB, free: 5.82 MB / 0.5762 GB Notification: Performance of Templates: time 0.0103/0.7908, allocations: 5.575 MB / 0.8609 GB, free: 3.059 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)