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.0008004/0.0008004, allocations: 97.88 kB / 16.02 MB, free: 80 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.0008778/0.0008778, allocations: 178.6 kB / 16.92 MB, free: 6.891 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.317/1.317, allocations: 223.3 MB / 241 MB, free: 5.344 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6968/0.6968, allocations: 115.5 MB / 407.6 MB, free: 2.684 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000293/0.000293, allocations: 9.719 kB / 496 MB, free: 6.262 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1265/0.1268, allocations: 77.53 MB / 0.56 GB, free: 8.934 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Sensors.Examples.SpecificEnthalpy): time 0.4243/0.5511, allocations: 157 MB / 0.7134 GB, free: 9.727 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.005479/0.5566, allocations: 4.487 MB / 0.7178 GB, free: 5.227 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004186/0.5571, allocations: 11.94 kB / 0.7178 GB, free: 5.215 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.0004812/0.5576, allocations: 95.34 kB / 0.7179 GB, free: 5.121 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.0009991/0.5586, allocations: 310.7 kB / 0.7182 GB, free: 4.816 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007594/0.5594, allocations: 251.8 kB / 0.7184 GB, free: 4.574 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0008668/0.5602, allocations: 0.7951 MB / 0.7192 GB, free: 3.777 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003512/0.5606, allocations: 169.6 kB / 0.7194 GB, free: 3.613 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001034/0.5617, allocations: 414.4 kB / 0.7198 GB, free: 3.207 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003761/0.562, allocations: 199.2 kB / 0.7199 GB, free: 3.012 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 3.89e-05/0.5621, allocations: 15.94 kB / 0.72 GB, free: 2.996 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002086/0.5623, allocations: 67.95 kB / 0.72 GB, free: 2.93 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.0001185/0.5624, allocations: 79.77 kB / 0.7201 GB, free: 2.852 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.0001525/0.5626, allocations: 137.1 kB / 0.7202 GB, free: 2.711 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.000349/0.563, allocations: 279 kB / 0.7205 GB, free: 2.438 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 3.807e-06/0.563, allocations: 0 / 0.7205 GB, free: 2.438 MB / 0.5294 GB Notification: Performance of FrontEnd: time 2.044e-06/0.563, allocations: 0 / 0.7205 GB, free: 2.438 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 6.903e-06/0.563, allocations: 0 / 0.7205 GB, free: 2.438 MB / 0.5294 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.0007458/0.5637, allocations: 0.4992 MB / 0.721 GB, free: 1.891 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.91e-05/0.5638, allocations: 8.031 kB / 0.721 GB, free: 1.883 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.166e-05/0.5639, allocations: 46.55 kB / 0.721 GB, free: 1.828 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.276e-05/0.5639, allocations: 35.56 kB / 0.7211 GB, free: 1.793 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003524/0.5643, allocations: 279.3 kB / 0.7213 GB, free: 1.48 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.871e-05/0.5643, allocations: 16 kB / 0.7213 GB, free: 1.465 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.667e-05/0.5643, allocations: 16 kB / 0.7214 GB, free: 1.449 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000449/0.5648, allocations: 265.9 kB / 0.7216 GB, free: 1.152 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.103e-05/0.5648, allocations: 0 / 0.7216 GB, free: 1.152 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.294e-05/0.5649, allocations: 27.86 kB / 0.7216 GB, free: 1.125 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.637e-06/0.5649, allocations: 4 kB / 0.7216 GB, free: 1.121 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003476/0.5652, allocations: 151.8 kB / 0.7218 GB, free: 0.9727 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001334/0.5666, allocations: 1.371 MB / 0.7231 GB, free: 15.5 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003095/0.5669, allocations: 191.7 kB / 0.7233 GB, free: 15.26 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001792/0.5671, allocations: 97.11 kB / 0.7234 GB, free: 15.15 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003749/0.5675, allocations: 129 kB / 0.7235 GB, free: 15 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.729e-05/0.5675, allocations: 54.42 kB / 0.7236 GB, free: 14.94 MB / 0.545 GB Notification: Performance of pre-optimization done (n=10): time 1.342e-06/0.5675, allocations: 0 / 0.7236 GB, free: 14.94 MB / 0.545 GB Notification: Performance of matching and sorting (n=10): time 0.0006388/0.5682, allocations: 222.4 kB / 0.7238 GB, free: 14.72 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.098e-05/0.5683, allocations: 183.9 kB / 0.724 GB, free: 14.5 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003051/0.5686, allocations: 287 kB / 0.7242 GB, free: 14.21 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 2.246e-05/0.5686, allocations: 29.7 kB / 0.7243 GB, free: 14.18 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001095/0.5687, allocations: 151.8 kB / 0.7244 GB, free: 14.03 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 2.973e-05/0.5688, allocations: 39.67 kB / 0.7245 GB, free: 13.99 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.017e-05/0.5688, allocations: 17.72 kB / 0.7245 GB, free: 13.96 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001183/0.5689, allocations: 334.8 kB / 0.7248 GB, free: 13.63 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001341/0.5691, allocations: 51.89 kB / 0.7248 GB, free: 13.58 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001957/0.5693, allocations: 120.5 kB / 0.725 GB, free: 13.43 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002977/0.5696, allocations: 171.6 kB / 0.7251 GB, free: 13.24 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.414e-06/0.5696, allocations: 0 / 0.7251 GB, free: 13.24 MB / 0.545 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003822/0.57, allocations: 201.2 kB / 0.7253 GB, free: 13.04 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.555e-05/0.57, allocations: 9.812 kB / 0.7253 GB, free: 13.03 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.941e-06/0.57, allocations: 4.219 kB / 0.7253 GB, free: 13.03 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.262e-05/0.57, allocations: 8 kB / 0.7253 GB, free: 13.02 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001427/0.5702, allocations: 35.91 kB / 0.7254 GB, free: 12.98 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.354e-05/0.5702, allocations: 6.062 kB / 0.7254 GB, free: 12.98 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001712/0.5704, allocations: 35.67 kB / 0.7254 GB, free: 12.95 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.498e-05/0.5704, allocations: 8 kB / 0.7254 GB, free: 12.94 MB / 0.545 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.0001255/0.5705, allocations: 149.8 kB / 0.7256 GB, free: 12.78 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001298/0.5707, allocations: 31.59 kB / 0.7256 GB, free: 12.75 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000335/0.571, allocations: 139 kB / 0.7257 GB, free: 12.6 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.997e-06/0.571, allocations: 0 / 0.7257 GB, free: 12.6 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.144e-06/0.571, allocations: 4 kB / 0.7257 GB, free: 12.6 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.319e-06/0.571, allocations: 4 kB / 0.7257 GB, free: 12.59 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008052/0.5719, allocations: 0.7729 MB / 0.7265 GB, free: 11.75 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.685e-06/0.5719, allocations: 0.875 kB / 0.7265 GB, free: 11.75 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001262/0.572, allocations: 32.12 kB / 0.7265 GB, free: 11.71 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.278e-06/0.572, allocations: 4 kB / 0.7265 GB, free: 11.71 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.316e-05/0.572, allocations: 4 kB / 0.7265 GB, free: 11.71 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.19e-06/0.572, allocations: 7.938 kB / 0.7265 GB, free: 11.7 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.312e-06/0.572, allocations: 0 / 0.7265 GB, free: 11.7 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005284/0.5726, allocations: 359.6 kB / 0.7269 GB, free: 11.32 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 8.342e-05/0.5727, allocations: 108.8 kB / 0.727 GB, free: 11.19 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.581e-05/0.5727, allocations: 12 kB / 0.727 GB, free: 11.18 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001399/0.5729, allocations: 11.98 kB / 0.727 GB, free: 11.17 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.932e-05/0.5729, allocations: 15.92 kB / 0.727 GB, free: 11.15 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.935e-06/0.5729, allocations: 4 kB / 0.727 GB, free: 11.15 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0001919/0.5731, allocations: 209.9 kB / 0.7272 GB, free: 10.95 MB / 0.545 GB Notification: Performance of sort global known variables: time 2.054e-06/0.5731, allocations: 4.062 kB / 0.7272 GB, free: 10.95 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0003302/0.5735, allocations: 59.84 kB / 0.7273 GB, free: 10.89 MB / 0.545 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.0009528/0.5744, allocations: 0.9203 MB / 0.7282 GB, free: 9.934 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0003364/0.5748, allocations: 128.1 kB / 0.7283 GB, free: 9.809 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.745e-06/0.5748, allocations: 4.125 kB / 0.7283 GB, free: 9.805 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.000147/0.575, allocations: 67.89 kB / 0.7284 GB, free: 9.738 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008267/0.5758, allocations: 131.5 kB / 0.7285 GB, free: 9.621 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003098/0.5789, allocations: 2.709 MB / 0.7311 GB, free: 6.766 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002945/0.5792, allocations: 0.7635 MB / 0.7319 GB, free: 5.977 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0001523/0.5794, allocations: 50.25 kB / 0.7319 GB, free: 5.926 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.478e-05/0.5795, allocations: 71.41 kB / 0.732 GB, free: 5.855 MB / 0.545 GB Notification: Performance of SimCode: time 4.61e-07/0.5795, allocations: 0 / 0.732 GB, free: 5.855 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01726/0.5967, allocations: 6.341 MB / 0.7382 GB, free: 15.69 MB / 0.5606 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001797/0.5969, allocations: 233.5 kB / 0.7384 GB, free: 15.43 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.932/2.529, allocations: 0 / 0.7384 GB, free: 15.43 MB / 0.5606 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)