Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Media_Examples_PropyleneGlycolWaterTemperatureEnthalpyInversion",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Media_Examples_PropyleneGlycolWaterTemperatureEnthalpyInversion",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.595/1.595, allocations: 288.4 MB / 303.6 MB, free: 8.09 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001056/0.001056, allocations: 179.5 kB / 372.2 MB, free: 10.12 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.174/1.174, allocations: 205.4 MB / 0.631 GB, free: 9.863 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0006296/0.0006296, allocations: 98.28 kB / 0.7444 GB, free: 5.781 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003296/0.0003296, allocations: 11.44 kB / 0.8676 GB, free: 141.7 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1474/0.1477, allocations: 115.3 MB / 0.9802 GB, free: 27.27 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion): time 0.002715/0.1505, allocations: 3.292 MB / 0.9834 GB, free: 23.96 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.0001111/0.1506, allocations: 139.7 kB / 0.9835 GB, free: 23.82 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.838e-05/0.1506, allocations: 0 / 0.9835 GB, free: 23.82 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 7.686e-05/0.1507, allocations: 7.984 kB / 0.9835 GB, free: 23.81 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 5.61e-05/0.1508, allocations: 19.92 kB / 0.9835 GB, free: 23.79 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002148/0.151, allocations: 63.77 kB / 0.9836 GB, free: 23.73 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 5.706e-05/0.1511, allocations: 35.89 kB / 0.9836 GB, free: 23.7 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 3.31e-05/0.1511, allocations: 4 kB / 0.9836 GB, free: 23.69 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 2.803e-05/0.1511, allocations: 15.92 kB / 0.9837 GB, free: 23.68 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 5.113e-05/0.1512, allocations: 11.98 kB / 0.9837 GB, free: 23.66 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 9.629e-06/0.1512, allocations: 7.938 kB / 0.9837 GB, free: 23.66 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003661/0.1516, allocations: 191.5 kB / 0.9839 GB, free: 23.47 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 2.488e-05/0.1516, allocations: 4 kB / 0.9839 GB, free: 23.46 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 2.54e-05/0.1516, allocations: 45.61 kB / 0.9839 GB, free: 23.41 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 6.721e-05/0.1517, allocations: 28.2 kB / 0.9839 GB, free: 23.39 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 3.446e-06/0.1517, allocations: 0 / 0.9839 GB, free: 23.39 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.092e-06/0.1517, allocations: 0 / 0.9839 GB, free: 23.39 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 3.096e-06/0.1517, allocations: 0 / 0.9839 GB, free: 23.39 MB / 0.6198 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.0002518/0.152, allocations: 327.6 kB / 0.9843 GB, free: 23.02 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.027e-05/0.152, allocations: 12.03 kB / 0.9843 GB, free: 23.01 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.31e-05/0.1521, allocations: 34.75 kB / 0.9843 GB, free: 22.96 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.241e-05/0.1521, allocations: 8.844 kB / 0.9843 GB, free: 22.96 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.598e-05/0.1521, allocations: 160.4 kB / 0.9845 GB, free: 22.76 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.844e-05/0.1522, allocations: 30.25 kB / 0.9845 GB, free: 22.73 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.051e-05/0.1522, allocations: 8.125 kB / 0.9845 GB, free: 22.72 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001142/0.1523, allocations: 41.69 kB / 0.9845 GB, free: 22.67 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.413e-06/0.1523, allocations: 3.938 kB / 0.9845 GB, free: 22.67 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.125e-06/0.1524, allocations: 0 / 0.9845 GB, free: 22.67 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.752e-05/0.1524, allocations: 7.938 kB / 0.9845 GB, free: 22.66 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.901e-05/0.1524, allocations: 19.97 kB / 0.9846 GB, free: 22.64 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003211/0.1528, allocations: 337.9 kB / 0.9849 GB, free: 22.24 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 2.496e-05/0.1528, allocations: 18.58 kB / 0.9849 GB, free: 22.21 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.242e-05/0.1528, allocations: 8.859 kB / 0.9849 GB, free: 22.2 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 5.847e-05/0.1529, allocations: 85.17 kB / 0.985 GB, free: 22.1 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.576e-05/0.1529, allocations: 38.5 kB / 0.985 GB, free: 22.05 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=1): time 1.002e-06/0.1529, allocations: 0 / 0.985 GB, free: 22.05 MB / 0.6198 GB Notification: Performance of matching and sorting (n=1): time 0.000109/0.153, allocations: 33.69 kB / 0.9851 GB, free: 22.02 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.804e-05/0.153, allocations: 55.41 kB / 0.9851 GB, free: 21.95 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.697e-05/0.1531, allocations: 101.8 kB / 0.9852 GB, free: 21.84 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 7.414e-06/0.1531, allocations: 25.7 kB / 0.9852 GB, free: 21.81 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 2.124e-05/0.1531, allocations: 84.05 kB / 0.9853 GB, free: 21.72 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 5.03e-06/0.1531, allocations: 16.03 kB / 0.9853 GB, free: 21.71 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.504e-06/0.1532, allocations: 3.938 kB / 0.9853 GB, free: 21.7 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 3.675e-05/0.1532, allocations: 314.8 kB / 0.9856 GB, free: 21.39 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.135e-05/0.1532, allocations: 4 kB / 0.9856 GB, free: 21.38 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.844e-05/0.1532, allocations: 17.7 kB / 0.9857 GB, free: 21.36 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.418e-05/0.1533, allocations: 21.66 kB / 0.9857 GB, free: 21.33 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.322e-06/0.1533, allocations: 4 kB / 0.9857 GB, free: 21.33 MB / 0.6198 GB Notification: Performance of matching and sorting (n=3) (initialization): time 5.481e-05/0.1533, allocations: 49.62 kB / 0.9857 GB, free: 21.27 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 9.097e-06/0.1533, allocations: 8 kB / 0.9857 GB, free: 21.27 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.587e-06/0.1534, allocations: 0 / 0.9857 GB, free: 21.27 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.526e-06/0.1534, allocations: 0 / 0.9857 GB, free: 21.27 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.566e-05/0.1534, allocations: 4 kB / 0.9857 GB, free: 21.26 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.789e-06/0.1534, allocations: 4 kB / 0.9857 GB, free: 21.26 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.609e-05/0.1534, allocations: 3.984 kB / 0.9857 GB, free: 21.25 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.143e-06/0.1534, allocations: 0 / 0.9857 GB, free: 21.25 MB / 0.6198 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 4.431e-05/0.1535, allocations: 121.8 kB / 0.9859 GB, free: 21.12 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.789e-05/0.1535, allocations: 0 / 0.9859 GB, free: 21.12 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.722e-05/0.1536, allocations: 120.9 kB / 0.986 GB, free: 21 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.053e-05/0.1536, allocations: 180.2 kB / 0.9862 GB, free: 20.82 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.224e-05/0.1537, allocations: 176.3 kB / 0.9863 GB, free: 20.64 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.103e-05/0.1537, allocations: 192.2 kB / 0.9865 GB, free: 20.44 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001123/0.1538, allocations: 401.2 kB / 0.9869 GB, free: 19.99 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.259e-05/0.1538, allocations: 108.9 kB / 0.987 GB, free: 19.88 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.224e-05/0.1538, allocations: 105 kB / 0.9871 GB, free: 19.77 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.935e-05/0.1539, allocations: 176.3 kB / 0.9873 GB, free: 19.59 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.159e-05/0.1539, allocations: 184.2 kB / 0.9874 GB, free: 19.4 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.984e-05/0.1539, allocations: 188.3 kB / 0.9876 GB, free: 19.21 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.023e-05/0.1539, allocations: 184.1 kB / 0.9878 GB, free: 19.02 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.64e-05/0.154, allocations: 311.6 kB / 0.9881 GB, free: 18.7 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 2.939e-05/0.154, allocations: 182.1 kB / 0.9883 GB, free: 18.49 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.213e-05/0.1541, allocations: 184.3 kB / 0.9884 GB, free: 18.3 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001092/0.1542, allocations: 120.9 kB / 0.9885 GB, free: 18.18 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.427e-05/0.1542, allocations: 176.3 kB / 0.9887 GB, free: 18 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.215e-05/0.1542, allocations: 104.9 kB / 0.9888 GB, free: 17.89 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 2.46e-05/0.1543, allocations: 83.27 kB / 0.9889 GB, free: 17.81 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.1e-07/0.1543, allocations: 4 kB / 0.9889 GB, free: 17.8 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0002031/0.1545, allocations: 23.88 kB / 0.9889 GB, free: 17.78 MB / 0.6198 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000238/0.1547, allocations: 0.8243 MB / 0.9897 GB, free: 16.93 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 4.78e-05/0.1548, allocations: 15.94 kB / 0.9897 GB, free: 16.91 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 1.493e-06/0.1548, allocations: 4.125 kB / 0.9897 GB, free: 16.91 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 1.202e-06/0.1548, allocations: 0 / 0.9897 GB, free: 16.91 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002507/0.155, allocations: 0.5231 MB / 0.9903 GB, free: 16.38 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002541/0.1553, allocations: 221.5 kB / 0.9905 GB, free: 16.12 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.359e-05/0.1554, allocations: 0.6731 MB / 0.9911 GB, free: 15.42 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 3.243e-05/0.1554, allocations: 10.86 kB / 0.9911 GB, free: 15.41 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.685e-05/0.1555, allocations: 7.438 kB / 0.9911 GB, free: 15.41 MB / 0.6198 GB Notification: Performance of SimCode: time 6.52e-07/0.1555, allocations: 0 / 0.9911 GB, free: 15.41 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3409/0.4963, allocations: 1.239 MB / 0.9924 GB, free: 14.36 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000167/0.4965, allocations: 225.6 kB / 0.9926 GB, free: 14.12 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.991/2.487, allocations: 3.094 kB / 0.9926 GB, free: 14.12 MB / 0.6198 GB (rm -f Buildings_maint.8.0.x_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Media_Examples_PropyleneGlycolWaterTemperatureEnthalpyInversion_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Media_Examples_PropyleneGlycolWaterTemperatureEnthalpyInversion.fmu > Buildings_maint.8.0.x_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.pipe 2>&1)