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.001049/0.001049, allocations: 113.6 kB / 16.4 MB, free: 6.367 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.001069/0.001069, allocations: 200.2 kB / 17.34 MB, free: 5.84 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.309/1.309, allocations: 222.9 MB / 241 MB, free: 15.1 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7574/0.7574, allocations: 126.1 MB / 417.2 MB, free: 12.8 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001217/0.001217, allocations: 67.75 kB / 0.5726 GB, free: 27.53 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1172/0.1185, allocations: 78.7 MB / 0.6494 GB, free: 4.586 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Sources.Examples.PropertySource_h): time 0.4552/0.5737, allocations: 176 MB / 0.8213 GB, free: 9.777 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.009686/0.5834, allocations: 8.7 MB / 0.8298 GB, free: 4.453 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007189/0.5842, allocations: 20.31 kB / 0.8298 GB, free: 4.445 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.0008974/0.5851, allocations: 303.2 kB / 0.8301 GB, free: 4.18 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.001066/0.5862, allocations: 321.1 kB / 0.8304 GB, free: 3.926 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.001181/0.5874, allocations: 377.8 kB / 0.8308 GB, free: 3.637 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.001408/0.5888, allocations: 1.156 MB / 0.8319 GB, free: 2.977 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008702/0.5897, allocations: 0.5898 MB / 0.8325 GB, free: 2.641 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004777/0.5945, allocations: 2.136 MB / 0.8346 GB, free: 1.195 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005449/0.5951, allocations: 349.7 kB / 0.8349 GB, free: 0.9844 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 9.22e-05/0.5952, allocations: 40.31 kB / 0.8349 GB, free: 0.9844 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002688/0.5954, allocations: 83.47 kB / 0.835 GB, free: 0.9609 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0002596/0.5957, allocations: 254.1 kB / 0.8352 GB, free: 0.8086 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0003524/0.5961, allocations: 288.3 kB / 0.8355 GB, free: 0.6211 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.0007669/0.5968, allocations: 0.6367 MB / 0.8361 GB, free: 200 kB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 3.566e-06/0.5969, allocations: 0 / 0.8361 GB, free: 200 kB / 0.5919 GB Notification: Performance of FrontEnd: time 1.593e-06/0.5969, allocations: 0 / 0.8361 GB, free: 200 kB / 0.5919 GB Notification: Performance of Transformations before backend: time 2.386e-05/0.5969, allocations: 0 / 0.8361 GB, free: 200 kB / 0.5919 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.001116/0.598, allocations: 0.8418 MB / 0.837 GB, free: 15.47 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.621e-05/0.5981, allocations: 10.62 kB / 0.837 GB, free: 15.47 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.877e-05/0.5982, allocations: 102.6 kB / 0.8371 GB, free: 15.38 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001119/0.5983, allocations: 68.23 kB / 0.8371 GB, free: 15.35 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006669/0.599, allocations: 446.3 kB / 0.8376 GB, free: 14.97 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.348e-05/0.599, allocations: 44.36 kB / 0.8376 GB, free: 14.95 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.945e-05/0.5991, allocations: 47.06 kB / 0.8377 GB, free: 14.94 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009792/0.6001, allocations: 0.7131 MB / 0.8383 GB, free: 14.4 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.256e-05/0.6001, allocations: 10.41 kB / 0.8384 GB, free: 14.39 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.272e-05/0.6001, allocations: 21.45 kB / 0.8384 GB, free: 14.38 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.594e-05/0.6002, allocations: 34.39 kB / 0.8384 GB, free: 14.36 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006229/0.6008, allocations: 376 kB / 0.8388 GB, free: 14.19 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002607/0.6035, allocations: 3.224 MB / 0.8419 GB, free: 11.21 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002616/0.6037, allocations: 215.5 kB / 0.8421 GB, free: 10.94 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001991/0.6039, allocations: 123.3 kB / 0.8422 GB, free: 10.83 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 1.772e-05/0.604, allocations: 6.734 kB / 0.8422 GB, free: 10.82 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.463e-05/0.604, allocations: 50.78 kB / 0.8423 GB, free: 10.77 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=10): time 3.016e-06/0.604, allocations: 0 / 0.8423 GB, free: 10.77 MB / 0.6075 GB Notification: Performance of matching and sorting (n=10): time 0.0007358/0.6048, allocations: 253.4 kB / 0.8425 GB, free: 10.62 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001357/0.6049, allocations: 295.5 kB / 0.8428 GB, free: 10.27 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007388/0.6057, allocations: 0.6831 MB / 0.8435 GB, free: 9.891 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 2.284e-05/0.6057, allocations: 29.7 kB / 0.8435 GB, free: 9.855 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001959/0.6059, allocations: 264.4 kB / 0.8438 GB, free: 9.625 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 3.706e-05/0.6059, allocations: 45.7 kB / 0.8438 GB, free: 9.586 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.746e-05/0.606, allocations: 29.94 kB / 0.8438 GB, free: 9.562 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001408/0.6061, allocations: 369.2 kB / 0.8442 GB, free: 9.207 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001099/0.6063, allocations: 32.78 kB / 0.8442 GB, free: 9.195 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001666/0.6064, allocations: 96.31 kB / 0.8443 GB, free: 9.117 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002348/0.6067, allocations: 129.7 kB / 0.8444 GB, free: 9.023 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.204e-06/0.6067, allocations: 7.938 kB / 0.8444 GB, free: 9.016 MB / 0.6075 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003727/0.6071, allocations: 192.3 kB / 0.8446 GB, free: 8.902 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.399e-05/0.6071, allocations: 4.844 kB / 0.8446 GB, free: 8.902 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.731e-06/0.6071, allocations: 1.844 kB / 0.8446 GB, free: 8.902 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.452e-05/0.6071, allocations: 2.844 kB / 0.8446 GB, free: 8.902 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002227/0.6074, allocations: 46.48 kB / 0.8447 GB, free: 8.883 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.422e-06/0.6074, allocations: 2.438 kB / 0.8447 GB, free: 8.883 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002364/0.6076, allocations: 56.94 kB / 0.8447 GB, free: 8.844 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.002e-05/0.6076, allocations: 11.77 kB / 0.8447 GB, free: 8.84 MB / 0.6075 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.0002129/0.6079, allocations: 203.7 kB / 0.8449 GB, free: 8.676 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002372/0.6081, allocations: 73.09 kB / 0.845 GB, free: 8.633 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.373e-05/0.6082, allocations: 58.05 kB / 0.8451 GB, free: 8.594 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.358e-06/0.6082, allocations: 6.719 kB / 0.8451 GB, free: 8.59 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.204e-06/0.6082, allocations: 4.812 kB / 0.8451 GB, free: 8.59 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.339e-06/0.6082, allocations: 2.594 kB / 0.8451 GB, free: 8.59 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001396/0.6096, allocations: 1.3 MB / 0.8464 GB, free: 7.379 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.18e-06/0.6097, allocations: 6.547 kB / 0.8464 GB, free: 7.375 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001906/0.6099, allocations: 43.22 kB / 0.8464 GB, free: 7.359 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.095e-06/0.6099, allocations: 2.766 kB / 0.8464 GB, free: 7.359 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.33e-05/0.6099, allocations: 10.61 kB / 0.8464 GB, free: 7.352 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.266e-06/0.6099, allocations: 2.844 kB / 0.8464 GB, free: 7.352 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.917e-06/0.6099, allocations: 12.25 kB / 0.8464 GB, free: 7.344 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003997/0.6103, allocations: 337.9 kB / 0.8467 GB, free: 7.051 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001512/0.6105, allocations: 147.3 kB / 0.8469 GB, free: 6.91 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.998e-05/0.6105, allocations: 5.594 kB / 0.8469 GB, free: 6.91 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001765/0.6107, allocations: 12.86 kB / 0.8469 GB, free: 6.902 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.293e-05/0.6108, allocations: 17.05 kB / 0.8469 GB, free: 6.891 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.063e-06/0.6108, allocations: 4.844 kB / 0.8469 GB, free: 6.891 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.000506/0.6113, allocations: 0.495 MB / 0.8474 GB, free: 6.613 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.9e-07/0.6113, allocations: 0 / 0.8474 GB, free: 6.613 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0003885/0.6117, allocations: 85.55 kB / 0.8475 GB, free: 6.602 MB / 0.6075 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.0008072/0.6125, allocations: 0.9121 MB / 0.8484 GB, free: 5.754 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0002964/0.6128, allocations: 109.4 kB / 0.8485 GB, free: 5.703 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.815e-06/0.6128, allocations: 0 / 0.8485 GB, free: 5.703 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0001362/0.613, allocations: 59.09 kB / 0.8485 GB, free: 5.68 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001277/0.6143, allocations: 292.1 kB / 0.8488 GB, free: 5.527 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005231/0.6195, allocations: 4.443 MB / 0.8532 GB, free: 2.648 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004511/0.62, allocations: 0.9102 MB / 0.8541 GB, free: 1.844 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.0002705/0.6203, allocations: 103.4 kB / 0.8541 GB, free: 1.805 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001949/0.6205, allocations: 170.7 kB / 0.8543 GB, free: 1.668 MB / 0.6075 GB Notification: Performance of SimCode: time 4.41e-07/0.6205, allocations: 0 / 0.8543 GB, free: 1.668 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03431/0.6548, allocations: 13.59 MB / 0.8676 GB, free: 4.559 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.144/8.799, allocations: 6.484 kB / 0.8676 GB, free: 4.555 MB / 0.6231 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 & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.Fluid.Sources.Examples.PropertySource_h_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 IBPSA_latest_IBPSA_Fluid_Sources_Examples_PropertySource_h.fmu > IBPSA_latest_IBPSA.Fluid.Sources.Examples.PropertySource_h.pipe 2>&1)