Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.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/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.SpecificEnthalpy,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Sensors_Examples_SpecificEnthalpy",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.Sensors.Examples.SpecificEnthalpy,fileNamePrefix="IBPSA_latest_IBPSA_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.001665/0.001665, allocations: 104.6 kB / 16.4 MB, free: 6.457 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.001837/0.001837, allocations: 193.2 kB / 17.34 MB, free: 5.715 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.292/1.292, allocations: 222.9 MB / 241 MB, free: 15.08 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7427/0.7427, allocations: 122.9 MB / 414.1 MB, free: 15.79 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001225/0.001225, allocations: 67.73 kB / 0.568 GB, free: 29 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1442/0.1454, allocations: 77.94 MB / 0.6441 GB, free: 9.539 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Sensors.Examples.SpecificEnthalpy): time 0.51/0.6554, allocations: 161.3 MB / 0.8016 GB, free: 12.55 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.004852/0.6603, allocations: 4.543 MB / 0.8061 GB, free: 12.11 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004745/0.6609, allocations: 10.31 kB / 0.8061 GB, free: 12.11 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.0004595/0.6613, allocations: 126.4 kB / 0.8062 GB, free: 12.05 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.0008131/0.6622, allocations: 349.8 kB / 0.8065 GB, free: 11.96 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007814/0.663, allocations: 279 kB / 0.8068 GB, free: 11.94 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.000653/0.6636, allocations: 0.5612 MB / 0.8073 GB, free: 11.85 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003259/0.664, allocations: 201.7 kB / 0.8075 GB, free: 11.82 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009792/0.665, allocations: 475.5 kB / 0.808 GB, free: 11.73 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002477/0.6652, allocations: 190.3 kB / 0.8082 GB, free: 11.7 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 3.229e-05/0.6653, allocations: 15.25 kB / 0.8082 GB, free: 11.7 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001744/0.6655, allocations: 81.78 kB / 0.8083 GB, free: 11.7 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 9.742e-05/0.6656, allocations: 85.73 kB / 0.8083 GB, free: 11.68 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0001236/0.6657, allocations: 125.6 kB / 0.8085 GB, free: 11.64 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.000387/0.6661, allocations: 295.3 kB / 0.8087 GB, free: 11.59 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 4.278e-06/0.6661, allocations: 0 / 0.8087 GB, free: 11.59 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.613e-06/0.6661, allocations: 6.625 kB / 0.8088 GB, free: 11.59 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 6.412e-06/0.6661, allocations: 0 / 0.8088 GB, free: 11.59 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.0008313/0.667, allocations: 0.5354 MB / 0.8093 GB, free: 11.15 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.832e-05/0.667, allocations: 11.28 kB / 0.8093 GB, free: 11.15 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.084e-05/0.6671, allocations: 51.2 kB / 0.8093 GB, free: 11.11 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6e-05/0.6671, allocations: 32.56 kB / 0.8094 GB, free: 11.09 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003793/0.6675, allocations: 303.6 kB / 0.8097 GB, free: 10.85 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.64e-05/0.6675, allocations: 13.66 kB / 0.8097 GB, free: 10.85 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.499e-05/0.6676, allocations: 19.47 kB / 0.8097 GB, free: 10.85 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003949/0.668, allocations: 258.7 kB / 0.8099 GB, free: 10.73 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.236e-05/0.668, allocations: 3.688 kB / 0.8099 GB, free: 10.73 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.128e-05/0.668, allocations: 13.25 kB / 0.81 GB, free: 10.73 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.444e-06/0.668, allocations: 4.406 kB / 0.81 GB, free: 10.73 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002977/0.6683, allocations: 155.6 kB / 0.8101 GB, free: 10.71 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001237/0.6696, allocations: 1.365 MB / 0.8114 GB, free: 9.613 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002821/0.6699, allocations: 181.5 kB / 0.8116 GB, free: 9.461 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001527/0.67, allocations: 93.11 kB / 0.8117 GB, free: 9.41 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000341/0.6704, allocations: 119.4 kB / 0.8118 GB, free: 9.316 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.004e-05/0.6704, allocations: 47.73 kB / 0.8119 GB, free: 9.266 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=10): time 1.422e-06/0.6704, allocations: 0 / 0.8119 GB, free: 9.266 MB / 0.5919 GB Notification: Performance of matching and sorting (n=10): time 0.0005786/0.671, allocations: 209.4 kB / 0.8121 GB, free: 9.199 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.848e-05/0.6711, allocations: 191 kB / 0.8122 GB, free: 8.973 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002364/0.6714, allocations: 288 kB / 0.8125 GB, free: 8.836 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 1.893e-05/0.6714, allocations: 29.02 kB / 0.8125 GB, free: 8.805 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 9.198e-05/0.6715, allocations: 151.7 kB / 0.8127 GB, free: 8.699 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 2.941e-05/0.6715, allocations: 38.31 kB / 0.8127 GB, free: 8.672 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.009e-05/0.6716, allocations: 36.55 kB / 0.8128 GB, free: 8.652 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001029/0.6717, allocations: 335.1 kB / 0.8131 GB, free: 8.332 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001184/0.6718, allocations: 46.06 kB / 0.8131 GB, free: 8.32 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001677/0.672, allocations: 117.1 kB / 0.8132 GB, free: 8.23 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002622/0.6723, allocations: 151.5 kB / 0.8134 GB, free: 8.145 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.305e-06/0.6723, allocations: 0 / 0.8134 GB, free: 8.145 MB / 0.5919 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003364/0.6726, allocations: 194.4 kB / 0.8136 GB, free: 8.062 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.652e-05/0.6726, allocations: 9.406 kB / 0.8136 GB, free: 8.059 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.912e-06/0.6727, allocations: 2.562 kB / 0.8136 GB, free: 8.059 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.415e-05/0.6727, allocations: 2.562 kB / 0.8136 GB, free: 8.059 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001344/0.6728, allocations: 34.89 kB / 0.8136 GB, free: 8.051 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.152e-06/0.6728, allocations: 2.781 kB / 0.8136 GB, free: 8.051 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001646/0.673, allocations: 34.27 kB / 0.8136 GB, free: 8.027 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.241e-05/0.673, allocations: 11.75 kB / 0.8137 GB, free: 8.027 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.0001191/0.6731, allocations: 146.6 kB / 0.8138 GB, free: 7.902 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000122/0.6733, allocations: 29.39 kB / 0.8138 GB, free: 7.887 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002986/0.6736, allocations: 135.2 kB / 0.814 GB, free: 7.816 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.008e-06/0.6736, allocations: 2.219 kB / 0.814 GB, free: 7.816 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.25e-06/0.6736, allocations: 7.312 kB / 0.814 GB, free: 7.812 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.296e-06/0.6736, allocations: 0 / 0.814 GB, free: 7.812 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007541/0.6744, allocations: 0.7735 MB / 0.8147 GB, free: 7.105 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.655e-06/0.6744, allocations: 2.625 kB / 0.8147 GB, free: 7.105 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001185/0.6745, allocations: 26.64 kB / 0.8147 GB, free: 7.098 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.795e-06/0.6745, allocations: 0 / 0.8147 GB, free: 7.098 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.084e-05/0.6745, allocations: 2.781 kB / 0.8148 GB, free: 7.098 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.825e-06/0.6745, allocations: 2.094 kB / 0.8148 GB, free: 7.098 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.16e-06/0.6746, allocations: 6.312 kB / 0.8148 GB, free: 7.094 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004705/0.675, allocations: 341.9 kB / 0.8151 GB, free: 6.871 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 9.508e-05/0.6751, allocations: 110.6 kB / 0.8152 GB, free: 6.758 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.575e-05/0.6752, allocations: 10.08 kB / 0.8152 GB, free: 6.754 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001258/0.6753, allocations: 5.188 kB / 0.8152 GB, free: 6.754 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.021e-05/0.6754, allocations: 24.14 kB / 0.8152 GB, free: 6.738 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.833e-06/0.6754, allocations: 2.812 kB / 0.8152 GB, free: 6.738 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0001658/0.6755, allocations: 207.9 kB / 0.8154 GB, free: 6.633 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.2e-07/0.6755, allocations: 0 / 0.8154 GB, free: 6.633 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.000329/0.6759, allocations: 57.38 kB / 0.8155 GB, free: 6.629 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.0009089/0.6768, allocations: 0.9181 MB / 0.8164 GB, free: 5.855 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0003385/0.6771, allocations: 123.3 kB / 0.8165 GB, free: 5.824 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 2.625e-06/0.6772, allocations: 0 / 0.8165 GB, free: 5.824 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0001393/0.6773, allocations: 55.59 kB / 0.8166 GB, free: 5.812 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007109/0.678, allocations: 137 kB / 0.8167 GB, free: 5.758 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002769/0.6808, allocations: 2.616 MB / 0.8192 GB, free: 3.973 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002892/0.6811, allocations: 0.7533 MB / 0.82 GB, free: 3.246 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0001478/0.6813, allocations: 48.27 kB / 0.82 GB, free: 3.23 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.484e-05/0.6814, allocations: 72.72 kB / 0.8201 GB, free: 3.215 MB / 0.5919 GB Notification: Performance of SimCode: time 4.71e-07/0.6814, allocations: 0 / 0.8201 GB, free: 3.215 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02401/0.7054, allocations: 6.856 MB / 0.8268 GB, free: 15.79 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.531/8.236, allocations: 10.67 kB / 0.8268 GB, free: 15.79 MB / 0.6075 GB (rm -f IBPSA_latest_IBPSA.Fluid.Sensors.Examples.SpecificEnthalpy.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Sensors.Examples.SpecificEnthalpy.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Sensors.Examples.SpecificEnthalpy.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Sensors.Examples.SpecificEnthalpy.sim & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.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 IBPSA_latest_IBPSA_Fluid_Sensors_Examples_SpecificEnthalpy.fmu > IBPSA_latest_IBPSA.Fluid.Sensors.Examples.SpecificEnthalpy.pipe 2>&1)