Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.Sources.Examples.PropertySource_h.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.Sources.Examples.PropertySource_h,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Sources_Examples_PropertySource_h",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.Sources.Examples.PropertySource_h,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Sources_Examples_PropertySource_h",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.001048/0.001048, allocations: 105.8 kB / 15.99 MB, free: 5.906 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.001085/0.001085, allocations: 190.2 kB / 16.9 MB, free: 5.758 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.24/1.24, allocations: 222.9 MB / 240.6 MB, free: 13.74 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6697/0.6697, allocations: 115.3 MB / 406.1 MB, free: 6.469 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001222/0.001222, allocations: 67.89 kB / 493.2 MB, free: 0.6562 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2818/0.283, allocations: 76.17 MB / 0.556 GB, free: 35.48 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Sources.Examples.PropertySource_h): time 0.1613/0.4444, allocations: 173.6 MB / 0.7256 GB, free: 6.465 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.008943/0.4534, allocations: 8.635 MB / 0.734 GB, free: 13.81 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005655/0.454, allocations: 19.81 kB / 0.734 GB, free: 13.79 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0006707/0.4547, allocations: 254.4 kB / 0.7343 GB, free: 13.54 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.0007278/0.4554, allocations: 286.7 kB / 0.7345 GB, free: 13.26 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.000921/0.4564, allocations: 343.5 kB / 0.7349 GB, free: 12.93 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.001252/0.4576, allocations: 1.148 MB / 0.736 GB, free: 11.77 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007983/0.4584, allocations: 0.5568 MB / 0.7365 GB, free: 11.21 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003835/0.4623, allocations: 1.993 MB / 0.7385 GB, free: 9.215 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004608/0.4628, allocations: 370.4 kB / 0.7388 GB, free: 8.852 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 6.889e-05/0.4628, allocations: 43.94 kB / 0.7389 GB, free: 8.809 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000201/0.463, allocations: 79.95 kB / 0.739 GB, free: 8.73 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0002355/0.4633, allocations: 263.3 kB / 0.7392 GB, free: 8.473 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0002782/0.4636, allocations: 286.5 kB / 0.7395 GB, free: 8.191 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0005773/0.4642, allocations: 0.6074 MB / 0.7401 GB, free: 7.582 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.888e-06/0.4642, allocations: 0 / 0.7401 GB, free: 7.582 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.383e-06/0.4642, allocations: 0 / 0.7401 GB, free: 7.582 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 1.663e-05/0.4642, allocations: 0 / 0.7401 GB, free: 7.582 MB / 0.5762 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 133 * Number of variables: 133 Notification: Performance of Generate backend data structure: time 0.0009791/0.4652, allocations: 0.8223 MB / 0.7409 GB, free: 6.707 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.957e-05/0.4652, allocations: 12.03 kB / 0.7409 GB, free: 6.695 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001095/0.4653, allocations: 106.5 kB / 0.741 GB, free: 6.582 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.941e-05/0.4655, allocations: 67.19 kB / 0.7411 GB, free: 6.516 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005026/0.466, allocations: 414.1 kB / 0.7414 GB, free: 6.07 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.832e-05/0.466, allocations: 37.31 kB / 0.7415 GB, free: 6.035 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.342e-05/0.4661, allocations: 51.98 kB / 0.7415 GB, free: 5.984 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009534/0.467, allocations: 0.7027 MB / 0.7422 GB, free: 5.199 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.869e-05/0.4671, allocations: 7.938 kB / 0.7422 GB, free: 5.191 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.179e-05/0.4671, allocations: 23.92 kB / 0.7423 GB, free: 5.168 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.823e-05/0.4672, allocations: 31.98 kB / 0.7423 GB, free: 5.137 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006025/0.4678, allocations: 373.5 kB / 0.7426 GB, free: 4.773 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002409/0.4702, allocations: 3.227 MB / 0.7458 GB, free: 1.402 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000232/0.4704, allocations: 218.2 kB / 0.746 GB, free: 1.098 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001985/0.4706, allocations: 128.5 kB / 0.7461 GB, free: 0.9414 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 1.781e-05/0.4707, allocations: 8 kB / 0.7461 GB, free: 0.9336 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.459e-05/0.4707, allocations: 50.42 kB / 0.7462 GB, free: 0.875 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=10): time 1.513e-06/0.4707, allocations: 0 / 0.7462 GB, free: 0.875 MB / 0.5762 GB Notification: Performance of matching and sorting (n=10): time 0.0006398/0.4713, allocations: 248.8 kB / 0.7464 GB, free: 0.625 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001094/0.4715, allocations: 295.7 kB / 0.7467 GB, free: 276 kB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.1962/0.6677, allocations: 0.682 MB / 0.7474 GB, free: 176 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 3.6e-05/0.6677, allocations: 31.17 kB / 0.7474 GB, free: 175.9 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002109/0.6679, allocations: 264 kB / 0.7476 GB, free: 175.7 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 4.689e-05/0.668, allocations: 38.11 kB / 0.7477 GB, free: 175.7 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.878e-05/0.6681, allocations: 31.27 kB / 0.7477 GB, free: 175.7 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 9.93e-05/0.6682, allocations: 368.2 kB / 0.7481 GB, free: 175.4 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001374/0.6683, allocations: 34.16 kB / 0.7481 GB, free: 175.4 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001625/0.6685, allocations: 99.02 kB / 0.7482 GB, free: 175.3 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002379/0.6687, allocations: 126.3 kB / 0.7483 GB, free: 175.2 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.048e-06/0.6687, allocations: 1.406 kB / 0.7483 GB, free: 175.2 MB / 0.5762 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003929/0.6691, allocations: 187.4 kB / 0.7485 GB, free: 175.2 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.802e-05/0.6692, allocations: 9.969 kB / 0.7485 GB, free: 175.2 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.616e-06/0.6692, allocations: 2.688 kB / 0.7485 GB, free: 175.2 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.725e-05/0.6692, allocations: 5.906 kB / 0.7485 GB, free: 175.2 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002234/0.6694, allocations: 38.44 kB / 0.7485 GB, free: 175.2 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.207e-06/0.6695, allocations: 7.625 kB / 0.7485 GB, free: 175.2 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002603/0.6697, allocations: 65.95 kB / 0.7486 GB, free: 175.2 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.509e-05/0.6698, allocations: 8.359 kB / 0.7486 GB, free: 175.2 MB / 0.5762 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * 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 (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 prepare postOptimizeDAE: time 0.0001949/0.67, allocations: 200.3 kB / 0.7488 GB, free: 175 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002181/0.6702, allocations: 61.42 kB / 0.7489 GB, free: 175 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.96e-05/0.6703, allocations: 63.27 kB / 0.7489 GB, free: 175 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.071e-06/0.6703, allocations: 3.844 kB / 0.7489 GB, free: 175 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.48e-06/0.6703, allocations: 4.438 kB / 0.7489 GB, free: 175 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.53e-06/0.6703, allocations: 6.656 kB / 0.7489 GB, free: 175 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001167/0.6715, allocations: 1.302 MB / 0.7502 GB, free: 173.9 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.819e-06/0.6715, allocations: 4 kB / 0.7502 GB, free: 173.9 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001861/0.6717, allocations: 40.05 kB / 0.7503 GB, free: 173.9 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.24e-06/0.6717, allocations: 4.469 kB / 0.7503 GB, free: 173.9 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.22e-05/0.6717, allocations: 6.625 kB / 0.7503 GB, free: 173.9 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.32e-06/0.6717, allocations: 7.922 kB / 0.7503 GB, free: 173.8 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.506e-06/0.6717, allocations: 3.297 kB / 0.7503 GB, free: 173.8 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003488/0.6721, allocations: 342.7 kB / 0.7506 GB, free: 173.6 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001313/0.6722, allocations: 143.9 kB / 0.7507 GB, free: 173.5 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.25e-05/0.6723, allocations: 4.266 kB / 0.7507 GB, free: 173.5 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001912/0.6725, allocations: 21.52 kB / 0.7508 GB, free: 173.4 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.525e-05/0.6725, allocations: 16.62 kB / 0.7508 GB, free: 173.4 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.586e-06/0.6726, allocations: 6.531 kB / 0.7508 GB, free: 173.4 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0005472/0.6731, allocations: 0.4953 MB / 0.7513 GB, free: 173.2 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.3e-07/0.6731, allocations: 0 / 0.7513 GB, free: 173.2 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0003901/0.6735, allocations: 86.44 kB / 0.7514 GB, free: 173.2 MB / 0.5762 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * 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 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.0006753/0.6742, allocations: 0.8953 MB / 0.7522 GB, free: 172.4 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0003175/0.6745, allocations: 113.8 kB / 0.7523 GB, free: 172.4 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 3.256e-06/0.6745, allocations: 0.7188 kB / 0.7523 GB, free: 172.4 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0001575/0.6747, allocations: 61.48 kB / 0.7524 GB, free: 172.4 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001354/0.6761, allocations: 285.2 kB / 0.7527 GB, free: 172.3 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004926/0.681, allocations: 4.682 MB / 0.7572 GB, free: 169.7 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003337/0.6813, allocations: 0.902 MB / 0.7581 GB, free: 169 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0002945/0.6816, allocations: 111.2 kB / 0.7582 GB, free: 169 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001607/0.6818, allocations: 171 kB / 0.7584 GB, free: 168.9 MB / 0.5762 GB Notification: Performance of SimCode: time 7.51e-07/0.6818, allocations: 0 / 0.7584 GB, free: 168.9 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2499/0.9318, allocations: 13.3 MB / 0.7714 GB, free: 166.3 MB / 0.5762 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000145/0.9319, allocations: 235.7 kB / 0.7716 GB, free: 166.1 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.892/2.824, allocations: 0 / 0.7716 GB, free: 166.1 MB / 0.5762 GB (rm -f IBPSA_latest_IBPSA.Fluid.Sources.Examples.PropertySource_h.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Sources.Examples.PropertySource_h.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Sources.Examples.PropertySource_h.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Sources.Examples.PropertySource_h.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Fluid_Sources_Examples_PropertySource_h_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Fluid_Sources_Examples_PropertySource_h.fmu > IBPSA_latest_IBPSA.Fluid.Sources.Examples.PropertySource_h.pipe 2>&1)