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.001033/0.001033, allocations: 102.6 kB / 15.98 MB, free: 6.332 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.001057/0.001057, allocations: 198.9 kB / 16.91 MB, free: 6.18 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.252/1.252, allocations: 222.9 MB / 240.6 MB, free: 15.43 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6941/0.6941, allocations: 115.3 MB / 406.1 MB, free: 6.352 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001263/0.001263, allocations: 63.91 kB / 493.2 MB, free: 0.6055 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3041/0.3054, allocations: 76.16 MB / 0.556 GB, free: 36.39 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Sensors.Examples.SpecificEnthalpy): time 0.1479/0.4533, allocations: 159.1 MB / 0.7114 GB, free: 4.984 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.004925/0.4583, allocations: 4.514 MB / 0.7158 GB, free: 468 kB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003112/0.4586, allocations: 7.938 kB / 0.7158 GB, free: 460 kB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0004106/0.459, allocations: 111.3 kB / 0.7159 GB, free: 348 kB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.00083/0.4599, allocations: 310.7 kB / 0.7162 GB, free: 36 kB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007517/0.4607, allocations: 254.7 kB / 0.7165 GB, free: 15.79 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0006206/0.4613, allocations: 0.5649 MB / 0.717 GB, free: 15.22 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00033/0.4616, allocations: 193.1 kB / 0.7172 GB, free: 15.04 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000874/0.4625, allocations: 450.4 kB / 0.7176 GB, free: 14.59 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002597/0.4628, allocations: 207.2 kB / 0.7178 GB, free: 14.39 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 3.526e-05/0.4628, allocations: 16 kB / 0.7179 GB, free: 14.38 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001566/0.463, allocations: 79.88 kB / 0.7179 GB, free: 14.3 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 9.207e-05/0.4631, allocations: 83.78 kB / 0.718 GB, free: 14.21 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0001133/0.4632, allocations: 115.4 kB / 0.7181 GB, free: 14.1 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0003211/0.4636, allocations: 299.1 kB / 0.7184 GB, free: 13.81 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.126e-06/0.4636, allocations: 0 / 0.7184 GB, free: 13.81 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.122e-06/0.4636, allocations: 0 / 0.7184 GB, free: 13.81 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 6.021e-06/0.4636, allocations: 0 / 0.7184 GB, free: 13.81 MB / 0.5606 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.0007373/0.4643, allocations: 0.5294 MB / 0.7189 GB, free: 13.23 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.544e-05/0.4644, allocations: 8.031 kB / 0.7189 GB, free: 13.22 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.02e-05/0.4644, allocations: 58.48 kB / 0.719 GB, free: 13.16 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.757e-05/0.4645, allocations: 27.66 kB / 0.719 GB, free: 13.13 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003098/0.4648, allocations: 275.4 kB / 0.7193 GB, free: 12.82 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.571e-05/0.4648, allocations: 12 kB / 0.7193 GB, free: 12.81 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.527e-05/0.4649, allocations: 16 kB / 0.7193 GB, free: 12.79 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003946/0.4653, allocations: 273.6 kB / 0.7196 GB, free: 12.49 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.14e-05/0.4653, allocations: 7.875 kB / 0.7196 GB, free: 12.48 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.473e-05/0.4653, allocations: 8 kB / 0.7196 GB, free: 12.47 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.863e-06/0.4653, allocations: 4 kB / 0.7196 GB, free: 12.47 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003229/0.4657, allocations: 151.7 kB / 0.7197 GB, free: 12.32 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001144/0.4668, allocations: 1.371 MB / 0.7211 GB, free: 10.86 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002582/0.4671, allocations: 179.7 kB / 0.7212 GB, free: 10.62 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000149/0.4673, allocations: 89.11 kB / 0.7213 GB, free: 10.52 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003376/0.4676, allocations: 121 kB / 0.7214 GB, free: 10.38 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.403e-05/0.4676, allocations: 50.34 kB / 0.7215 GB, free: 10.32 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=10): time 1.293e-06/0.4676, allocations: 0 / 0.7215 GB, free: 10.32 MB / 0.5606 GB Notification: Performance of matching and sorting (n=10): time 0.0005596/0.4682, allocations: 209.8 kB / 0.7217 GB, free: 10.11 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.29e-05/0.4683, allocations: 183.9 kB / 0.7219 GB, free: 9.891 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002528/0.4685, allocations: 287 kB / 0.7221 GB, free: 9.609 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 1.921e-05/0.4686, allocations: 29.7 kB / 0.7222 GB, free: 9.574 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 9.201e-05/0.4687, allocations: 143.9 kB / 0.7223 GB, free: 9.43 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 3.108e-05/0.4687, allocations: 43.52 kB / 0.7223 GB, free: 9.387 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.729e-05/0.4688, allocations: 33.7 kB / 0.7224 GB, free: 9.348 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 9.68e-05/0.4689, allocations: 346.8 kB / 0.7227 GB, free: 9 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001191/0.469, allocations: 39.97 kB / 0.7227 GB, free: 8.961 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001699/0.4692, allocations: 118 kB / 0.7229 GB, free: 8.82 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002712/0.4695, allocations: 166.7 kB / 0.723 GB, free: 8.633 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.024e-06/0.4695, allocations: 0 / 0.723 GB, free: 8.633 MB / 0.5606 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003474/0.4698, allocations: 185.2 kB / 0.7232 GB, free: 8.445 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.55e-05/0.4698, allocations: 17.48 kB / 0.7232 GB, free: 8.43 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.04e-06/0.4699, allocations: 0 / 0.7232 GB, free: 8.43 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.294e-05/0.4699, allocations: 4 kB / 0.7232 GB, free: 8.426 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000133/0.47, allocations: 36.14 kB / 0.7233 GB, free: 8.391 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.046e-06/0.47, allocations: 7.984 kB / 0.7233 GB, free: 8.383 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001632/0.4702, allocations: 27.73 kB / 0.7233 GB, free: 8.355 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.408e-05/0.4702, allocations: 8 kB / 0.7233 GB, free: 8.348 MB / 0.5606 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.000112/0.4703, allocations: 146.4 kB / 0.7234 GB, free: 8.195 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001165/0.4705, allocations: 31.66 kB / 0.7235 GB, free: 8.164 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003019/0.4708, allocations: 131.3 kB / 0.7236 GB, free: 8.027 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.02e-06/0.4708, allocations: 4 kB / 0.7236 GB, free: 8.023 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.557e-06/0.4708, allocations: 0 / 0.7236 GB, free: 8.023 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.466e-06/0.4708, allocations: 4 kB / 0.7236 GB, free: 8.02 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007314/0.4715, allocations: 0.7768 MB / 0.7244 GB, free: 7.168 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.834e-06/0.4715, allocations: 0 / 0.7244 GB, free: 7.168 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001178/0.4717, allocations: 19.98 kB / 0.7244 GB, free: 7.148 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.759e-06/0.4717, allocations: 4 kB / 0.7244 GB, free: 7.145 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.082e-05/0.4717, allocations: 0 / 0.7244 GB, free: 7.145 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.026e-06/0.4717, allocations: 7.938 kB / 0.7244 GB, free: 7.137 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.462e-06/0.4717, allocations: 3.938 kB / 0.7244 GB, free: 7.133 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004697/0.4722, allocations: 343.6 kB / 0.7247 GB, free: 6.766 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 8.122e-05/0.4723, allocations: 108.8 kB / 0.7248 GB, free: 6.641 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.467e-05/0.4723, allocations: 12.05 kB / 0.7248 GB, free: 6.629 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001355/0.4725, allocations: 12 kB / 0.7248 GB, free: 6.617 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.65e-05/0.4725, allocations: 11.92 kB / 0.7249 GB, free: 6.605 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.244e-06/0.4725, allocations: 4 kB / 0.7249 GB, free: 6.602 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0001735/0.4727, allocations: 209.9 kB / 0.7251 GB, free: 6.395 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.01e-07/0.4727, allocations: 0 / 0.7251 GB, free: 6.395 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0003203/0.473, allocations: 55.94 kB / 0.7251 GB, free: 6.34 MB / 0.5606 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.0008628/0.4739, allocations: 0.9144 MB / 0.726 GB, free: 5.395 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0003206/0.4742, allocations: 128.2 kB / 0.7261 GB, free: 5.27 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 3.546e-06/0.4742, allocations: 8.062 kB / 0.7261 GB, free: 5.262 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0001334/0.4744, allocations: 55.91 kB / 0.7262 GB, free: 5.207 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007117/0.4751, allocations: 133.3 kB / 0.7263 GB, free: 5.086 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002797/0.4779, allocations: 2.653 MB / 0.7289 GB, free: 2.289 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002574/0.4782, allocations: 0.7558 MB / 0.7296 GB, free: 1.504 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0001541/0.4783, allocations: 50.27 kB / 0.7297 GB, free: 1.457 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.165e-05/0.4784, allocations: 71.41 kB / 0.7298 GB, free: 1.387 MB / 0.5606 GB Notification: Performance of SimCode: time 2.3e-07/0.4784, allocations: 0 / 0.7298 GB, free: 1.387 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02915/0.5076, allocations: 6.654 MB / 0.7363 GB, free: 10.93 MB / 0.5762 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002429/0.5079, allocations: 232.8 kB / 0.7365 GB, free: 10.68 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.754/2.261, allocations: 0 / 0.7365 GB, free: 10.68 MB / 0.5762 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Fluid_Sensors_Examples_SpecificEnthalpy_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Fluid_Sensors_Examples_SpecificEnthalpy.fmu > IBPSA_latest_IBPSA.Fluid.Sensors.Examples.SpecificEnthalpy.pipe 2>&1)