Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.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/BuildSysPro 3.6.0-master/package.mo", uses=false) Using package BuildSysPro with version 3.6.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.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(BuildSysPro.IBPSA.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Media_Examples_PropyleneGlycolWaterTemperatureEnthalpyInversion",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Media_Examples_PropyleneGlycolWaterTemperatureEnthalpyInversion",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.007044/0.007044, allocations: 99.58 kB / 15.73 MB, free: 6.059 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.001863/0.001863, allocations: 192.8 kB / 16.67 MB, free: 5.977 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.417/1.417, allocations: 222.9 MB / 240.4 MB, free: 4.312 MB / 190.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0-master/Building/BuildingEnvelope/HeatTransfer/package.mo:2:1-40:17:writable] Warning: Soil_case_nappe was referenced in the package.order file, but was not found in package.mo, Soil_case_nappe/package.mo or Soil_case_nappe.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0-master/package.mo): time 1.009/1.009, allocations: 143.3 MB / 433.8 MB, free: 11.56 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001879/0.001879, allocations: 67.89 kB / 0.5953 GB, free: 8.688 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.366/0.3678, allocations: 82.02 MB / 0.6754 GB, free: 1.164 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion): time 0.005002/0.3729, allocations: 3.734 MB / 0.679 GB, free: 14.16 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.0002035/0.3731, allocations: 149.8 kB / 0.6792 GB, free: 14.04 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.364e-05/0.3731, allocations: 0 / 0.6792 GB, free: 14.04 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 8.881e-05/0.3732, allocations: 9.062 kB / 0.6792 GB, free: 14.04 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 6.619e-05/0.3733, allocations: 14.16 kB / 0.6792 GB, free: 14.02 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003131/0.3736, allocations: 82.81 kB / 0.6793 GB, free: 13.96 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 9.262e-05/0.3737, allocations: 41.44 kB / 0.6793 GB, free: 13.94 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 3.438e-05/0.3738, allocations: 2.094 kB / 0.6793 GB, free: 13.94 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 3.631e-05/0.3738, allocations: 13.02 kB / 0.6793 GB, free: 13.94 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 6.659e-05/0.3739, allocations: 13.98 kB / 0.6793 GB, free: 13.93 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 1.28e-05/0.3739, allocations: 1.281 kB / 0.6793 GB, free: 13.93 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004961/0.3744, allocations: 180.1 kB / 0.6795 GB, free: 13.83 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 4.032e-05/0.3745, allocations: 14.23 kB / 0.6795 GB, free: 13.82 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 2.824e-05/0.3745, allocations: 16.95 kB / 0.6795 GB, free: 13.81 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0001269/0.3746, allocations: 39.72 kB / 0.6796 GB, free: 13.79 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 3.226e-06/0.3746, allocations: 0 / 0.6796 GB, free: 13.79 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.273e-06/0.3746, allocations: 0.8438 kB / 0.6796 GB, free: 13.79 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 4.899e-06/0.3747, allocations: 0 / 0.6796 GB, free: 13.79 MB / 0.5137 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0004062/0.3751, allocations: 344 kB / 0.6799 GB, free: 13.42 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 3.332e-05/0.3751, allocations: 9.406 kB / 0.6799 GB, free: 13.42 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.715e-05/0.3752, allocations: 35.62 kB / 0.68 GB, free: 13.38 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.976e-05/0.3752, allocations: 2.938 kB / 0.68 GB, free: 13.38 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001217/0.3753, allocations: 165.5 kB / 0.6801 GB, free: 13.18 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.926e-05/0.3754, allocations: 31.28 kB / 0.6801 GB, free: 13.14 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.22e-05/0.3754, allocations: 5.125 kB / 0.6802 GB, free: 13.14 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001357/0.3755, allocations: 46.8 kB / 0.6802 GB, free: 13.1 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.984e-06/0.3756, allocations: 0 / 0.6802 GB, free: 13.1 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.486e-06/0.3756, allocations: 1.406 kB / 0.6802 GB, free: 13.1 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.564e-05/0.3756, allocations: 1.281 kB / 0.6802 GB, free: 13.1 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.283e-05/0.3756, allocations: 13.02 kB / 0.6802 GB, free: 13.09 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004378/0.3761, allocations: 341.4 kB / 0.6805 GB, free: 12.71 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 4.462e-05/0.3761, allocations: 23.67 kB / 0.6806 GB, free: 12.68 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.459e-05/0.3762, allocations: 6.266 kB / 0.6806 GB, free: 12.67 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 8.678e-05/0.3762, allocations: 82.42 kB / 0.6806 GB, free: 12.57 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.264e-05/0.3763, allocations: 31.94 kB / 0.6807 GB, free: 12.54 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=1): time 1.312e-06/0.3763, allocations: 0 / 0.6807 GB, free: 12.54 MB / 0.5137 GB Notification: Performance of matching and sorting (n=1): time 0.0001381/0.3764, allocations: 48.67 kB / 0.6807 GB, free: 12.49 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.581e-05/0.3765, allocations: 51.41 kB / 0.6808 GB, free: 12.43 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.96e-05/0.3766, allocations: 99.42 kB / 0.6809 GB, free: 12.32 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 2.192e-05/0.3766, allocations: 30.89 kB / 0.6809 GB, free: 12.29 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 5.149e-05/0.3767, allocations: 93.14 kB / 0.681 GB, free: 12.2 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 8.285e-06/0.3767, allocations: 3.938 kB / 0.681 GB, free: 12.19 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.317e-05/0.3767, allocations: 18.03 kB / 0.681 GB, free: 12.17 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.000129/0.3768, allocations: 320 kB / 0.6813 GB, free: 11.85 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.844e-05/0.3769, allocations: 10.27 kB / 0.6813 GB, free: 11.84 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.516e-05/0.3769, allocations: 13.25 kB / 0.6813 GB, free: 11.83 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.073e-05/0.3769, allocations: 24.31 kB / 0.6814 GB, free: 11.8 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.333e-06/0.3769, allocations: 0 / 0.6814 GB, free: 11.8 MB / 0.5137 GB Notification: Performance of matching and sorting (n=3) (initialization): time 7.889e-05/0.377, allocations: 50.89 kB / 0.6814 GB, free: 11.76 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.212e-05/0.3771, allocations: 9.562 kB / 0.6814 GB, free: 11.76 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.348e-06/0.3771, allocations: 0.9688 kB / 0.6814 GB, free: 11.76 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.19e-05/0.3771, allocations: 1.125 kB / 0.6814 GB, free: 11.76 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.069e-05/0.3771, allocations: 8.344 kB / 0.6814 GB, free: 11.75 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.143e-06/0.3771, allocations: 4.922 kB / 0.6814 GB, free: 11.75 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.739e-05/0.3772, allocations: 1.062 kB / 0.6814 GB, free: 11.75 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.546e-06/0.3772, allocations: 2.25 kB / 0.6814 GB, free: 11.75 MB / 0.5137 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (3): * Single equations (assignments): 3 * 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 7.482e-05/0.3772, allocations: 110.9 kB / 0.6815 GB, free: 11.63 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.505e-05/0.3773, allocations: 2.094 kB / 0.6815 GB, free: 11.63 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001136/0.3774, allocations: 128 kB / 0.6817 GB, free: 11.5 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.677e-05/0.3775, allocations: 181.2 kB / 0.6818 GB, free: 11.32 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.133e-05/0.3776, allocations: 177.5 kB / 0.682 GB, free: 11.14 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.483e-05/0.3776, allocations: 185.2 kB / 0.6822 GB, free: 10.95 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000256/0.3779, allocations: 411.5 kB / 0.6826 GB, free: 10.5 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.188e-05/0.378, allocations: 102 kB / 0.6827 GB, free: 10.39 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.655e-05/0.378, allocations: 106 kB / 0.6828 GB, free: 10.28 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.685e-05/0.3781, allocations: 181.6 kB / 0.6829 GB, free: 10.1 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.25e-05/0.3782, allocations: 181.2 kB / 0.6831 GB, free: 9.914 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.288e-05/0.3782, allocations: 177.3 kB / 0.6833 GB, free: 9.734 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.403e-05/0.3783, allocations: 185.2 kB / 0.6835 GB, free: 9.547 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001539/0.3785, allocations: 308.6 kB / 0.6838 GB, free: 9.227 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 8.701e-05/0.3786, allocations: 187.1 kB / 0.6839 GB, free: 9.02 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.236e-05/0.3787, allocations: 181.3 kB / 0.6841 GB, free: 8.836 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001552/0.3788, allocations: 112.2 kB / 0.6842 GB, free: 8.723 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.964e-05/0.3789, allocations: 185.6 kB / 0.6844 GB, free: 8.535 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.647e-05/0.379, allocations: 105 kB / 0.6845 GB, free: 8.426 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 5.27e-05/0.379, allocations: 84.81 kB / 0.6846 GB, free: 8.348 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.3e-07/0.379, allocations: 0 / 0.6846 GB, free: 8.348 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.000265/0.3793, allocations: 24.11 kB / 0.6846 GB, free: 8.336 MB / 0.5137 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (0): * Single equations (assignments): 0 * 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.0005759/0.3799, allocations: 0.8396 MB / 0.6854 GB, free: 7.504 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 8.438e-05/0.38, allocations: 9.094 kB / 0.6854 GB, free: 7.5 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.38, allocations: 1.031 kB / 0.6854 GB, free: 7.5 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 4.699e-06/0.38, allocations: 3.938 kB / 0.6854 GB, free: 7.496 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004058/0.3804, allocations: 470.9 kB / 0.6859 GB, free: 7.039 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001047/0.3815, allocations: 1.314 MB / 0.6872 GB, free: 5.695 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002915/0.3818, allocations: 0.6765 MB / 0.6878 GB, free: 4.996 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 4.286e-05/0.3818, allocations: 13.17 kB / 0.6878 GB, free: 4.988 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.516e-05/0.3819, allocations: 9.406 kB / 0.6878 GB, free: 4.98 MB / 0.5137 GB Notification: Performance of SimCode: time 2.4e-07/0.3819, allocations: 0 / 0.6878 GB, free: 4.98 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02145/0.4033, allocations: 1.547 MB / 0.6894 GB, free: 4.164 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.654/8.058, allocations: 9.844 kB / 0.6894 GB, free: 4.16 MB / 0.5137 GB (rm -f BuildSysPro_BuildSysPro.IBPSA.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.sim & python3 -m fmpy simulate --output-file BuildSysPro_BuildSysPro.IBPSA.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 BuildSysPro_BuildSysPro_IBPSA_Media_Examples_PropyleneGlycolWaterTemperatureEnthalpyInversion.fmu > BuildSysPro_BuildSysPro.IBPSA.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.pipe 2>&1)