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.001555/0.001556, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001792/0.001793, allocations: 192.5 kB / 16.53 MB, free: 6.391 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.356/1.356, allocations: 222.9 MB / 240.2 MB, free: 4.375 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002121/0.002121, allocations: 286.4 kB / 290.7 MB, free: 1.973 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9696/0.9696, allocations: 169.3 MB / 0.4982 GB, free: 13.86 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001687/0.001687, allocations: 98.56 kB / 0.5953 GB, free: 27.78 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1511/0.1528, allocations: 86.98 MB / 0.6803 GB, free: 0.5664 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Sensors.Examples.SpecificEnthalpy): time 0.4708/0.6236, allocations: 161.3 MB / 0.8378 GB, free: 268 kB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.004464/0.6281, allocations: 4.549 MB / 0.8423 GB, free: 15.81 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004907/0.6287, allocations: 14.34 kB / 0.8423 GB, free: 15.8 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0004572/0.6291, allocations: 128.6 kB / 0.8424 GB, free: 15.74 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.0007835/0.63, allocations: 329.9 kB / 0.8427 GB, free: 15.66 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007115/0.6307, allocations: 274.9 kB / 0.843 GB, free: 15.64 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0005418/0.6313, allocations: 0.5526 MB / 0.8435 GB, free: 15.56 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003378/0.6316, allocations: 206.6 kB / 0.8437 GB, free: 15.53 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001013/0.6326, allocations: 455.9 kB / 0.8442 GB, free: 15.44 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002572/0.6329, allocations: 191.4 kB / 0.8444 GB, free: 15.41 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 3.573e-05/0.6329, allocations: 16.5 kB / 0.8444 GB, free: 15.41 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001772/0.6331, allocations: 76.27 kB / 0.8444 GB, free: 15.4 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 9.764e-05/0.6332, allocations: 90.02 kB / 0.8445 GB, free: 15.39 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0001101/0.6333, allocations: 124.9 kB / 0.8447 GB, free: 15.35 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0003236/0.6337, allocations: 301.6 kB / 0.8449 GB, free: 15.27 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.488e-06/0.6337, allocations: 5.375 kB / 0.8449 GB, free: 15.26 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.403e-06/0.6337, allocations: 0 / 0.8449 GB, free: 15.26 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 5.961e-06/0.6337, allocations: 0 / 0.8449 GB, free: 15.26 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: 42 * Number of variables: 42 Notification: Performance of Generate backend data structure: time 0.0007628/0.6345, allocations: 0.5276 MB / 0.8455 GB, free: 14.78 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.578e-05/0.6345, allocations: 9.625 kB / 0.8455 GB, free: 14.78 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.492e-05/0.6346, allocations: 52.05 kB / 0.8455 GB, free: 14.72 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.607e-05/0.6346, allocations: 29.41 kB / 0.8455 GB, free: 14.71 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003418/0.635, allocations: 280.3 kB / 0.8458 GB, free: 14.44 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.863e-05/0.635, allocations: 20.25 kB / 0.8458 GB, free: 14.43 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.974e-05/0.6351, allocations: 16.38 kB / 0.8458 GB, free: 14.42 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000403/0.6355, allocations: 261.7 kB / 0.8461 GB, free: 14.21 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.067e-06/0.6355, allocations: 1.156 kB / 0.8461 GB, free: 14.21 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.306e-05/0.6355, allocations: 14.81 kB / 0.8461 GB, free: 14.2 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.705e-06/0.6355, allocations: 5.594 kB / 0.8461 GB, free: 14.2 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003206/0.6359, allocations: 144.1 kB / 0.8463 GB, free: 14.13 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001174/0.637, allocations: 1.374 MB / 0.8476 GB, free: 12.82 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000276/0.6373, allocations: 185.2 kB / 0.8478 GB, free: 12.63 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001626/0.6375, allocations: 95.39 kB / 0.8479 GB, free: 12.55 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003281/0.6378, allocations: 115.4 kB / 0.848 GB, free: 12.45 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.492e-05/0.6379, allocations: 54.14 kB / 0.848 GB, free: 12.39 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=10): time 1.312e-06/0.6379, allocations: 0 / 0.848 GB, free: 12.39 MB / 0.5762 GB Notification: Performance of matching and sorting (n=10): time 0.0005854/0.6385, allocations: 198.6 kB / 0.8482 GB, free: 12.28 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.509e-05/0.6386, allocations: 194.4 kB / 0.8484 GB, free: 12.05 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002849/0.6389, allocations: 288.6 kB / 0.8487 GB, free: 11.86 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 2.052e-05/0.6389, allocations: 31.14 kB / 0.8487 GB, free: 11.83 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 9.739e-05/0.639, allocations: 144.5 kB / 0.8488 GB, free: 11.7 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 3.439e-05/0.639, allocations: 36.17 kB / 0.8489 GB, free: 11.66 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.462e-05/0.6391, allocations: 35.75 kB / 0.8489 GB, free: 11.64 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001229/0.6392, allocations: 332 kB / 0.8492 GB, free: 11.31 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001275/0.6394, allocations: 52.52 kB / 0.8493 GB, free: 11.28 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001855/0.6396, allocations: 118.5 kB / 0.8494 GB, free: 11.18 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002791/0.6399, allocations: 156.6 kB / 0.8495 GB, free: 11.06 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.114e-06/0.6399, allocations: 4 kB / 0.8495 GB, free: 11.05 MB / 0.5762 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003489/0.6402, allocations: 187.8 kB / 0.8497 GB, free: 10.95 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.695e-05/0.6403, allocations: 9.906 kB / 0.8497 GB, free: 10.95 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.142e-06/0.6403, allocations: 2.469 kB / 0.8497 GB, free: 10.95 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.539e-05/0.6403, allocations: 2.438 kB / 0.8497 GB, free: 10.95 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001507/0.6404, allocations: 35.59 kB / 0.8498 GB, free: 10.93 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.274e-06/0.6405, allocations: 6.844 kB / 0.8498 GB, free: 10.93 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001556/0.6406, allocations: 25.89 kB / 0.8498 GB, free: 10.91 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.123e-05/0.6406, allocations: 8.938 kB / 0.8498 GB, free: 10.91 MB / 0.5762 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.0001162/0.6408, allocations: 143.2 kB / 0.8499 GB, free: 10.78 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001213/0.6409, allocations: 32.91 kB / 0.85 GB, free: 10.76 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003149/0.6412, allocations: 137.7 kB / 0.8501 GB, free: 10.66 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.478e-06/0.6412, allocations: 2.719 kB / 0.8501 GB, free: 10.66 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.245e-06/0.6412, allocations: 2.562 kB / 0.8501 GB, free: 10.66 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.199e-06/0.6413, allocations: 4.625 kB / 0.8501 GB, free: 10.66 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007535/0.642, allocations: 0.7713 MB / 0.8509 GB, free: 9.898 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.777e-06/0.642, allocations: 6.641 kB / 0.8509 GB, free: 9.895 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000116/0.6421, allocations: 19.77 kB / 0.8509 GB, free: 9.891 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.266e-06/0.6422, allocations: 3 kB / 0.8509 GB, free: 9.891 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.488e-05/0.6422, allocations: 7.406 kB / 0.8509 GB, free: 9.887 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.725e-06/0.6422, allocations: 2.469 kB / 0.8509 GB, free: 9.887 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.034e-06/0.6422, allocations: 2.266 kB / 0.8509 GB, free: 9.887 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004647/0.6427, allocations: 348.3 kB / 0.8512 GB, free: 9.609 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 8.137e-05/0.6428, allocations: 111.3 kB / 0.8514 GB, free: 9.492 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.337e-05/0.6428, allocations: 3.031 kB / 0.8514 GB, free: 9.492 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000126/0.6429, allocations: 12.67 kB / 0.8514 GB, free: 9.484 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.343e-05/0.643, allocations: 19.42 kB / 0.8514 GB, free: 9.473 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.802e-06/0.643, allocations: 3.5 kB / 0.8514 GB, free: 9.473 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0001647/0.6432, allocations: 209 kB / 0.8516 GB, free: 9.332 MB / 0.5762 GB Notification: Performance of sort global known variables: time 2.51e-07/0.6432, allocations: 0 / 0.8516 GB, free: 9.332 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.000321/0.6435, allocations: 52.81 kB / 0.8516 GB, free: 9.324 MB / 0.5762 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.000882/0.6444, allocations: 0.9039 MB / 0.8525 GB, free: 8.516 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0003262/0.6447, allocations: 120.2 kB / 0.8526 GB, free: 8.465 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.455e-06/0.6447, allocations: 0 / 0.8526 GB, free: 8.465 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0001383/0.6449, allocations: 66.58 kB / 0.8527 GB, free: 8.434 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007341/0.6456, allocations: 134.8 kB / 0.8528 GB, free: 8.367 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002766/0.6484, allocations: 2.624 MB / 0.8554 GB, free: 6.305 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002673/0.6487, allocations: 0.7581 MB / 0.8561 GB, free: 5.57 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0001537/0.6488, allocations: 57.12 kB / 0.8562 GB, free: 5.547 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.081e-05/0.6489, allocations: 67.16 kB / 0.8562 GB, free: 5.492 MB / 0.5762 GB Notification: Performance of SimCode: time 3.11e-07/0.6489, allocations: 2.312 kB / 0.8563 GB, free: 5.492 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02521/0.6742, allocations: 6.802 MB / 0.8629 GB, free: 2.141 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.476/8.15, allocations: 4.078 kB / 0.8629 GB, free: 2.141 MB / 0.5762 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)