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.001456/0.001456, allocations: 109.8 kB / 16.41 MB, free: 6.492 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.001426/0.001427, allocations: 189.2 kB / 17.34 MB, free: 5.762 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.369/1.369, allocations: 222.9 MB / 241.1 MB, free: 15.19 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7907/0.7907, allocations: 126.7 MB / 417.9 MB, free: 12.29 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001857/0.001857, allocations: 72.88 kB / 0.5736 GB, free: 27.19 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1377/0.1396, allocations: 78.86 MB / 0.6506 GB, free: 3.574 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Sensors.Examples.SpecificEnthalpy): time 0.4941/0.6337, allocations: 161.4 MB / 0.8082 GB, free: 11.46 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.004222/0.638, allocations: 4.535 MB / 0.8126 GB, free: 11.02 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003881/0.6384, allocations: 15.91 kB / 0.8126 GB, free: 11.02 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.0004271/0.6388, allocations: 131 kB / 0.8127 GB, free: 10.96 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.0007849/0.6396, allocations: 323.1 kB / 0.813 GB, free: 10.88 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007121/0.6404, allocations: 277.3 kB / 0.8133 GB, free: 10.86 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.0005292/0.6409, allocations: 0.5576 MB / 0.8138 GB, free: 10.77 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002916/0.6412, allocations: 202.3 kB / 0.814 GB, free: 10.74 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001321/0.6425, allocations: 0.644 MB / 0.8147 GB, free: 10.54 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002482/0.6428, allocations: 200.9 kB / 0.8149 GB, free: 10.46 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 3.179e-05/0.6428, allocations: 18.47 kB / 0.8149 GB, free: 10.46 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001751/0.643, allocations: 83.69 kB / 0.815 GB, free: 10.43 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 9.144e-05/0.6431, allocations: 84.12 kB / 0.815 GB, free: 10.4 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0001123/0.6432, allocations: 115.9 kB / 0.8151 GB, free: 10.36 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.0003748/0.6436, allocations: 300 kB / 0.8154 GB, free: 10.23 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 3.817e-06/0.6436, allocations: 3.562 kB / 0.8154 GB, free: 10.23 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.292e-06/0.6436, allocations: 0 / 0.8154 GB, free: 10.23 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 7.344e-06/0.6437, allocations: 2.469 kB / 0.8154 GB, free: 10.23 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.0008129/0.6445, allocations: 0.5485 MB / 0.816 GB, free: 9.75 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.304e-05/0.6445, allocations: 12.16 kB / 0.816 GB, free: 9.746 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.25e-05/0.6446, allocations: 52.33 kB / 0.816 GB, free: 9.703 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.298e-05/0.6446, allocations: 24.77 kB / 0.8161 GB, free: 9.691 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003879/0.645, allocations: 294 kB / 0.8163 GB, free: 9.434 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.329e-05/0.6451, allocations: 13.66 kB / 0.8163 GB, free: 9.434 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.459e-05/0.6451, allocations: 20.78 kB / 0.8164 GB, free: 9.43 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003996/0.6455, allocations: 264.6 kB / 0.8166 GB, free: 9.27 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.838e-06/0.6455, allocations: 4 kB / 0.8166 GB, free: 9.266 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.711e-05/0.6455, allocations: 6.219 kB / 0.8166 GB, free: 9.266 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.983e-06/0.6456, allocations: 4 kB / 0.8166 GB, free: 9.266 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003105/0.6459, allocations: 150.3 kB / 0.8168 GB, free: 9.23 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001317/0.6472, allocations: 1.363 MB / 0.8181 GB, free: 8.035 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002918/0.6475, allocations: 180.6 kB / 0.8183 GB, free: 7.871 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001718/0.6477, allocations: 94.05 kB / 0.8184 GB, free: 7.809 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003464/0.648, allocations: 127 kB / 0.8185 GB, free: 7.691 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.754e-05/0.6481, allocations: 37.28 kB / 0.8185 GB, free: 7.648 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=10): time 4.949e-06/0.6481, allocations: 0 / 0.8185 GB, free: 7.648 MB / 0.5919 GB Notification: Performance of matching and sorting (n=10): time 0.0005752/0.6487, allocations: 219.2 kB / 0.8187 GB, free: 7.555 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001082/0.6488, allocations: 182.4 kB / 0.8189 GB, free: 7.336 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002611/0.649, allocations: 289.4 kB / 0.8192 GB, free: 7.199 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 2.321e-05/0.6491, allocations: 29.02 kB / 0.8192 GB, free: 7.168 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.000108/0.6492, allocations: 150.8 kB / 0.8194 GB, free: 7.062 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 3.476e-05/0.6492, allocations: 42.8 kB / 0.8194 GB, free: 7.031 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.729e-05/0.6493, allocations: 38.23 kB / 0.8194 GB, free: 7.012 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001591/0.6495, allocations: 335 kB / 0.8198 GB, free: 6.691 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001226/0.6496, allocations: 42.72 kB / 0.8198 GB, free: 6.684 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001887/0.6498, allocations: 126 kB / 0.8199 GB, free: 6.586 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002827/0.6501, allocations: 151.8 kB / 0.8201 GB, free: 6.5 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.094e-06/0.6501, allocations: 0 / 0.8201 GB, free: 6.5 MB / 0.5919 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003559/0.6505, allocations: 193.5 kB / 0.8202 GB, free: 6.418 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.347e-05/0.6505, allocations: 5.031 kB / 0.8202 GB, free: 6.418 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.689e-06/0.6505, allocations: 6.938 kB / 0.8203 GB, free: 6.414 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.431e-05/0.6505, allocations: 1.812 kB / 0.8203 GB, free: 6.414 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001346/0.6506, allocations: 37.83 kB / 0.8203 GB, free: 6.406 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.412e-06/0.6507, allocations: 2.719 kB / 0.8203 GB, free: 6.406 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001501/0.6508, allocations: 25.17 kB / 0.8203 GB, free: 6.391 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.195e-05/0.6508, allocations: 11.34 kB / 0.8203 GB, free: 6.391 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.0001389/0.651, allocations: 149.6 kB / 0.8205 GB, free: 6.266 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001198/0.6511, allocations: 31.98 kB / 0.8205 GB, free: 6.246 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003143/0.6514, allocations: 129.5 kB / 0.8206 GB, free: 6.184 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.358e-06/0.6514, allocations: 2.5 kB / 0.8206 GB, free: 6.184 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.16e-06/0.6515, allocations: 2.562 kB / 0.8206 GB, free: 6.184 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.318e-06/0.6515, allocations: 1.781 kB / 0.8206 GB, free: 6.184 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000863/0.6523, allocations: 0.7814 MB / 0.8214 GB, free: 5.438 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.414e-06/0.6523, allocations: 2.75 kB / 0.8214 GB, free: 5.438 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000117/0.6525, allocations: 21.86 kB / 0.8214 GB, free: 5.434 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.526e-06/0.6525, allocations: 2.5 kB / 0.8214 GB, free: 5.434 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.133e-05/0.6525, allocations: 2.969 kB / 0.8214 GB, free: 5.434 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.014e-06/0.6525, allocations: 0 / 0.8214 GB, free: 5.434 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.079e-06/0.6525, allocations: 6.344 kB / 0.8214 GB, free: 5.43 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005493/0.6531, allocations: 349.1 kB / 0.8218 GB, free: 5.152 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000106/0.6532, allocations: 111 kB / 0.8219 GB, free: 5.035 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.669e-05/0.6532, allocations: 7.797 kB / 0.8219 GB, free: 5.031 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000127/0.6534, allocations: 8.875 kB / 0.8219 GB, free: 5.027 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.719e-05/0.6534, allocations: 12.61 kB / 0.8219 GB, free: 5.02 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.106e-06/0.6534, allocations: 5.75 kB / 0.8219 GB, free: 5.02 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0001972/0.6536, allocations: 209.2 kB / 0.8221 GB, free: 4.879 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.2e-07/0.6536, allocations: 0 / 0.8221 GB, free: 4.879 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0003266/0.654, allocations: 57.47 kB / 0.8222 GB, free: 4.867 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.001088/0.6551, allocations: 0.9092 MB / 0.823 GB, free: 4.055 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0003579/0.6554, allocations: 136 kB / 0.8232 GB, free: 3.988 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/0.6554, allocations: 0 / 0.8232 GB, free: 3.988 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0001476/0.6556, allocations: 59.12 kB / 0.8232 GB, free: 3.965 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007438/0.6563, allocations: 122.1 kB / 0.8233 GB, free: 3.906 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003135/0.6595, allocations: 2.613 MB / 0.8259 GB, free: 1.84 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003838/0.6599, allocations: 0.7618 MB / 0.8266 GB, free: 1.102 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0001408/0.66, allocations: 52.59 kB / 0.8267 GB, free: 1.082 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001075/0.6601, allocations: 68.12 kB / 0.8268 GB, free: 1.027 MB / 0.5919 GB Notification: Performance of SimCode: time 3.91e-07/0.6602, allocations: 0 / 0.8268 GB, free: 1.027 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03327/0.6934, allocations: 6.869 MB / 0.8335 GB, free: 13.59 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.915/8.608, allocations: 5.375 kB / 0.8335 GB, free: 13.59 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)