Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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(BuildingSystems.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion,fileNamePrefix="BuildingSystems_BuildingSystems_Media_Examples_PropyleneGlycolWaterTemperatureEnthalpyInversion",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion,fileNamePrefix="BuildingSystems_BuildingSystems_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.004849/0.004849, allocations: 97.98 kB / 15.73 MB, free: 5.602 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.001436/0.001436, allocations: 194.9 kB / 16.68 MB, free: 5.523 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.325/1.325, allocations: 222.9 MB / 240.4 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002428/0.002428, allocations: 280.4 kB / 290.8 MB, free: 14.46 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9526/0.9526, allocations: 169.3 MB / 0.4983 GB, free: 4.422 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002629/0.002629, allocations: 87.86 kB / 0.6809 GB, free: 7.465 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3912/0.3938, allocations: 86.98 MB / 0.7659 GB, free: 3.82 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion): time 0.005244/0.3991, allocations: 3.721 MB / 0.7695 GB, free: 80 kB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.0002089/0.3993, allocations: 155.5 kB / 0.7697 GB, free: 15.93 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.739e-05/0.3993, allocations: 0 / 0.7697 GB, free: 15.93 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 9.23e-05/0.3994, allocations: 7.922 kB / 0.7697 GB, free: 15.92 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 6.244e-05/0.3995, allocations: 15.86 kB / 0.7697 GB, free: 15.9 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003039/0.3998, allocations: 82.56 kB / 0.7698 GB, free: 15.82 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 8.091e-05/0.3999, allocations: 35.86 kB / 0.7698 GB, free: 15.79 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 3.403e-05/0.3999, allocations: 3.984 kB / 0.7698 GB, free: 15.79 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 3.73e-05/0.4, allocations: 19.98 kB / 0.7698 GB, free: 15.77 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 5.966e-05/0.4001, allocations: 7.984 kB / 0.7698 GB, free: 15.76 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 1.01e-05/0.4001, allocations: 3.938 kB / 0.7698 GB, free: 15.75 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000494/0.4006, allocations: 187.4 kB / 0.77 GB, free: 15.57 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 3.647e-05/0.4006, allocations: 7.984 kB / 0.77 GB, free: 15.56 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 2.594e-05/0.4006, allocations: 4 kB / 0.77 GB, free: 15.56 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0001199/0.4008, allocations: 47.69 kB / 0.7701 GB, free: 15.52 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 3.096e-06/0.4008, allocations: 0 / 0.7701 GB, free: 15.52 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.092e-06/0.4008, allocations: 0 / 0.7701 GB, free: 15.52 MB / 0.545 GB Notification: Performance of Transformations before backend: time 3.747e-06/0.4008, allocations: 4 kB / 0.7701 GB, free: 15.51 MB / 0.545 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.0003846/0.4012, allocations: 336.7 kB / 0.7704 GB, free: 15.14 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.67e-05/0.4012, allocations: 12.03 kB / 0.7704 GB, free: 15.13 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.644e-05/0.4013, allocations: 34.69 kB / 0.7704 GB, free: 15.09 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.814e-05/0.4013, allocations: 4.922 kB / 0.7705 GB, free: 15.08 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001293/0.4014, allocations: 164.4 kB / 0.7706 GB, free: 14.88 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.568e-05/0.4015, allocations: 30.27 kB / 0.7706 GB, free: 14.85 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.23e-05/0.4015, allocations: 4.125 kB / 0.7706 GB, free: 14.84 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001131/0.4016, allocations: 45.69 kB / 0.7707 GB, free: 14.79 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.534e-06/0.4017, allocations: 0 / 0.7707 GB, free: 14.79 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.061e-05/0.4017, allocations: 3.984 kB / 0.7707 GB, free: 14.79 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.406e-05/0.4017, allocations: 0 / 0.7707 GB, free: 14.79 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.884e-05/0.4017, allocations: 23.91 kB / 0.7707 GB, free: 14.77 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004082/0.4022, allocations: 334 kB / 0.771 GB, free: 14.37 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 3.166e-05/0.4022, allocations: 18.58 kB / 0.771 GB, free: 14.34 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.348e-05/0.4022, allocations: 8.859 kB / 0.7711 GB, free: 14.33 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 9.132e-05/0.4023, allocations: 85.16 kB / 0.7711 GB, free: 14.23 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.433e-05/0.4023, allocations: 38.5 kB / 0.7712 GB, free: 14.18 MB / 0.545 GB Notification: Performance of pre-optimization done (n=1): time 1.203e-06/0.4024, allocations: 0 / 0.7712 GB, free: 14.18 MB / 0.545 GB Notification: Performance of matching and sorting (n=1): time 0.000133/0.4025, allocations: 41.59 kB / 0.7712 GB, free: 14.14 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.834e-05/0.4025, allocations: 51.41 kB / 0.7713 GB, free: 14.07 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.58e-05/0.4026, allocations: 113.7 kB / 0.7714 GB, free: 13.95 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 1.985e-05/0.4027, allocations: 29.83 kB / 0.7714 GB, free: 13.92 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 4.613e-05/0.4027, allocations: 84.09 kB / 0.7715 GB, free: 13.83 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 4.248e-06/0.4027, allocations: 0 / 0.7715 GB, free: 13.83 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.355e-05/0.4028, allocations: 21.7 kB / 0.7715 GB, free: 13.8 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001232/0.4029, allocations: 318.8 kB / 0.7718 GB, free: 13.48 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.248e-05/0.4029, allocations: 0 / 0.7718 GB, free: 13.48 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.401e-05/0.4029, allocations: 13.72 kB / 0.7718 GB, free: 13.46 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.331e-05/0.403, allocations: 33.64 kB / 0.7718 GB, free: 13.43 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.423e-06/0.403, allocations: 0 / 0.7718 GB, free: 13.43 MB / 0.545 GB Notification: Performance of matching and sorting (n=3) (initialization): time 7.367e-05/0.4031, allocations: 45.69 kB / 0.7719 GB, free: 13.38 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.259e-05/0.4031, allocations: 8 kB / 0.7719 GB, free: 13.37 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.476e-06/0.4031, allocations: 0 / 0.7719 GB, free: 13.37 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.639e-05/0.4031, allocations: 4 kB / 0.7719 GB, free: 13.36 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.097e-05/0.4032, allocations: 7.938 kB / 0.7719 GB, free: 13.36 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.108e-06/0.4032, allocations: 0 / 0.7719 GB, free: 13.36 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.038e-05/0.4032, allocations: 12.02 kB / 0.7719 GB, free: 13.34 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.704e-06/0.4032, allocations: 0 / 0.7719 GB, free: 13.34 MB / 0.545 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.397e-05/0.4033, allocations: 117.8 kB / 0.772 GB, free: 13.22 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.249e-05/0.4033, allocations: 0 / 0.772 GB, free: 13.22 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001048/0.4034, allocations: 117 kB / 0.7721 GB, free: 13.1 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.497e-05/0.4035, allocations: 184.2 kB / 0.7723 GB, free: 12.91 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.409e-05/0.4036, allocations: 180.3 kB / 0.7725 GB, free: 12.73 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.119e-05/0.4037, allocations: 192.2 kB / 0.7727 GB, free: 12.53 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002537/0.4039, allocations: 405.2 kB / 0.7731 GB, free: 12.08 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.566e-05/0.404, allocations: 101 kB / 0.7732 GB, free: 11.97 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.482e-05/0.404, allocations: 112.9 kB / 0.7733 GB, free: 11.86 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.174e-05/0.4041, allocations: 180.3 kB / 0.7734 GB, free: 11.67 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.315e-05/0.4042, allocations: 180.2 kB / 0.7736 GB, free: 11.49 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.789e-05/0.4043, allocations: 176.3 kB / 0.7738 GB, free: 11.31 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.551e-05/0.4043, allocations: 184.2 kB / 0.774 GB, free: 11.12 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001565/0.4045, allocations: 307.7 kB / 0.7742 GB, free: 10.8 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 8.371e-05/0.4046, allocations: 186 kB / 0.7744 GB, free: 10.59 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.979e-05/0.4047, allocations: 180.2 kB / 0.7746 GB, free: 10.41 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000151/0.4048, allocations: 105 kB / 0.7747 GB, free: 10.3 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.938e-05/0.4049, allocations: 184.2 kB / 0.7749 GB, free: 10.11 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.757e-05/0.405, allocations: 108.9 kB / 0.775 GB, free: 9.996 MB / 0.545 GB Notification: Performance of sorting global known variables: time 5.208e-05/0.405, allocations: 87.27 kB / 0.7751 GB, free: 9.91 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.5e-07/0.405, allocations: 3.938 kB / 0.7751 GB, free: 9.906 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.000254/0.4053, allocations: 19.88 kB / 0.7751 GB, free: 9.887 MB / 0.545 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.0005415/0.4059, allocations: 0.8359 MB / 0.7759 GB, free: 9.023 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 6.997e-05/0.4059, allocations: 15.98 kB / 0.7759 GB, free: 9.008 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.993e-06/0.4059, allocations: 0 / 0.7759 GB, free: 9.008 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 4.999e-06/0.4059, allocations: 7.938 kB / 0.7759 GB, free: 9 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003932/0.4063, allocations: 452.6 kB / 0.7764 GB, free: 8.555 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001028/0.4074, allocations: 1.332 MB / 0.7777 GB, free: 7.133 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002841/0.4077, allocations: 0.6768 MB / 0.7783 GB, free: 6.43 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 3.652e-05/0.4077, allocations: 4.422 kB / 0.7783 GB, free: 6.426 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.031e-05/0.4077, allocations: 7.438 kB / 0.7783 GB, free: 6.418 MB / 0.545 GB Notification: Performance of SimCode: time 2.41e-07/0.4077, allocations: 0 / 0.7783 GB, free: 6.418 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02209/0.4298, allocations: 1.545 MB / 0.7798 GB, free: 5.035 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.28/7.71, allocations: 9.5 kB / 0.7798 GB, free: 5.031 MB / 0.545 GB (rm -f BuildingSystems_BuildingSystems.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.pipe ; mkfifo BuildingSystems_BuildingSystems.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.pipe >> ../files/BuildingSystems_BuildingSystems.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.sim & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.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 BuildingSystems_BuildingSystems_Media_Examples_PropyleneGlycolWaterTemperatureEnthalpyInversion.fmu > BuildingSystems_BuildingSystems.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.pipe 2>&1)