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.001285/0.001285, 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.00134/0.00134, allocations: 193.2 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.376/1.376, 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.002406/0.002406, allocations: 286.6 kB / 290.7 MB, free: 1.969 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.016/1.016, allocations: 178.6 MB / 0.5073 GB, free: 4.566 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002536/0.002536, allocations: 99.81 kB / 0.6065 GB, free: 24.66 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1576/0.1602, allocations: 89.14 MB / 0.6936 GB, free: 4.223 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Sensors.Examples.SpecificEnthalpy): time 0.4591/0.6193, allocations: 161.4 MB / 0.8512 GB, free: 2.652 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.005506/0.6249, allocations: 4.548 MB / 0.8556 GB, free: 14.97 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003046/0.6252, allocations: 8.969 kB / 0.8556 GB, free: 14.96 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.0004058/0.6256, allocations: 126.7 kB / 0.8557 GB, free: 14.86 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.0007855/0.6265, allocations: 331.9 kB / 0.8561 GB, free: 14.6 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007242/0.6272, allocations: 278.4 kB / 0.8563 GB, free: 14.4 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.0005398/0.6277, allocations: 0.5548 MB / 0.8569 GB, free: 14.09 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003244/0.6281, allocations: 205.8 kB / 0.8571 GB, free: 13.97 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008394/0.6289, allocations: 451.5 kB / 0.8575 GB, free: 13.7 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002489/0.6292, allocations: 191 kB / 0.8577 GB, free: 13.59 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 3.284e-05/0.6292, allocations: 17.56 kB / 0.8577 GB, free: 13.59 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001651/0.6294, allocations: 75.41 kB / 0.8578 GB, free: 13.56 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0001044/0.6295, allocations: 91.47 kB / 0.8578 GB, free: 13.5 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0001199/0.6296, allocations: 117.8 kB / 0.858 GB, free: 13.42 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.0003527/0.63, allocations: 296.1 kB / 0.8582 GB, free: 13.23 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 3.186e-06/0.63, allocations: 0 / 0.8582 GB, free: 13.23 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.332e-06/0.63, allocations: 4 kB / 0.8582 GB, free: 13.23 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 5.671e-06/0.63, allocations: 3.938 kB / 0.8582 GB, free: 13.22 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: 42 * Number of variables: 42 Notification: Performance of Generate backend data structure: time 0.0008125/0.6308, allocations: 0.5293 MB / 0.8588 GB, free: 12.73 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.306e-05/0.6309, allocations: 10.09 kB / 0.8588 GB, free: 12.73 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.313e-05/0.631, allocations: 47.02 kB / 0.8588 GB, free: 12.68 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.991e-05/0.631, allocations: 34.89 kB / 0.8589 GB, free: 12.66 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003638/0.6314, allocations: 269.4 kB / 0.8591 GB, free: 12.39 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.134e-05/0.6314, allocations: 18 kB / 0.8591 GB, free: 12.38 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.465e-05/0.6315, allocations: 24.78 kB / 0.8591 GB, free: 12.37 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004236/0.6319, allocations: 257.2 kB / 0.8594 GB, free: 12.16 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.037e-05/0.6319, allocations: 4 kB / 0.8594 GB, free: 12.16 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.407e-05/0.6319, allocations: 14.06 kB / 0.8594 GB, free: 12.15 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.155e-06/0.632, allocations: 12.64 kB / 0.8594 GB, free: 12.14 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003235/0.6323, allocations: 146 kB / 0.8596 GB, free: 12.07 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001362/0.6337, allocations: 1.373 MB / 0.8609 GB, free: 10.76 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000308/0.634, allocations: 184.3 kB / 0.8611 GB, free: 10.57 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001735/0.6342, allocations: 93.89 kB / 0.8612 GB, free: 10.49 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003441/0.6345, allocations: 116 kB / 0.8613 GB, free: 10.38 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.653e-05/0.6346, allocations: 52 kB / 0.8613 GB, free: 10.33 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=10): time 1.774e-06/0.6346, allocations: 0 / 0.8613 GB, free: 10.33 MB / 0.5919 GB Notification: Performance of matching and sorting (n=10): time 0.0005976/0.6352, allocations: 204.5 kB / 0.8615 GB, free: 10.21 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001026/0.6353, allocations: 193.9 kB / 0.8617 GB, free: 9.984 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002653/0.6356, allocations: 284.1 kB / 0.862 GB, free: 9.801 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 2.331e-05/0.6356, allocations: 32.23 kB / 0.862 GB, free: 9.766 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001087/0.6357, allocations: 144 kB / 0.8621 GB, free: 9.633 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 3.158e-05/0.6357, allocations: 33 kB / 0.8622 GB, free: 9.605 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.556e-05/0.6358, allocations: 38.33 kB / 0.8622 GB, free: 9.574 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001443/0.636, allocations: 333.7 kB / 0.8625 GB, free: 9.246 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001288/0.6361, allocations: 50.55 kB / 0.8626 GB, free: 9.219 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001883/0.6363, allocations: 117.2 kB / 0.8627 GB, free: 9.117 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002867/0.6366, allocations: 150.1 kB / 0.8628 GB, free: 9 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.965e-06/0.6366, allocations: 2.75 kB / 0.8628 GB, free: 9 MB / 0.5919 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003697/0.637, allocations: 194 kB / 0.863 GB, free: 8.887 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.513e-05/0.637, allocations: 9.188 kB / 0.863 GB, free: 8.883 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.59e-06/0.637, allocations: 2.719 kB / 0.863 GB, free: 8.883 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.511e-05/0.637, allocations: 4.5 kB / 0.863 GB, free: 8.883 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000136/0.6372, allocations: 30.92 kB / 0.8631 GB, free: 8.875 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.456e-06/0.6372, allocations: 6.297 kB / 0.8631 GB, free: 8.871 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001556/0.6373, allocations: 32.75 kB / 0.8631 GB, free: 8.852 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.415e-05/0.6374, allocations: 8.391 kB / 0.8631 GB, free: 8.848 MB / 0.5919 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.0001303/0.6375, allocations: 144.4 kB / 0.8633 GB, free: 8.715 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001255/0.6377, allocations: 32.38 kB / 0.8633 GB, free: 8.695 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003333/0.638, allocations: 130.4 kB / 0.8634 GB, free: 8.605 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.077e-06/0.638, allocations: 10.61 kB / 0.8634 GB, free: 8.598 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.203e-06/0.638, allocations: 6.703 kB / 0.8634 GB, free: 8.594 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.467e-06/0.638, allocations: 0 / 0.8634 GB, free: 8.594 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008465/0.6389, allocations: 0.7646 MB / 0.8642 GB, free: 7.84 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.599e-06/0.6389, allocations: 6.656 kB / 0.8642 GB, free: 7.836 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001174/0.639, allocations: 33.73 kB / 0.8642 GB, free: 7.82 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.397e-06/0.639, allocations: 2.719 kB / 0.8642 GB, free: 7.82 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.344e-05/0.6391, allocations: 6.078 kB / 0.8642 GB, free: 7.816 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.495e-06/0.6391, allocations: 2.75 kB / 0.8642 GB, free: 7.816 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.814e-06/0.6391, allocations: 1.969 kB / 0.8642 GB, free: 7.816 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005135/0.6396, allocations: 340 kB / 0.8645 GB, free: 7.547 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 9.953e-05/0.6397, allocations: 113.2 kB / 0.8647 GB, free: 7.43 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.403e-05/0.6397, allocations: 2.781 kB / 0.8647 GB, free: 7.43 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001281/0.6399, allocations: 8.578 kB / 0.8647 GB, free: 7.426 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.469e-05/0.6399, allocations: 17.5 kB / 0.8647 GB, free: 7.414 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.742e-06/0.6399, allocations: 2.312 kB / 0.8647 GB, free: 7.414 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0001849/0.6401, allocations: 214.1 kB / 0.8649 GB, free: 7.273 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.5e-07/0.6401, allocations: 0 / 0.8649 GB, free: 7.273 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0003223/0.6405, allocations: 52.56 kB / 0.8649 GB, free: 7.266 MB / 0.5919 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.000997/0.6415, allocations: 0.9205 MB / 0.8658 GB, free: 6.441 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0003387/0.6418, allocations: 123.8 kB / 0.866 GB, free: 6.391 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 2.004e-06/0.6418, allocations: 0 / 0.866 GB, free: 6.391 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0001397/0.642, allocations: 60.75 kB / 0.866 GB, free: 6.363 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007232/0.6427, allocations: 134.4 kB / 0.8661 GB, free: 6.293 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003004/0.6457, allocations: 2.62 MB / 0.8687 GB, free: 4.234 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003603/0.6461, allocations: 0.7585 MB / 0.8694 GB, free: 3.5 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.000147/0.6462, allocations: 56.23 kB / 0.8695 GB, free: 3.477 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.79e-05/0.6463, allocations: 68.39 kB / 0.8696 GB, free: 3.422 MB / 0.5919 GB Notification: Performance of SimCode: time 2.3e-07/0.6463, allocations: 0 / 0.8696 GB, free: 3.422 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02988/0.6762, allocations: 6.81 MB / 0.8762 GB, free: 15.95 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.554/8.231, allocations: 26.48 kB / 0.8762 GB, free: 15.93 MB / 0.6075 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)