Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.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/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-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(IBPSA.Fluid.Sensors.Examples.SpecificEntropy,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Sensors_Examples_SpecificEntropy",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.Sensors.Examples.SpecificEntropy,fileNamePrefix="IBPSA_latest_IBPSA_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.001283/0.001283, allocations: 110.2 kB / 16.41 MB, free: 6.492 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.001184/0.001184, allocations: 189.2 kB / 17.34 MB, free: 5.762 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.352/1.352, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7769/0.7769, allocations: 126.7 MB / 417.9 MB, free: 12.29 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00186/0.00186, allocations: 69.84 kB / 0.5735 GB, free: 27.04 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1375/0.1393, allocations: 78.87 MB / 0.6506 GB, free: 3.598 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Sensors.Examples.SpecificEntropy): time 0.5022/0.6416, allocations: 163.2 MB / 0.81 GB, free: 11.29 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.004285/0.6459, allocations: 4.571 MB / 0.8144 GB, free: 10.88 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003252/0.6463, allocations: 9.344 kB / 0.8145 GB, free: 10.88 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.0004074/0.6467, allocations: 130.9 kB / 0.8146 GB, free: 10.82 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.001122/0.6479, allocations: 0.5409 MB / 0.8151 GB, free: 10.67 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.001584/0.6495, allocations: 0.774 MB / 0.8159 GB, free: 10.36 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.0005484/0.65, allocations: 0.5729 MB / 0.8164 GB, free: 10.2 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002997/0.6503, allocations: 208.2 kB / 0.8166 GB, free: 10.13 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001305/0.6517, allocations: 0.661 MB / 0.8173 GB, free: 9.871 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005071/0.6522, allocations: 289 kB / 0.8175 GB, free: 9.77 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 3.302e-05/0.6522, allocations: 17.44 kB / 0.8176 GB, free: 9.77 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001428/0.6537, allocations: 0.9993 MB / 0.8185 GB, free: 9.516 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 9.66e-05/0.6538, allocations: 92.12 kB / 0.8186 GB, free: 9.48 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0001196/0.6539, allocations: 126.6 kB / 0.8187 GB, free: 9.434 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.0009529/0.6548, allocations: 0.7122 MB / 0.8194 GB, free: 9.121 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 3.828e-06/0.6549, allocations: 0 / 0.8194 GB, free: 9.121 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.192e-06/0.6549, allocations: 0 / 0.8194 GB, free: 9.121 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 1.537e-05/0.6549, allocations: 0 / 0.8194 GB, free: 9.121 MB / 0.5919 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.0009457/0.6558, allocations: 0.6158 MB / 0.82 GB, free: 8.559 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.562e-05/0.6559, allocations: 10.06 kB / 0.82 GB, free: 8.559 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.929e-05/0.6559, allocations: 48.23 kB / 0.8201 GB, free: 8.508 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006042/0.6566, allocations: 79.09 kB / 0.8202 GB, free: 8.473 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003967/0.657, allocations: 295.5 kB / 0.8204 GB, free: 8.195 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.858e-05/0.657, allocations: 15.75 kB / 0.8205 GB, free: 8.188 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.858e-05/0.657, allocations: 16.69 kB / 0.8205 GB, free: 8.184 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004725/0.6575, allocations: 283.9 kB / 0.8208 GB, free: 7.977 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.278e-05/0.6575, allocations: 3.938 kB / 0.8208 GB, free: 7.973 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.265e-05/0.6576, allocations: 10.28 kB / 0.8208 GB, free: 7.965 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.963e-06/0.6576, allocations: 4.594 kB / 0.8208 GB, free: 7.965 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004154/0.658, allocations: 213.5 kB / 0.821 GB, free: 7.859 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001571/0.6596, allocations: 1.242 MB / 0.8222 GB, free: 6.742 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002859/0.6599, allocations: 174.6 kB / 0.8224 GB, free: 6.574 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002036/0.6601, allocations: 112 kB / 0.8225 GB, free: 6.496 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007238/0.6608, allocations: 332.9 kB / 0.8228 GB, free: 6.172 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.3e-05/0.6609, allocations: 37.44 kB / 0.8228 GB, free: 6.129 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=13): time 3.306e-06/0.6609, allocations: 3.984 kB / 0.8228 GB, free: 6.125 MB / 0.5919 GB Notification: Performance of matching and sorting (n=13): time 0.0007342/0.6616, allocations: 282.7 kB / 0.8231 GB, free: 5.973 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.79e-05/0.6617, allocations: 160.9 kB / 0.8232 GB, free: 5.781 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002698/0.662, allocations: 286.6 kB / 0.8235 GB, free: 5.594 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 2.621e-05/0.662, allocations: 28.8 kB / 0.8235 GB, free: 5.562 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001156/0.6622, allocations: 153.4 kB / 0.8237 GB, free: 5.418 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 4.027e-05/0.6622, allocations: 44.3 kB / 0.8237 GB, free: 5.383 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.337e-05/0.6623, allocations: 50.72 kB / 0.8238 GB, free: 5.344 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001519/0.6624, allocations: 336.6 kB / 0.8241 GB, free: 5.012 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001567/0.6626, allocations: 69.38 kB / 0.8242 GB, free: 4.98 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002335/0.6628, allocations: 152.1 kB / 0.8243 GB, free: 4.852 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003562/0.6632, allocations: 209 kB / 0.8245 GB, free: 4.703 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.775e-06/0.6632, allocations: 2.906 kB / 0.8245 GB, free: 4.703 MB / 0.5919 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0004878/0.6637, allocations: 242.3 kB / 0.8247 GB, free: 4.57 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.285e-05/0.6637, allocations: 9.812 kB / 0.8248 GB, free: 4.566 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.44e-06/0.6637, allocations: 2.125 kB / 0.8248 GB, free: 4.566 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.331e-05/0.6638, allocations: 2.688 kB / 0.8248 GB, free: 4.566 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001729/0.6639, allocations: 36.2 kB / 0.8248 GB, free: 4.562 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.308e-05/0.664, allocations: 13.95 kB / 0.8248 GB, free: 4.551 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001738/0.6641, allocations: 29.91 kB / 0.8248 GB, free: 4.531 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.937e-05/0.6642, allocations: 14.05 kB / 0.8248 GB, free: 4.527 MB / 0.5919 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.0001425/0.6643, allocations: 147.4 kB / 0.825 GB, free: 4.391 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000136/0.6645, allocations: 23.98 kB / 0.825 GB, free: 4.379 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000446/0.6649, allocations: 194.5 kB / 0.8252 GB, free: 4.23 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.787e-06/0.6649, allocations: 2.906 kB / 0.8252 GB, free: 4.23 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.396e-06/0.6649, allocations: 4.812 kB / 0.8252 GB, free: 4.227 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.637e-06/0.665, allocations: 2.75 kB / 0.8252 GB, free: 4.227 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001012/0.666, allocations: 0.8579 MB / 0.826 GB, free: 3.422 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.58e-06/0.666, allocations: 4.906 kB / 0.826 GB, free: 3.422 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001091/0.6661, allocations: 24.86 kB / 0.8261 GB, free: 3.414 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.825e-06/0.6661, allocations: 2.906 kB / 0.8261 GB, free: 3.414 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.092e-05/0.6661, allocations: 2.875 kB / 0.8261 GB, free: 3.414 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.753e-06/0.6661, allocations: 0 / 0.8261 GB, free: 3.414 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.719e-06/0.6661, allocations: 6.344 kB / 0.8261 GB, free: 3.41 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005594/0.6667, allocations: 345.2 kB / 0.8264 GB, free: 3.137 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 9.975e-05/0.6668, allocations: 111.2 kB / 0.8265 GB, free: 3.02 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.935e-05/0.6669, allocations: 10.48 kB / 0.8265 GB, free: 3.012 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001445/0.667, allocations: 5.312 kB / 0.8265 GB, free: 3.012 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.765e-05/0.6671, allocations: 8.297 kB / 0.8265 GB, free: 3.008 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.622e-06/0.6671, allocations: 6.188 kB / 0.8265 GB, free: 3.008 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.000218/0.6673, allocations: 238.9 kB / 0.8268 GB, free: 2.848 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.2e-07/0.6673, allocations: 2.906 kB / 0.8268 GB, free: 2.848 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0004069/0.6677, allocations: 99.08 kB / 0.8269 GB, free: 2.824 MB / 0.5919 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.001241/0.669, allocations: 0.9827 MB / 0.8278 GB, free: 1.984 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0003767/0.6694, allocations: 158.4 kB / 0.828 GB, free: 1.91 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 1.933e-06/0.6694, allocations: 0 / 0.828 GB, free: 1.91 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0001389/0.6695, allocations: 59.19 kB / 0.828 GB, free: 1.887 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007308/0.6702, allocations: 147.4 kB / 0.8282 GB, free: 1.809 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003297/0.6736, allocations: 2.77 MB / 0.8309 GB, free: 15.66 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003845/0.674, allocations: 0.7658 MB / 0.8316 GB, free: 14.92 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.0001721/0.6741, allocations: 58.22 kB / 0.8317 GB, free: 14.9 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001155/0.6743, allocations: 77.81 kB / 0.8318 GB, free: 14.84 MB / 0.6075 GB Notification: Performance of SimCode: time 3.81e-07/0.6743, allocations: 0 / 0.8318 GB, free: 14.84 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.032/0.7063, allocations: 8.617 MB / 0.8402 GB, free: 10.5 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.986/8.693, allocations: 0 / 0.8402 GB, free: 10.5 MB / 0.6075 GB (rm -f IBPSA_latest_IBPSA.Fluid.Sensors.Examples.SpecificEntropy.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Sensors.Examples.SpecificEntropy.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Sensors.Examples.SpecificEntropy.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Sensors.Examples.SpecificEntropy.sim & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.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 IBPSA_latest_IBPSA_Fluid_Sensors_Examples_SpecificEntropy.fmu > IBPSA_latest_IBPSA.Fluid.Sensors.Examples.SpecificEntropy.pipe 2>&1)