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.005381/0.005381, allocations: 98.77 kB / 15.73 MB, free: 6.066 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.001485/0.001485, allocations: 195.9 kB / 16.68 MB, free: 5.973 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.324/1.324, allocations: 222.9 MB / 240.4 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002346/0.002346, allocations: 297.4 kB / 290.8 MB, free: 14.46 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9479/0.9479, allocations: 169.2 MB / 0.4983 GB, free: 4.434 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002504/0.002504, allocations: 99.84 kB / 0.681 GB, free: 7.465 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3883/0.3909, allocations: 86.97 MB / 0.7659 GB, free: 3.891 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Sensors.Examples.SpecificEnthalpy): time 0.1737/0.5646, allocations: 161.4 MB / 0.9235 GB, free: 1.91 MB / 0.6856 GB Notification: Performance of NFInst.instExpressions: time 0.005354/0.57, allocations: 4.544 MB / 0.9279 GB, free: 13.35 MB / 0.7012 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002879/0.5703, allocations: 7.938 kB / 0.9279 GB, free: 13.34 MB / 0.7012 GB Notification: Performance of NFTyping.typeComponents: time 0.0003988/0.5707, allocations: 131 kB / 0.9281 GB, free: 13.21 MB / 0.7012 GB Notification: Performance of NFTyping.typeBindings: time 0.000727/0.5715, allocations: 330.5 kB / 0.9284 GB, free: 12.89 MB / 0.7012 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007114/0.5722, allocations: 282.8 kB / 0.9286 GB, free: 12.62 MB / 0.7012 GB Notification: Performance of NFFlatten.flatten: time 0.0006205/0.5729, allocations: 0.5534 MB / 0.9292 GB, free: 12.06 MB / 0.7012 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003266/0.5732, allocations: 209.2 kB / 0.9294 GB, free: 11.86 MB / 0.7012 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008859/0.5741, allocations: 454.2 kB / 0.9298 GB, free: 11.41 MB / 0.7012 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002747/0.5744, allocations: 191.3 kB / 0.93 GB, free: 11.22 MB / 0.7012 GB Notification: Performance of NFPackage.collectConstants: time 3.555e-05/0.5744, allocations: 16 kB / 0.93 GB, free: 11.21 MB / 0.7012 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001684/0.5746, allocations: 79.92 kB / 0.9301 GB, free: 11.13 MB / 0.7012 GB Notification: Performance of NFScalarize.scalarize: time 0.000103/0.5747, allocations: 79.78 kB / 0.9302 GB, free: 11.05 MB / 0.7012 GB Notification: Performance of NFVerifyModel.verify: time 0.0001354/0.5749, allocations: 127.3 kB / 0.9303 GB, free: 10.93 MB / 0.7012 GB Notification: Performance of NFConvertDAE.convert: time 0.0004062/0.5753, allocations: 308.2 kB / 0.9306 GB, free: 10.63 MB / 0.7012 GB Notification: Performance of FrontEnd - DAE generated: time 2.855e-06/0.5753, allocations: 0 / 0.9306 GB, free: 10.63 MB / 0.7012 GB Notification: Performance of FrontEnd: time 1.042e-06/0.5753, allocations: 0 / 0.9306 GB, free: 10.63 MB / 0.7012 GB Notification: Performance of Transformations before backend: time 6.082e-06/0.5753, allocations: 0 / 0.9306 GB, free: 10.63 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.000839/0.5762, allocations: 0.5486 MB / 0.9311 GB, free: 10.03 MB / 0.7012 GB Notification: Performance of prepare preOptimizeDAE: time 3.639e-05/0.5762, allocations: 8.031 kB / 0.9311 GB, free: 10.02 MB / 0.7012 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.576e-05/0.5763, allocations: 58.48 kB / 0.9312 GB, free: 9.957 MB / 0.7012 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.93e-05/0.5763, allocations: 31.75 kB / 0.9312 GB, free: 9.926 MB / 0.7012 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003981/0.5767, allocations: 287.6 kB / 0.9315 GB, free: 9.605 MB / 0.7012 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.95e-05/0.5768, allocations: 12 kB / 0.9315 GB, free: 9.594 MB / 0.7012 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.835e-05/0.5768, allocations: 23.98 kB / 0.9315 GB, free: 9.57 MB / 0.7012 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004461/0.5773, allocations: 270.3 kB / 0.9318 GB, free: 9.27 MB / 0.7012 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.261e-05/0.5773, allocations: 3.938 kB / 0.9318 GB, free: 9.266 MB / 0.7012 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.905e-05/0.5773, allocations: 8 kB / 0.9318 GB, free: 9.258 MB / 0.7012 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.988e-06/0.5773, allocations: 4 kB / 0.9318 GB, free: 9.254 MB / 0.7012 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003302/0.5777, allocations: 151.7 kB / 0.9319 GB, free: 9.105 MB / 0.7012 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001318/0.579, allocations: 1.368 MB / 0.9333 GB, free: 7.648 MB / 0.7012 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002977/0.5793, allocations: 187.7 kB / 0.9335 GB, free: 7.41 MB / 0.7012 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001677/0.5795, allocations: 93.11 kB / 0.9335 GB, free: 7.301 MB / 0.7012 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003424/0.5798, allocations: 121 kB / 0.9337 GB, free: 7.164 MB / 0.7012 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.67e-05/0.5799, allocations: 42.5 kB / 0.9337 GB, free: 7.113 MB / 0.7012 GB Notification: Performance of pre-optimization done (n=10): time 1.392e-06/0.5799, allocations: 0 / 0.9337 GB, free: 7.113 MB / 0.7012 GB Notification: Performance of matching and sorting (n=10): time 0.0005969/0.5805, allocations: 209.3 kB / 0.9339 GB, free: 6.902 MB / 0.7012 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001041/0.5806, allocations: 183.9 kB / 0.9341 GB, free: 6.68 MB / 0.7012 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002935/0.5809, allocations: 295.6 kB / 0.9344 GB, free: 6.387 MB / 0.7012 GB Notification: Performance of collectPreVariables (initialization): time 2.718e-05/0.5809, allocations: 29.7 kB / 0.9344 GB, free: 6.352 MB / 0.7012 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001108/0.581, allocations: 148 kB / 0.9345 GB, free: 6.203 MB / 0.7012 GB Notification: Performance of collectInitialBindings (initialization): time 3.397e-05/0.5811, allocations: 39.62 kB / 0.9346 GB, free: 6.164 MB / 0.7012 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.169e-05/0.5811, allocations: 33.7 kB / 0.9346 GB, free: 6.125 MB / 0.7012 GB Notification: Performance of setup shared object (initialization): time 0.0001398/0.5813, allocations: 338.8 kB / 0.9349 GB, free: 5.785 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000127/0.5814, allocations: 47.91 kB / 0.935 GB, free: 5.738 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001939/0.5816, allocations: 122.9 kB / 0.9351 GB, free: 5.594 MB / 0.7012 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002855/0.5819, allocations: 150.7 kB / 0.9352 GB, free: 5.422 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.893e-06/0.5819, allocations: 0 / 0.9352 GB, free: 5.422 MB / 0.7012 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.000374/0.5823, allocations: 197.4 kB / 0.9354 GB, free: 5.223 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 1.377e-05/0.5823, allocations: 4 kB / 0.9354 GB, free: 5.219 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.015e-06/0.5823, allocations: 4 kB / 0.9354 GB, free: 5.215 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.273e-05/0.5824, allocations: 0 / 0.9354 GB, free: 5.215 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001333/0.5825, allocations: 31.92 kB / 0.9355 GB, free: 5.184 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.407e-06/0.5825, allocations: 4 kB / 0.9355 GB, free: 5.18 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001491/0.5827, allocations: 35.77 kB / 0.9355 GB, free: 5.145 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.108e-05/0.5827, allocations: 4 kB / 0.9355 GB, free: 5.141 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.0001432/0.5829, allocations: 161.8 kB / 0.9356 GB, free: 4.973 MB / 0.7012 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001187/0.583, allocations: 27.8 kB / 0.9357 GB, free: 4.945 MB / 0.7012 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003108/0.5833, allocations: 119 kB / 0.9358 GB, free: 4.82 MB / 0.7012 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.44e-06/0.5833, allocations: 4.375 kB / 0.9358 GB, free: 4.816 MB / 0.7012 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.57e-06/0.5833, allocations: 4 kB / 0.9358 GB, free: 4.812 MB / 0.7012 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.747e-06/0.5833, allocations: 0 / 0.9358 GB, free: 4.812 MB / 0.7012 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008455/0.5842, allocations: 0.7847 MB / 0.9366 GB, free: 3.953 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.763e-06/0.5842, allocations: 0 / 0.9366 GB, free: 3.953 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001137/0.5843, allocations: 19.98 kB / 0.9366 GB, free: 3.934 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.977e-06/0.5843, allocations: 8.031 kB / 0.9366 GB, free: 3.926 MB / 0.7012 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.207e-05/0.5843, allocations: 7.938 kB / 0.9366 GB, free: 3.918 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.037e-06/0.5844, allocations: 12.09 kB / 0.9366 GB, free: 3.906 MB / 0.7012 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.433e-06/0.5844, allocations: 0 / 0.9366 GB, free: 3.906 MB / 0.7012 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005162/0.5849, allocations: 339.5 kB / 0.9369 GB, free: 3.543 MB / 0.7012 GB Notification: Performance of postOpt removeConstants (simulation): time 9.625e-05/0.585, allocations: 112.9 kB / 0.937 GB, free: 3.414 MB / 0.7012 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.212e-05/0.585, allocations: 7.984 kB / 0.937 GB, free: 3.406 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001248/0.5852, allocations: 4 kB / 0.9371 GB, free: 3.402 MB / 0.7012 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.139e-05/0.5852, allocations: 19.92 kB / 0.9371 GB, free: 3.383 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.845e-06/0.5852, allocations: 4 kB / 0.9371 GB, free: 3.379 MB / 0.7012 GB Notification: Performance of sorting global known variables: time 0.0002029/0.5854, allocations: 210 kB / 0.9373 GB, free: 3.18 MB / 0.7012 GB Notification: Performance of sort global known variables: time 3.2e-07/0.5854, allocations: 0 / 0.9373 GB, free: 3.18 MB / 0.7012 GB Notification: Performance of remove unused functions: time 0.0003144/0.5858, allocations: 55.95 kB / 0.9373 GB, free: 3.125 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.001026/0.5868, allocations: 0.9015 MB / 0.9382 GB, free: 2.191 MB / 0.7012 GB Notification: Performance of simCode: created initialization part: time 0.0003421/0.5871, allocations: 123.9 kB / 0.9383 GB, free: 2.07 MB / 0.7012 GB Notification: Performance of simCode: created event and clocks part: time 4.168e-06/0.5871, allocations: 4 kB / 0.9383 GB, free: 2.066 MB / 0.7012 GB Notification: Performance of simCode: created simulation system equations: time 0.0001446/0.5873, allocations: 60.08 kB / 0.9384 GB, free: 2.008 MB / 0.7012 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007587/0.5881, allocations: 130.3 kB / 0.9385 GB, free: 1.879 MB / 0.7012 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003143/0.5912, allocations: 2.617 MB / 0.9411 GB, free: 15.11 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003876/0.5916, allocations: 0.7597 MB / 0.9418 GB, free: 14.32 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 0.0001392/0.5918, allocations: 46.27 kB / 0.9419 GB, free: 14.28 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001009/0.5919, allocations: 71.41 kB / 0.9419 GB, free: 14.21 MB / 0.7169 GB Notification: Performance of SimCode: time 3.11e-07/0.5919, allocations: 0 / 0.9419 GB, free: 14.21 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03074/0.6226, allocations: 6.881 MB / 0.9486 GB, free: 7.52 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.691/8.313, allocations: 5.641 kB / 0.9486 GB, free: 7.516 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)