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.005104/0.005104, allocations: 102.6 kB / 15.73 MB, free: 5.992 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.001343/0.001343, allocations: 191.2 kB / 16.67 MB, free: 5.91 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.443/1.443, allocations: 222.9 MB / 240.4 MB, free: 4.133 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002507/0.002507, allocations: 291.1 kB / 290.8 MB, free: 1.723 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.086/1.086, allocations: 178.6 MB / 0.5074 GB, free: 4.453 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.003741/0.003741, allocations: 95.84 kB / 0.6943 GB, free: 3.586 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4629/0.4666, allocations: 89.14 MB / 0.7813 GB, free: 13.83 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion): time 0.005854/0.4725, allocations: 3.725 MB / 0.785 GB, free: 11.17 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.0002501/0.4728, allocations: 157.6 kB / 0.7851 GB, free: 11.06 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.444e-05/0.4728, allocations: 0 / 0.7851 GB, free: 11.06 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0001122/0.473, allocations: 2.109 kB / 0.7851 GB, free: 11.06 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 8.085e-05/0.4731, allocations: 9.422 kB / 0.7851 GB, free: 11.05 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003731/0.4734, allocations: 87.2 kB / 0.7852 GB, free: 11.01 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0001092/0.4736, allocations: 41.83 kB / 0.7852 GB, free: 10.99 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 4.731e-05/0.4736, allocations: 2.859 kB / 0.7852 GB, free: 10.99 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 4.203e-05/0.4737, allocations: 10.3 kB / 0.7853 GB, free: 10.99 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 7.648e-05/0.4737, allocations: 16.59 kB / 0.7853 GB, free: 10.98 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 1.465e-05/0.4738, allocations: 1.031 kB / 0.7853 GB, free: 10.98 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005958/0.4744, allocations: 190.3 kB / 0.7855 GB, free: 10.91 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 4.023e-05/0.4744, allocations: 8.844 kB / 0.7855 GB, free: 10.9 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 2.947e-05/0.4745, allocations: 13.48 kB / 0.7855 GB, free: 10.89 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.000144/0.4746, allocations: 41.95 kB / 0.7855 GB, free: 10.89 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.436e-06/0.4746, allocations: 0 / 0.7855 GB, free: 10.89 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.743e-06/0.4746, allocations: 1.375 kB / 0.7855 GB, free: 10.89 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 4.92e-06/0.4746, allocations: 0 / 0.7855 GB, free: 10.89 MB / 0.5606 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.0004383/0.4751, allocations: 339.4 kB / 0.7858 GB, free: 10.53 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.945e-05/0.4751, allocations: 10 kB / 0.7858 GB, free: 10.53 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.649e-05/0.4752, allocations: 40.22 kB / 0.7859 GB, free: 10.48 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.332e-05/0.4752, allocations: 2.688 kB / 0.7859 GB, free: 10.48 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001353/0.4754, allocations: 166.5 kB / 0.786 GB, free: 10.28 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.693e-05/0.4754, allocations: 28.44 kB / 0.7861 GB, free: 10.25 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.133e-05/0.4755, allocations: 9.062 kB / 0.7861 GB, free: 10.24 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000129/0.4756, allocations: 43.52 kB / 0.7861 GB, free: 10.21 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.797e-06/0.4756, allocations: 0 / 0.7861 GB, free: 10.21 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.139e-05/0.4756, allocations: 5.375 kB / 0.7861 GB, free: 10.2 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.731e-05/0.4756, allocations: 2.047 kB / 0.7861 GB, free: 10.2 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.405e-05/0.4757, allocations: 12.52 kB / 0.7861 GB, free: 10.2 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004581/0.4762, allocations: 335.8 kB / 0.7865 GB, free: 9.832 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 4.202e-05/0.4762, allocations: 18.05 kB / 0.7865 GB, free: 9.809 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.688e-05/0.4762, allocations: 10.2 kB / 0.7865 GB, free: 9.797 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 9.297e-05/0.4763, allocations: 83.95 kB / 0.7866 GB, free: 9.703 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.656e-05/0.4764, allocations: 36.89 kB / 0.7866 GB, free: 9.66 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=1): time 1.252e-06/0.4764, allocations: 0 / 0.7866 GB, free: 9.66 MB / 0.5606 GB Notification: Performance of matching and sorting (n=1): time 0.000148/0.4765, allocations: 41.09 kB / 0.7866 GB, free: 9.621 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.34e-05/0.4766, allocations: 52.16 kB / 0.7867 GB, free: 9.559 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.282e-05/0.4767, allocations: 106.7 kB / 0.7868 GB, free: 9.453 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 1.983e-05/0.4767, allocations: 25.7 kB / 0.7868 GB, free: 9.422 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 5.508e-05/0.4768, allocations: 97.91 kB / 0.7869 GB, free: 9.324 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 6.021e-06/0.4768, allocations: 1.734 kB / 0.7869 GB, free: 9.324 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.644e-05/0.4768, allocations: 18.61 kB / 0.7869 GB, free: 9.305 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.000138/0.477, allocations: 317.6 kB / 0.7872 GB, free: 8.988 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.702e-05/0.477, allocations: 10.16 kB / 0.7872 GB, free: 8.98 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.04e-05/0.477, allocations: 20.08 kB / 0.7873 GB, free: 8.961 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.7e-05/0.4771, allocations: 16.47 kB / 0.7873 GB, free: 8.945 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.433e-06/0.4771, allocations: 1.5 kB / 0.7873 GB, free: 8.945 MB / 0.5606 GB Notification: Performance of matching and sorting (n=3) (initialization): time 7.96e-05/0.4772, allocations: 48.56 kB / 0.7873 GB, free: 8.906 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.417e-05/0.4772, allocations: 11.78 kB / 0.7873 GB, free: 8.902 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.029e-06/0.4772, allocations: 0.6094 kB / 0.7873 GB, free: 8.902 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.215e-05/0.4772, allocations: 1.719 kB / 0.7873 GB, free: 8.902 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.315e-05/0.4773, allocations: 5.281 kB / 0.7873 GB, free: 8.902 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.889e-06/0.4773, allocations: 1.375 kB / 0.7873 GB, free: 8.902 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.278e-05/0.4773, allocations: 5.078 kB / 0.7874 GB, free: 8.898 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.927e-06/0.4773, allocations: 2.844 kB / 0.7874 GB, free: 8.898 MB / 0.5606 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 8.077e-05/0.4774, allocations: 115.6 kB / 0.7875 GB, free: 8.777 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.574e-05/0.4774, allocations: 1.797 kB / 0.7875 GB, free: 8.777 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001267/0.4776, allocations: 126.1 kB / 0.7876 GB, free: 8.656 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.911e-05/0.4776, allocations: 180.9 kB / 0.7878 GB, free: 8.473 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.927e-05/0.4777, allocations: 186.6 kB / 0.7879 GB, free: 8.285 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.901e-05/0.4778, allocations: 182.2 kB / 0.7881 GB, free: 8.102 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002828/0.4781, allocations: 407.9 kB / 0.7885 GB, free: 7.652 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.071e-05/0.4782, allocations: 115 kB / 0.7886 GB, free: 7.535 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.378e-05/0.4782, allocations: 101.6 kB / 0.7887 GB, free: 7.43 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.047e-05/0.4783, allocations: 182.2 kB / 0.7889 GB, free: 7.246 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.677e-05/0.4784, allocations: 178.1 kB / 0.7891 GB, free: 7.066 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.884e-05/0.4785, allocations: 182.4 kB / 0.7892 GB, free: 6.883 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.354e-05/0.4786, allocations: 182.2 kB / 0.7894 GB, free: 6.699 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001619/0.4787, allocations: 309.9 kB / 0.7897 GB, free: 6.379 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 9.367e-05/0.4788, allocations: 179.2 kB / 0.7899 GB, free: 6.18 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.836e-05/0.4789, allocations: 187.7 kB / 0.79 GB, free: 5.992 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001682/0.4791, allocations: 110 kB / 0.7901 GB, free: 5.883 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.389e-05/0.4792, allocations: 180.9 kB / 0.7903 GB, free: 5.699 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.173e-05/0.4793, allocations: 107 kB / 0.7904 GB, free: 5.59 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 5.453e-05/0.4793, allocations: 82.91 kB / 0.7905 GB, free: 5.516 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.4e-07/0.4793, allocations: 3.938 kB / 0.7905 GB, free: 5.512 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0002763/0.4796, allocations: 24.83 kB / 0.7905 GB, free: 5.5 MB / 0.5606 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.000557/0.4802, allocations: 0.8277 MB / 0.7913 GB, free: 4.688 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 7.047e-05/0.4803, allocations: 19.78 kB / 0.7914 GB, free: 4.676 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.244e-06/0.4803, allocations: 0 / 0.7914 GB, free: 4.676 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 1.773e-06/0.4803, allocations: 1.281 kB / 0.7914 GB, free: 4.676 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004215/0.4807, allocations: 460.7 kB / 0.7918 GB, free: 4.227 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00109/0.4818, allocations: 1.316 MB / 0.7931 GB, free: 2.895 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003023/0.4821, allocations: 0.678 MB / 0.7937 GB, free: 2.195 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 4.173e-05/0.4822, allocations: 8.844 kB / 0.7938 GB, free: 2.191 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.335e-05/0.4822, allocations: 10.53 kB / 0.7938 GB, free: 2.184 MB / 0.5606 GB Notification: Performance of SimCode: time 2.81e-07/0.4822, allocations: 0 / 0.7938 GB, free: 2.184 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02179/0.504, allocations: 1.54 MB / 0.7953 GB, free: 1.824 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.768/8.272, allocations: 8.312 kB / 0.7953 GB, free: 1.82 MB / 0.5606 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)