Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.SpecificEnthalpy.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.SpecificEnthalpy,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Sensors_Examples_SpecificEnthalpy",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.Sensors.Examples.SpecificEnthalpy,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Sensors_Examples_SpecificEnthalpy",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.004317/0.004317, allocations: 102.8 kB / 15.74 MB, free: 5.551 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.001024/0.001024, allocations: 195.6 kB / 16.67 MB, free: 5.48 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.213/1.213, allocations: 222.9 MB / 240.4 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002088/0.002088, allocations: 292.3 kB / 290.8 MB, free: 14.44 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8898/0.8898, allocations: 169.2 MB / 0.4983 GB, free: 4.445 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002/0.002, allocations: 99.84 kB / 0.681 GB, free: 7.445 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3794/0.3815, allocations: 86.98 MB / 0.7659 GB, free: 3.867 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Sensors.Examples.SpecificEnthalpy): time 0.17/0.5515, allocations: 161.4 MB / 0.9235 GB, free: 1.883 MB / 0.6856 GB Notification: Performance of NFInst.instExpressions: time 0.008006/0.5596, allocations: 4.544 MB / 0.9279 GB, free: 13.32 MB / 0.7012 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004532/0.5601, allocations: 11.94 kB / 0.9279 GB, free: 13.31 MB / 0.7012 GB Notification: Performance of NFTyping.typeComponents: time 0.0005738/0.5607, allocations: 119.1 kB / 0.9281 GB, free: 13.2 MB / 0.7012 GB Notification: Performance of NFTyping.typeBindings: time 0.001281/0.562, allocations: 350.4 kB / 0.9284 GB, free: 12.85 MB / 0.7012 GB Notification: Performance of NFTyping.typeClassSections: time 0.00114/0.5632, allocations: 278 kB / 0.9287 GB, free: 12.58 MB / 0.7012 GB Notification: Performance of NFFlatten.flatten: time 0.0009791/0.5642, allocations: 0.5573 MB / 0.9292 GB, free: 12.02 MB / 0.7012 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005313/0.5647, allocations: 205.1 kB / 0.9294 GB, free: 11.82 MB / 0.7012 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001411/0.5661, allocations: 470.2 kB / 0.9298 GB, free: 11.36 MB / 0.7012 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004165/0.5666, allocations: 191.2 kB / 0.93 GB, free: 11.17 MB / 0.7012 GB Notification: Performance of NFPackage.collectConstants: time 5.329e-05/0.5666, allocations: 20 kB / 0.93 GB, free: 11.15 MB / 0.7012 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000264/0.5669, allocations: 87.91 kB / 0.9301 GB, free: 11.07 MB / 0.7012 GB Notification: Performance of NFScalarize.scalarize: time 0.0001437/0.5671, allocations: 75.8 kB / 0.9302 GB, free: 10.99 MB / 0.7012 GB Notification: Performance of NFVerifyModel.verify: time 0.0001988/0.5673, allocations: 123.4 kB / 0.9303 GB, free: 10.87 MB / 0.7012 GB Notification: Performance of NFConvertDAE.convert: time 0.0005774/0.5679, allocations: 308.2 kB / 0.9306 GB, free: 10.57 MB / 0.7012 GB Notification: Performance of FrontEnd - DAE generated: time 4.438e-06/0.5679, allocations: 4 kB / 0.9306 GB, free: 10.57 MB / 0.7012 GB Notification: Performance of FrontEnd: time 1.973e-06/0.5679, allocations: 0 / 0.9306 GB, free: 10.57 MB / 0.7012 GB Notification: Performance of Transformations before backend: time 1.28e-05/0.5679, allocations: 0 / 0.9306 GB, free: 10.57 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: 42 * Number of variables: 42 Notification: Performance of Generate backend data structure: time 0.0011/0.569, allocations: 0.5448 MB / 0.9311 GB, free: 9.977 MB / 0.7012 GB Notification: Performance of prepare preOptimizeDAE: time 4.364e-05/0.5691, allocations: 8.031 kB / 0.9312 GB, free: 9.969 MB / 0.7012 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.506e-05/0.5692, allocations: 54.55 kB / 0.9312 GB, free: 9.906 MB / 0.7012 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.895e-05/0.5693, allocations: 31.75 kB / 0.9312 GB, free: 9.875 MB / 0.7012 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005756/0.5699, allocations: 291.5 kB / 0.9315 GB, free: 9.551 MB / 0.7012 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.576e-05/0.5699, allocations: 19.94 kB / 0.9315 GB, free: 9.531 MB / 0.7012 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.205e-05/0.57, allocations: 20 kB / 0.9316 GB, free: 9.512 MB / 0.7012 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005984/0.5706, allocations: 266.3 kB / 0.9318 GB, free: 9.215 MB / 0.7012 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.544e-05/0.5706, allocations: 3.938 kB / 0.9318 GB, free: 9.211 MB / 0.7012 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.707e-05/0.5706, allocations: 8 kB / 0.9318 GB, free: 9.203 MB / 0.7012 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.005e-05/0.5706, allocations: 4 kB / 0.9318 GB, free: 9.199 MB / 0.7012 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004932/0.5711, allocations: 147.8 kB / 0.932 GB, free: 9.055 MB / 0.7012 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001958/0.5731, allocations: 1.372 MB / 0.9333 GB, free: 7.594 MB / 0.7012 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004379/0.5736, allocations: 187.7 kB / 0.9335 GB, free: 7.355 MB / 0.7012 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000265/0.5739, allocations: 89.11 kB / 0.9336 GB, free: 7.25 MB / 0.7012 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000476/0.5743, allocations: 121 kB / 0.9337 GB, free: 7.113 MB / 0.7012 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.744e-05/0.5744, allocations: 46.44 kB / 0.9337 GB, free: 7.059 MB / 0.7012 GB Notification: Performance of pre-optimization done (n=10): time 1.704e-06/0.5744, allocations: 0 / 0.9337 GB, free: 7.059 MB / 0.7012 GB Notification: Performance of matching and sorting (n=10): time 0.0007196/0.5752, allocations: 201.3 kB / 0.9339 GB, free: 6.855 MB / 0.7012 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.441e-05/0.5753, allocations: 191.8 kB / 0.9341 GB, free: 6.625 MB / 0.7012 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002771/0.5755, allocations: 287 kB / 0.9344 GB, free: 6.34 MB / 0.7012 GB Notification: Performance of collectPreVariables (initialization): time 2.407e-05/0.5756, allocations: 34.31 kB / 0.9344 GB, free: 6.301 MB / 0.7012 GB Notification: Performance of collectInitialEqns (initialization): time 0.00011/0.5757, allocations: 152 kB / 0.9346 GB, free: 6.148 MB / 0.7012 GB Notification: Performance of collectInitialBindings (initialization): time 2.921e-05/0.5757, allocations: 35.64 kB / 0.9346 GB, free: 6.113 MB / 0.7012 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.948e-05/0.5758, allocations: 33.7 kB / 0.9346 GB, free: 6.074 MB / 0.7012 GB Notification: Performance of setup shared object (initialization): time 0.0001166/0.5759, allocations: 338.8 kB / 0.9349 GB, free: 5.734 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001218/0.576, allocations: 39.97 kB / 0.935 GB, free: 5.695 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001809/0.5762, allocations: 123 kB / 0.9351 GB, free: 5.551 MB / 0.7012 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000267/0.5765, allocations: 154.8 kB / 0.9352 GB, free: 5.375 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.106e-06/0.5765, allocations: 3.938 kB / 0.9353 GB, free: 5.371 MB / 0.7012 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0005324/0.5771, allocations: 197.4 kB / 0.9354 GB, free: 5.172 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 2.442e-05/0.5771, allocations: 8 kB / 0.9354 GB, free: 5.164 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.736e-06/0.5771, allocations: 0 / 0.9354 GB, free: 5.164 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.431e-05/0.5772, allocations: 4 kB / 0.9355 GB, free: 5.16 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000214/0.5774, allocations: 31.92 kB / 0.9355 GB, free: 5.129 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.14e-05/0.5774, allocations: 4 kB / 0.9355 GB, free: 5.125 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002483/0.5777, allocations: 27.83 kB / 0.9355 GB, free: 5.098 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.682e-05/0.5777, allocations: 8.312 kB / 0.9355 GB, free: 5.09 MB / 0.7012 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * 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 (15): * Single equations (assignments): 15 * 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.0001335/0.5778, allocations: 153.8 kB / 0.9357 GB, free: 4.93 MB / 0.7012 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000129/0.578, allocations: 27.8 kB / 0.9357 GB, free: 4.902 MB / 0.7012 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000327/0.5783, allocations: 134.9 kB / 0.9358 GB, free: 4.762 MB / 0.7012 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.333e-06/0.5783, allocations: 8.031 kB / 0.9358 GB, free: 4.754 MB / 0.7012 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.32e-06/0.5783, allocations: 0 / 0.9358 GB, free: 4.754 MB / 0.7012 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.352e-06/0.5783, allocations: 7.984 kB / 0.9358 GB, free: 4.746 MB / 0.7012 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008417/0.5792, allocations: 0.773 MB / 0.9366 GB, free: 3.898 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.747e-06/0.5792, allocations: 4 kB / 0.9366 GB, free: 3.895 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001219/0.5793, allocations: 19.98 kB / 0.9366 GB, free: 3.875 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.042e-06/0.5793, allocations: 4 kB / 0.9366 GB, free: 3.871 MB / 0.7012 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.46e-05/0.5794, allocations: 4 kB / 0.9366 GB, free: 3.867 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.101e-06/0.5794, allocations: 11.97 kB / 0.9366 GB, free: 3.855 MB / 0.7012 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.274e-06/0.5794, allocations: 4.156 kB / 0.9366 GB, free: 3.852 MB / 0.7012 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005177/0.5799, allocations: 339.5 kB / 0.937 GB, free: 3.488 MB / 0.7012 GB Notification: Performance of postOpt removeConstants (simulation): time 9.901e-05/0.58, allocations: 112.9 kB / 0.9371 GB, free: 3.359 MB / 0.7012 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.612e-05/0.5801, allocations: 8 kB / 0.9371 GB, free: 3.352 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001273/0.5802, allocations: 4 kB / 0.9371 GB, free: 3.348 MB / 0.7012 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.058e-05/0.5802, allocations: 15.92 kB / 0.9371 GB, free: 3.332 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.905e-06/0.5802, allocations: 4 kB / 0.9371 GB, free: 3.328 MB / 0.7012 GB Notification: Performance of sorting global known variables: time 0.0001855/0.5804, allocations: 209.9 kB / 0.9373 GB, free: 3.129 MB / 0.7012 GB Notification: Performance of sort global known variables: time 2.1e-07/0.5804, allocations: 4.062 kB / 0.9373 GB, free: 3.125 MB / 0.7012 GB Notification: Performance of remove unused functions: time 0.0003274/0.5808, allocations: 59.94 kB / 0.9374 GB, free: 3.066 MB / 0.7012 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 1 (senStr.h_out) * 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.0009743/0.5818, allocations: 0.902 MB / 0.9382 GB, free: 2.133 MB / 0.7012 GB Notification: Performance of simCode: created initialization part: time 0.0003449/0.5821, allocations: 127.9 kB / 0.9384 GB, free: 2.008 MB / 0.7012 GB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.5821, allocations: 0 / 0.9384 GB, free: 2.008 MB / 0.7012 GB Notification: Performance of simCode: created simulation system equations: time 0.000141/0.5823, allocations: 59.91 kB / 0.9384 GB, free: 1.949 MB / 0.7012 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007101/0.583, allocations: 119.1 kB / 0.9385 GB, free: 1.832 MB / 0.7012 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003001/0.586, allocations: 2.621 MB / 0.9411 GB, free: 15.05 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003161/0.5863, allocations: 0.7597 MB / 0.9418 GB, free: 14.27 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 0.000153/0.5865, allocations: 54.23 kB / 0.9419 GB, free: 14.21 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.966e-05/0.5866, allocations: 71.41 kB / 0.942 GB, free: 14.14 MB / 0.7169 GB Notification: Performance of SimCode: time 5.41e-07/0.5866, allocations: 0 / 0.942 GB, free: 14.14 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02592/0.6125, allocations: 6.88 MB / 0.9487 GB, free: 7.457 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.732/8.345, allocations: 6.156 kB / 0.9487 GB, free: 7.453 MB / 0.7169 GB (rm -f BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.SpecificEnthalpy.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.SpecificEnthalpy.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.SpecificEnthalpy.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.SpecificEnthalpy.sim & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.SpecificEnthalpy_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_SpecificEnthalpy.fmu > BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.SpecificEnthalpy.pipe 2>&1)