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.001123/0.001123, allocations: 105.4 kB / 16.27 MB, free: 6.41 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.001099/0.001099, allocations: 184.4 kB / 17.2 MB, free: 5.953 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.273/1.273, allocations: 222.9 MB / 240.9 MB, free: 15.23 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7322/0.7322, allocations: 122.8 MB / 413.9 MB, free: 15.86 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001268/0.001268, allocations: 67.91 kB / 0.4912 GB, free: 7.332 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3186/0.3199, allocations: 77.91 MB / 0.5673 GB, free: 32.68 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Sources.Examples.PropertySource_h): time 0.1691/0.489, allocations: 176 MB / 0.7391 GB, free: 10.23 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.009897/0.499, allocations: 8.72 MB / 0.7476 GB, free: 1.484 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006201/0.4996, allocations: 23.88 kB / 0.7477 GB, free: 1.461 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0007837/0.5004, allocations: 293.8 kB / 0.7479 GB, free: 1.172 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.0009122/0.5014, allocations: 310.4 kB / 0.7482 GB, free: 0.8672 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.001092/0.5025, allocations: 382.4 kB / 0.7486 GB, free: 0.5 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.2838/0.7864, allocations: 1.14 MB / 0.7497 GB, free: 2.164 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008748/0.7873, allocations: 0.5852 MB / 0.7503 GB, free: 2.121 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004107/0.7914, allocations: 2.051 MB / 0.7523 GB, free: 2.121 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004383/0.7918, allocations: 350.7 kB / 0.7526 GB, free: 2.121 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 7.731e-05/0.7919, allocations: 40.06 kB / 0.7527 GB, free: 2.121 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002284/0.7922, allocations: 87.47 kB / 0.7527 GB, free: 2.117 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0002719/0.7924, allocations: 255.2 kB / 0.753 GB, free: 2.117 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0002908/0.7927, allocations: 282.9 kB / 0.7533 GB, free: 2.117 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0006366/0.7934, allocations: 0.6087 MB / 0.7538 GB, free: 2.078 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.138e-06/0.7934, allocations: 0.8438 kB / 0.7539 GB, free: 2.078 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.403e-06/0.7934, allocations: 2.844 kB / 0.7539 GB, free: 2.078 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 9.668e-06/0.7934, allocations: 0 / 0.7539 GB, free: 2.078 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.001002/0.7944, allocations: 0.8232 MB / 0.7547 GB, free: 17.55 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.52e-05/0.7945, allocations: 9.969 kB / 0.7547 GB, free: 17.55 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.646e-05/0.7946, allocations: 97.52 kB / 0.7548 GB, free: 17.51 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.796e-05/0.7947, allocations: 71.44 kB / 0.7548 GB, free: 17.47 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004764/0.7952, allocations: 414.5 kB / 0.7552 GB, free: 17.22 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.142e-05/0.7952, allocations: 42.47 kB / 0.7553 GB, free: 17.22 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.694e-05/0.7953, allocations: 52.44 kB / 0.7553 GB, free: 17.22 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001049/0.7963, allocations: 0.7015 MB / 0.756 GB, free: 16.98 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.646e-05/0.7964, allocations: 3.797 kB / 0.756 GB, free: 16.98 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.737e-05/0.7964, allocations: 26.72 kB / 0.756 GB, free: 16.98 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.359e-05/0.7965, allocations: 33.5 kB / 0.7561 GB, free: 16.98 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006835/0.7972, allocations: 379.2 kB / 0.7564 GB, free: 16.98 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002238/0.7994, allocations: 3.226 MB / 0.7596 GB, free: 14.59 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001815/0.7996, allocations: 221.1 kB / 0.7598 GB, free: 14.36 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001698/0.7998, allocations: 130.5 kB / 0.7599 GB, free: 14.28 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 1.466e-05/0.7998, allocations: 6.984 kB / 0.7599 GB, free: 14.28 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.432e-05/0.7998, allocations: 51.2 kB / 0.76 GB, free: 14.23 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=10): time 1.643e-06/0.7998, allocations: 0.9375 kB / 0.76 GB, free: 14.23 MB / 0.5919 GB Notification: Performance of matching and sorting (n=10): time 0.0006575/0.8005, allocations: 245.8 kB / 0.7602 GB, free: 14.17 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001122/0.8006, allocations: 300.3 kB / 0.7605 GB, free: 13.83 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006672/0.8013, allocations: 0.6808 MB / 0.7611 GB, free: 13.7 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 2.157e-05/0.8013, allocations: 31.89 kB / 0.7612 GB, free: 13.67 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001615/0.8015, allocations: 269 kB / 0.7614 GB, free: 13.57 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 2.982e-05/0.8015, allocations: 37.95 kB / 0.7615 GB, free: 13.55 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.719e-05/0.8016, allocations: 30.86 kB / 0.7615 GB, free: 13.53 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001419/0.8017, allocations: 366.5 kB / 0.7619 GB, free: 13.22 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001225/0.8019, allocations: 37 kB / 0.7619 GB, free: 13.22 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001593/0.802, allocations: 100.2 kB / 0.762 GB, free: 13.17 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002348/0.8023, allocations: 126.3 kB / 0.7621 GB, free: 13.12 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.354e-06/0.8023, allocations: 0.6562 kB / 0.7621 GB, free: 13.12 MB / 0.5919 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003484/0.8026, allocations: 192.4 kB / 0.7623 GB, free: 13.06 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.508e-05/0.8027, allocations: 5.438 kB / 0.7623 GB, free: 13.06 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.203e-06/0.8027, allocations: 2.562 kB / 0.7623 GB, free: 13.06 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.389e-05/0.8027, allocations: 4.219 kB / 0.7623 GB, free: 13.06 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002214/0.8029, allocations: 42.91 kB / 0.7623 GB, free: 13.06 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.624e-06/0.8029, allocations: 5.625 kB / 0.7623 GB, free: 13.06 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001888/0.8031, allocations: 60.09 kB / 0.7624 GB, free: 13.02 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.264e-05/0.8032, allocations: 6.969 kB / 0.7624 GB, free: 13.02 MB / 0.5919 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.0001933/0.8034, allocations: 201.3 kB / 0.7626 GB, free: 12.91 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002135/0.8036, allocations: 60.22 kB / 0.7627 GB, free: 12.88 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.192e-05/0.8037, allocations: 61.42 kB / 0.7627 GB, free: 12.87 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.16e-06/0.8037, allocations: 3.859 kB / 0.7627 GB, free: 12.87 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.182e-06/0.8037, allocations: 7.5 kB / 0.7627 GB, free: 12.87 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.901e-06/0.8037, allocations: 4.828 kB / 0.7627 GB, free: 12.87 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001288/0.805, allocations: 1.305 MB / 0.764 GB, free: 11.89 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.967e-06/0.805, allocations: 1.906 kB / 0.764 GB, free: 11.89 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001949/0.8052, allocations: 40.02 kB / 0.764 GB, free: 11.89 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.13e-06/0.8052, allocations: 4.172 kB / 0.764 GB, free: 11.89 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.155e-05/0.8052, allocations: 7 kB / 0.7641 GB, free: 11.89 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.168e-06/0.8052, allocations: 6.516 kB / 0.7641 GB, free: 11.89 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.997e-06/0.8053, allocations: 8.078 kB / 0.7641 GB, free: 11.89 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003618/0.8056, allocations: 332.7 kB / 0.7644 GB, free: 11.66 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001373/0.8058, allocations: 147.5 kB / 0.7645 GB, free: 11.54 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.919e-05/0.8058, allocations: 8.172 kB / 0.7645 GB, free: 11.54 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001729/0.806, allocations: 9.609 kB / 0.7645 GB, free: 11.54 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.128e-05/0.8061, allocations: 21.31 kB / 0.7646 GB, free: 11.54 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.304e-06/0.8061, allocations: 5.562 kB / 0.7646 GB, free: 11.54 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0005361/0.8066, allocations: 0.4942 MB / 0.7651 GB, free: 11.45 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.2e-07/0.8066, allocations: 0.9062 kB / 0.7651 GB, free: 11.45 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0003815/0.807, allocations: 82.45 kB / 0.7651 GB, free: 11.44 MB / 0.5919 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.0007772/0.8078, allocations: 0.9023 MB / 0.766 GB, free: 10.68 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0003014/0.8081, allocations: 115.5 kB / 0.7661 GB, free: 10.67 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 2.285e-06/0.8081, allocations: 2.25 kB / 0.7661 GB, free: 10.67 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0001412/0.8083, allocations: 62.95 kB / 0.7662 GB, free: 10.67 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001274/0.8096, allocations: 283.6 kB / 0.7665 GB, free: 10.64 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004931/0.8145, allocations: 4.577 MB / 0.7709 GB, free: 8.781 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000422/0.8149, allocations: 0.9051 MB / 0.7718 GB, free: 8.086 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.000266/0.8152, allocations: 103.5 kB / 0.7719 GB, free: 8.078 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001514/0.8154, allocations: 169.9 kB / 0.7721 GB, free: 8.07 MB / 0.5919 GB Notification: Performance of SimCode: time 3.6e-07/0.8154, allocations: 1.094 kB / 0.7721 GB, free: 8.07 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02942/0.8448, allocations: 13.47 MB / 0.7852 GB, free: 7.148 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.174/8.019, allocations: 11.5 kB / 0.7852 GB, free: 7.141 MB / 0.5919 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)