Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion,fileNamePrefix="Buildings_8_0_0_Buildings_Media_Examples_PropyleneGlycolWaterTemperatureEnthalpyInversion",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion,fileNamePrefix="Buildings_8_0_0_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.0/package.mo): time 2.85/2.85, allocations: 287.5 MB / 302.4 MB, free: 8.438 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.001309/0.001309, allocations: 178.3 kB / 371 MB, free: 10.86 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.104/2.104, allocations: 205.4 MB / 0.6297 GB, free: 10.56 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.0009151/0.0009148, allocations: 90.17 kB / 0.743 GB, free: 6.562 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0005068/0.000507, allocations: 10.94 kB / 0.8659 GB, free: 141.2 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2252/0.2257, allocations: 115.3 MB / 0.9784 GB, free: 28.27 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion): time 0.005223/0.231, allocations: 3.289 MB / 0.9816 GB, free: 24.96 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.0002441/0.2313, allocations: 151.6 kB / 0.9818 GB, free: 24.81 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.317e-05/0.2313, allocations: 0 / 0.9818 GB, free: 24.81 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0001172/0.2315, allocations: 0 / 0.9818 GB, free: 24.81 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 8.666e-05/0.2316, allocations: 15.91 kB / 0.9818 GB, free: 24.79 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.000338/0.2319, allocations: 48.69 kB / 0.9819 GB, free: 24.75 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 9.356e-05/0.232, allocations: 51.81 kB / 0.9819 GB, free: 24.7 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 5.066e-05/0.2321, allocations: 4 kB / 0.9819 GB, free: 24.69 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 4.116e-05/0.2321, allocations: 11.98 kB / 0.9819 GB, free: 24.68 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 7.359e-05/0.2322, allocations: 15.92 kB / 0.9819 GB, free: 24.66 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.569e-05/0.2322, allocations: 0 / 0.9819 GB, free: 24.66 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006791/0.2329, allocations: 147.6 kB / 0.9821 GB, free: 24.52 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 3.519e-05/0.233, allocations: 7.969 kB / 0.9821 GB, free: 24.51 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 2.348e-05/0.233, allocations: 29.7 kB / 0.9821 GB, free: 24.48 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0001167/0.2331, allocations: 28.14 kB / 0.9821 GB, free: 24.45 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 5.29e-06/0.2332, allocations: 4 kB / 0.9821 GB, free: 24.45 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.894e-06/0.2332, allocations: 0 / 0.9821 GB, free: 24.45 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 4.839e-06/0.2332, allocations: 0 / 0.9821 GB, free: 24.45 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.0003825/0.2336, allocations: 327.4 kB / 0.9825 GB, free: 24.08 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.532e-05/0.2336, allocations: 8.031 kB / 0.9825 GB, free: 24.07 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.208e-05/0.2337, allocations: 30.56 kB / 0.9825 GB, free: 24.03 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.817e-05/0.2337, allocations: 11.86 kB / 0.9825 GB, free: 24.02 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.489e-05/0.2338, allocations: 163.1 kB / 0.9827 GB, free: 23.82 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.406e-05/0.2339, allocations: 33.69 kB / 0.9827 GB, free: 23.78 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.002e-05/0.2339, allocations: 4 kB / 0.9827 GB, free: 23.78 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001621/0.2341, allocations: 49.61 kB / 0.9827 GB, free: 23.72 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.908e-06/0.2341, allocations: 0 / 0.9827 GB, free: 23.72 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.199e-05/0.2342, allocations: 0 / 0.9827 GB, free: 23.72 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.378e-05/0.2342, allocations: 7.953 kB / 0.9827 GB, free: 23.71 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.801e-05/0.2343, allocations: 15.98 kB / 0.9828 GB, free: 23.7 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004401/0.2347, allocations: 334 kB / 0.9831 GB, free: 23.3 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 3.855e-05/0.2348, allocations: 18.58 kB / 0.9831 GB, free: 23.28 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.973e-05/0.2348, allocations: 12.8 kB / 0.9831 GB, free: 23.26 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 8.747e-05/0.2349, allocations: 89.16 kB / 0.9832 GB, free: 23.16 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.654e-05/0.2349, allocations: 38.5 kB / 0.9832 GB, free: 23.11 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=1): time 1.734e-06/0.2349, allocations: 0 / 0.9832 GB, free: 23.11 MB / 0.6198 GB Notification: Performance of matching and sorting (n=1): time 0.0001606/0.2351, allocations: 33.7 kB / 0.9833 GB, free: 23.07 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.629e-05/0.2352, allocations: 59.53 kB / 0.9833 GB, free: 23 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.185e-05/0.2352, allocations: 97.84 kB / 0.9834 GB, free: 22.89 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.307e-05/0.2353, allocations: 29.7 kB / 0.9834 GB, free: 22.86 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 3.537e-05/0.2353, allocations: 88.05 kB / 0.9835 GB, free: 22.77 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 6.482e-06/0.2353, allocations: 3.906 kB / 0.9835 GB, free: 22.77 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.416e-06/0.2353, allocations: 3.938 kB / 0.9835 GB, free: 22.76 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 5.805e-05/0.2354, allocations: 310.8 kB / 0.9838 GB, free: 22.45 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.143e-05/0.2354, allocations: 15.92 kB / 0.9838 GB, free: 22.43 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.704e-05/0.2355, allocations: 17.72 kB / 0.9839 GB, free: 22.41 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.719e-05/0.2355, allocations: 4 kB / 0.9839 GB, free: 22.41 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.525e-06/0.2355, allocations: 3.938 kB / 0.9839 GB, free: 22.4 MB / 0.6198 GB Notification: Performance of matching and sorting (n=3) (initialization): time 9.191e-05/0.2356, allocations: 49.62 kB / 0.9839 GB, free: 22.35 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.729e-05/0.2356, allocations: 7.953 kB / 0.9839 GB, free: 22.34 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.531e-06/0.2357, allocations: 0 / 0.9839 GB, free: 22.34 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.625e-05/0.2357, allocations: 4 kB / 0.9839 GB, free: 22.34 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.401e-05/0.2358, allocations: 4.062 kB / 0.9839 GB, free: 22.33 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.552e-06/0.2358, allocations: 4 kB / 0.9839 GB, free: 22.33 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.728e-05/0.2358, allocations: 0 / 0.9839 GB, free: 22.33 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.524e-05/0.2358, allocations: 7.984 kB / 0.9839 GB, free: 22.32 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 6.467e-05/0.2359, allocations: 109.8 kB / 0.984 GB, free: 22.2 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.24e-05/0.236, allocations: 4 kB / 0.9841 GB, free: 22.2 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001114/0.2361, allocations: 116.9 kB / 0.9842 GB, free: 22.08 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.929e-05/0.2361, allocations: 188.2 kB / 0.9843 GB, free: 21.89 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.633e-05/0.2362, allocations: 180.3 kB / 0.9845 GB, free: 21.7 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.208e-05/0.2362, allocations: 180.2 kB / 0.9847 GB, free: 21.52 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001809/0.2364, allocations: 401.2 kB / 0.9851 GB, free: 21.07 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.061e-05/0.2364, allocations: 104.9 kB / 0.9852 GB, free: 20.96 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.083e-05/0.2365, allocations: 105 kB / 0.9853 GB, free: 20.85 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.451e-05/0.2365, allocations: 184.3 kB / 0.9854 GB, free: 20.66 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.601e-05/0.2366, allocations: 184.2 kB / 0.9856 GB, free: 20.48 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.29e-05/0.2366, allocations: 180.2 kB / 0.9858 GB, free: 20.29 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.23e-05/0.2367, allocations: 180.2 kB / 0.986 GB, free: 20.11 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.872e-05/0.2368, allocations: 315.7 kB / 0.9863 GB, free: 19.78 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 5.699e-05/0.2368, allocations: 186 kB / 0.9864 GB, free: 19.57 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.202e-05/0.2369, allocations: 176.3 kB / 0.9866 GB, free: 19.39 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002045/0.2371, allocations: 116.9 kB / 0.9867 GB, free: 19.27 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.078e-05/0.2372, allocations: 184.2 kB / 0.9869 GB, free: 19.08 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.402e-05/0.2372, allocations: 109 kB / 0.987 GB, free: 18.97 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 6.342e-05/0.2373, allocations: 79.28 kB / 0.9871 GB, free: 18.89 MB / 0.6198 GB Notification: Performance of sort global known variables: time 4.11e-07/0.2373, allocations: 3.938 kB / 0.9871 GB, free: 18.89 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.000345/0.2376, allocations: 27.92 kB / 0.9871 GB, free: 18.86 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.000365/0.238, allocations: 0.8088 MB / 0.9879 GB, free: 18.02 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 9.512e-05/0.2381, allocations: 15.94 kB / 0.9879 GB, free: 18 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 3.917e-06/0.2381, allocations: 0 / 0.9879 GB, free: 18 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 2.615e-06/0.2381, allocations: 3.938 kB / 0.9879 GB, free: 18 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004263/0.2386, allocations: 0.534 MB / 0.9884 GB, free: 17.46 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004515/0.239, allocations: 221.7 kB / 0.9887 GB, free: 17.2 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001497/0.2392, allocations: 0.677 MB / 0.9893 GB, free: 16.5 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 7.248e-05/0.2393, allocations: 6.906 kB / 0.9893 GB, free: 16.5 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.148e-05/0.2394, allocations: 11.44 kB / 0.9893 GB, free: 16.48 MB / 0.6198 GB Notification: Performance of SimCode: time 1.413e-06/0.2394, allocations: 0 / 0.9893 GB, free: 16.48 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02589/0.2653, allocations: 1.217 MB / 0.9905 GB, free: 15.45 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000377/0.2657, allocations: 210.4 kB / 0.9907 GB, free: 15.22 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.563/2.829, allocations: 4.062 kB / 0.9907 GB, free: 15.21 MB / 0.6198 GB (rm -f Buildings_8.0.0_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.pipe ; mkfifo Buildings_8.0.0_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.pipe >> ../files/Buildings_8.0.0_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Media_Examples_PropyleneGlycolWaterTemperatureEnthalpyInversion_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Media_Examples_PropyleneGlycolWaterTemperatureEnthalpyInversion.fmu > Buildings_8.0.0_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.pipe 2>&1)