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: "" <> buildModelFMU(BuildingSystems.Fluid.Sensors.Examples.SpecificEntropy,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Sensors_Examples_SpecificEntropy",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.Sensors.Examples.SpecificEntropy,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Sensors_Examples_SpecificEntropy",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.004937/0.004937, allocations: 96.16 kB / 15.73 MB, free: 6.043 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.001298/0.001298, allocations: 195.8 kB / 16.68 MB, free: 5.969 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.366/1.366, allocations: 222.9 MB / 240.4 MB, free: 4.301 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002434/0.002434, allocations: 282.9 kB / 290.8 MB, free: 1.906 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.032/1.032, allocations: 178.6 MB / 0.5074 GB, free: 4.48 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002594/0.002594, allocations: 91.86 kB / 0.6943 GB, free: 3.59 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.443/0.4456, allocations: 89.14 MB / 0.7813 GB, free: 13.85 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Sensors.Examples.SpecificEntropy): time 0.189/0.6347, allocations: 163.2 MB / 0.9408 GB, free: 11.41 MB / 0.7012 GB Notification: Performance of NFInst.instExpressions: time 0.005577/0.6403, allocations: 4.566 MB / 0.9452 GB, free: 6.832 MB / 0.7012 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002637/0.6406, allocations: 15.88 kB / 0.9452 GB, free: 6.816 MB / 0.7012 GB Notification: Performance of NFTyping.typeComponents: time 0.0003896/0.641, allocations: 131 kB / 0.9454 GB, free: 6.688 MB / 0.7012 GB Notification: Performance of NFTyping.typeBindings: time 0.001181/0.6422, allocations: 0.5406 MB / 0.9459 GB, free: 6.145 MB / 0.7012 GB Notification: Performance of NFTyping.typeClassSections: time 0.0017/0.6439, allocations: 0.7675 MB / 0.9466 GB, free: 5.379 MB / 0.7012 GB Notification: Performance of NFFlatten.flatten: time 0.0006738/0.6446, allocations: 0.5729 MB / 0.9472 GB, free: 4.805 MB / 0.7012 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003305/0.645, allocations: 205.2 kB / 0.9474 GB, free: 4.605 MB / 0.7012 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008879/0.6459, allocations: 470.2 kB / 0.9478 GB, free: 4.145 MB / 0.7012 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005266/0.6464, allocations: 287 kB / 0.9481 GB, free: 3.863 MB / 0.7012 GB Notification: Performance of NFPackage.collectConstants: time 4.463e-05/0.6464, allocations: 24 kB / 0.9481 GB, free: 3.84 MB / 0.7012 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001619/0.6481, allocations: 1.002 MB / 0.9491 GB, free: 2.836 MB / 0.7012 GB Notification: Performance of NFScalarize.scalarize: time 0.0001041/0.6482, allocations: 87.72 kB / 0.9492 GB, free: 2.75 MB / 0.7012 GB Notification: Performance of NFVerifyModel.verify: time 0.0001368/0.6483, allocations: 127.4 kB / 0.9493 GB, free: 2.625 MB / 0.7012 GB Notification: Performance of NFConvertDAE.convert: time 0.001022/0.6494, allocations: 0.7177 MB / 0.95 GB, free: 1.91 MB / 0.7012 GB Notification: Performance of FrontEnd - DAE generated: time 3.046e-06/0.6494, allocations: 0 / 0.95 GB, free: 1.91 MB / 0.7012 GB Notification: Performance of FrontEnd: time 1.173e-06/0.6494, allocations: 0 / 0.95 GB, free: 1.91 MB / 0.7012 GB Notification: Performance of Transformations before backend: time 5.53e-06/0.6494, allocations: 0 / 0.95 GB, free: 1.91 MB / 0.7012 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.0009402/0.6503, allocations: 0.6067 MB / 0.9506 GB, free: 1.254 MB / 0.7012 GB Notification: Performance of prepare preOptimizeDAE: time 3.452e-05/0.6504, allocations: 8.031 kB / 0.9506 GB, free: 1.246 MB / 0.7012 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.022e-05/0.6504, allocations: 54.55 kB / 0.9507 GB, free: 1.184 MB / 0.7012 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006398/0.6511, allocations: 87.66 kB / 0.9508 GB, free: 1.098 MB / 0.7012 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003924/0.6515, allocations: 295.5 kB / 0.951 GB, free: 0.7695 MB / 0.7012 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.166e-05/0.6515, allocations: 19.89 kB / 0.9511 GB, free: 0.75 MB / 0.7012 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.364e-05/0.6516, allocations: 24 kB / 0.9511 GB, free: 0.7266 MB / 0.7012 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004773/0.6521, allocations: 275.5 kB / 0.9514 GB, free: 440 kB / 0.7012 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.235e-05/0.6521, allocations: 3.938 kB / 0.9514 GB, free: 436 kB / 0.7012 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.926e-05/0.6521, allocations: 11.94 kB / 0.9514 GB, free: 424 kB / 0.7012 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.506e-06/0.6521, allocations: 7.938 kB / 0.9514 GB, free: 416 kB / 0.7012 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004205/0.6526, allocations: 203.8 kB / 0.9516 GB, free: 212 kB / 0.7012 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001562/0.6541, allocations: 1.238 MB / 0.9528 GB, free: 14.89 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002996/0.6544, allocations: 173 kB / 0.9529 GB, free: 14.68 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002061/0.6547, allocations: 116.2 kB / 0.9531 GB, free: 14.55 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007618/0.6554, allocations: 339.3 kB / 0.9534 GB, free: 14.16 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.221e-05/0.6555, allocations: 38.56 kB / 0.9534 GB, free: 14.11 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=13): time 1.453e-06/0.6555, allocations: 0 / 0.9534 GB, free: 14.11 MB / 0.7169 GB Notification: Performance of matching and sorting (n=13): time 0.0007709/0.6562, allocations: 278 kB / 0.9537 GB, free: 13.84 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001015/0.6564, allocations: 162.3 kB / 0.9538 GB, free: 13.64 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003085/0.6567, allocations: 286.9 kB / 0.9541 GB, free: 13.36 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 2.592e-05/0.6567, allocations: 29.7 kB / 0.9541 GB, free: 13.32 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001124/0.6568, allocations: 147.9 kB / 0.9543 GB, free: 13.17 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 4.876e-05/0.6569, allocations: 51.59 kB / 0.9543 GB, free: 13.12 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.461e-05/0.657, allocations: 37.7 kB / 0.9544 GB, free: 13.08 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 0.0001469/0.6571, allocations: 342.8 kB / 0.9547 GB, free: 12.73 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001683/0.6573, allocations: 71.95 kB / 0.9548 GB, free: 12.66 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002325/0.6575, allocations: 144.5 kB / 0.9549 GB, free: 12.49 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003918/0.6579, allocations: 211.5 kB / 0.9551 GB, free: 12.26 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.914e-06/0.658, allocations: 0 / 0.9551 GB, free: 12.26 MB / 0.7169 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0005594/0.6585, allocations: 245.2 kB / 0.9553 GB, free: 12.01 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.445e-05/0.6585, allocations: 4 kB / 0.9553 GB, free: 12.01 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.543e-06/0.6586, allocations: 4 kB / 0.9553 GB, free: 12 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.867e-05/0.6586, allocations: 8.25 kB / 0.9553 GB, free: 12 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001904/0.6588, allocations: 43.91 kB / 0.9554 GB, free: 11.95 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.109e-05/0.6588, allocations: 8.062 kB / 0.9554 GB, free: 11.95 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001825/0.659, allocations: 31.7 kB / 0.9554 GB, free: 11.91 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.128e-05/0.659, allocations: 16 kB / 0.9554 GB, free: 11.9 MB / 0.7169 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.0001427/0.6592, allocations: 145.8 kB / 0.9556 GB, free: 11.75 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001404/0.6593, allocations: 27.84 kB / 0.9556 GB, free: 11.72 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004629/0.6598, allocations: 181.8 kB / 0.9558 GB, free: 11.52 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.53e-06/0.6598, allocations: 4 kB / 0.9558 GB, free: 11.52 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.751e-06/0.6598, allocations: 4 kB / 0.9558 GB, free: 11.52 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.612e-06/0.6598, allocations: 11.88 kB / 0.9558 GB, free: 11.5 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009929/0.6608, allocations: 0.8473 MB / 0.9566 GB, free: 10.58 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.783e-06/0.6608, allocations: 0 / 0.9566 GB, free: 10.58 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001604/0.661, allocations: 27.97 kB / 0.9567 GB, free: 10.55 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.873e-06/0.661, allocations: 7.969 kB / 0.9567 GB, free: 10.55 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.429e-05/0.6611, allocations: 8 kB / 0.9567 GB, free: 10.54 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.39e-06/0.6611, allocations: 8.062 kB / 0.9567 GB, free: 10.53 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.252e-06/0.6611, allocations: 4 kB / 0.9567 GB, free: 10.53 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005698/0.6616, allocations: 335.5 kB / 0.957 GB, free: 10.17 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001/0.6618, allocations: 116.9 kB / 0.9571 GB, free: 10.04 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.961e-05/0.6618, allocations: 4 kB / 0.9571 GB, free: 10.03 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001493/0.662, allocations: 12.05 kB / 0.9571 GB, free: 10.02 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.122e-05/0.662, allocations: 8.094 kB / 0.9571 GB, free: 10.01 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.356e-06/0.662, allocations: 7.938 kB / 0.9571 GB, free: 10 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.00025/0.6623, allocations: 237.9 kB / 0.9574 GB, free: 9.773 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.843e-06/0.6623, allocations: 0 / 0.9574 GB, free: 9.773 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.000438/0.6627, allocations: 99.75 kB / 0.9575 GB, free: 9.676 MB / 0.7169 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.001287/0.664, allocations: 0.9913 MB / 0.9584 GB, free: 8.652 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0003961/0.6644, allocations: 148 kB / 0.9586 GB, free: 8.508 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.6644, allocations: 0 / 0.9586 GB, free: 8.508 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0001542/0.6646, allocations: 63.83 kB / 0.9586 GB, free: 8.445 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007524/0.6654, allocations: 139.6 kB / 0.9588 GB, free: 8.312 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003533/0.6689, allocations: 2.766 MB / 0.9615 GB, free: 5.379 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003762/0.6693, allocations: 0.7558 MB / 0.9622 GB, free: 4.598 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 0.0002012/0.6695, allocations: 66.88 kB / 0.9623 GB, free: 4.535 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001291/0.6696, allocations: 79.41 kB / 0.9623 GB, free: 4.457 MB / 0.7169 GB Notification: Performance of SimCode: time 4.61e-07/0.6697, allocations: 0 / 0.9623 GB, free: 4.457 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03312/0.7028, allocations: 8.627 MB / 0.9708 GB, free: 12.02 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.903/8.606, allocations: 14.73 kB / 0.9708 GB, free: 12.01 MB / 0.7325 GB (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 & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.SpecificEntropy_res.csv --start-time 0 --stop-time 60 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.024 BuildingSystems_BuildingSystems_Fluid_Sensors_Examples_SpecificEntropy.fmu > BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.SpecificEntropy.pipe 2>&1)