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: translateModel(Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion") translateModel(Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.733/2.733, allocations: 287.5 MB / 302.4 MB, free: 8.34 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.001364/0.001364, allocations: 188.2 kB / 371 MB, free: 10.87 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.323/2.323, allocations: 205.4 MB / 0.6297 GB, free: 10.61 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.0009404/0.0009403, allocations: 88.97 kB / 0.743 GB, free: 6.633 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004769/0.0004772, allocations: 11.8 kB / 0.8658 GB, free: 140.8 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2207/0.2212, allocations: 115.3 MB / 0.9783 GB, free: 28.4 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion): time 0.004802/0.2261, allocations: 3.296 MB / 0.9816 GB, free: 25.08 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.0002157/0.2263, allocations: 139.7 kB / 0.9817 GB, free: 24.95 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.025e-05/0.2264, allocations: 0 / 0.9817 GB, free: 24.95 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0001023/0.2265, allocations: 4 kB / 0.9817 GB, free: 24.94 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 8.24e-05/0.2266, allocations: 11.92 kB / 0.9817 GB, free: 24.93 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.00035/0.2269, allocations: 49.05 kB / 0.9817 GB, free: 24.88 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 9.115e-05/0.227, allocations: 47.88 kB / 0.9818 GB, free: 24.84 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 4.356e-05/0.2271, allocations: 0 / 0.9818 GB, free: 24.84 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 3.893e-05/0.2271, allocations: 15.92 kB / 0.9818 GB, free: 24.82 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 7.206e-05/0.2272, allocations: 12 kB / 0.9818 GB, free: 24.81 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.6e-05/0.2272, allocations: 3.984 kB / 0.9818 GB, free: 24.8 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006197/0.2279, allocations: 143.6 kB / 0.982 GB, free: 24.66 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 3.506e-05/0.2279, allocations: 11.98 kB / 0.982 GB, free: 24.65 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 2.215e-05/0.228, allocations: 29.64 kB / 0.982 GB, free: 24.62 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0001074/0.2281, allocations: 40.12 kB / 0.982 GB, free: 24.58 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 5.179e-06/0.2281, allocations: 0 / 0.982 GB, free: 24.58 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.144e-06/0.2281, allocations: 0 / 0.982 GB, free: 24.58 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 4.608e-06/0.2281, allocations: 0 / 0.982 GB, free: 24.58 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.0003559/0.2285, allocations: 325.7 kB / 0.9823 GB, free: 24.21 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.943e-05/0.2285, allocations: 20.02 kB / 0.9824 GB, free: 24.2 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.282e-05/0.2286, allocations: 7.859 kB / 0.9824 GB, free: 24.19 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.098e-05/0.2287, allocations: 159.1 kB / 0.9825 GB, free: 23.99 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.739e-05/0.2288, allocations: 33.69 kB / 0.9826 GB, free: 23.95 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.797e-06/0.2288, allocations: 0 / 0.9826 GB, free: 23.95 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001506/0.2289, allocations: 41.69 kB / 0.9826 GB, free: 23.91 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.087e-06/0.229, allocations: 3.938 kB / 0.9826 GB, free: 23.9 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.316e-05/0.229, allocations: 3.984 kB / 0.9826 GB, free: 23.9 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.15e-05/0.229, allocations: 11.95 kB / 0.9826 GB, free: 23.89 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.673e-05/0.2291, allocations: 15.92 kB / 0.9826 GB, free: 23.87 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004108/0.2295, allocations: 330.1 kB / 0.9829 GB, free: 23.48 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 3.511e-05/0.2296, allocations: 18.58 kB / 0.983 GB, free: 23.45 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.827e-05/0.2296, allocations: 8.922 kB / 0.983 GB, free: 23.44 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 7.975e-05/0.2297, allocations: 81.11 kB / 0.9831 GB, free: 23.34 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.364e-05/0.2297, allocations: 42.52 kB / 0.9831 GB, free: 23.29 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=1): time 1.644e-06/0.2297, allocations: 0 / 0.9831 GB, free: 23.29 MB / 0.6198 GB Notification: Performance of matching and sorting (n=1): time 0.000152/0.2299, allocations: 41.62 kB / 0.9831 GB, free: 23.25 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.674e-05/0.2299, allocations: 51.41 kB / 0.9832 GB, free: 23.18 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.371e-05/0.23, allocations: 105.8 kB / 0.9833 GB, free: 23.07 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.235e-05/0.23, allocations: 25.7 kB / 0.9833 GB, free: 23.04 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 3.173e-05/0.2301, allocations: 92.05 kB / 0.9834 GB, free: 22.95 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 6.883e-06/0.2301, allocations: 3.906 kB / 0.9834 GB, free: 22.94 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.687e-06/0.2301, allocations: 4.125 kB / 0.9834 GB, free: 22.94 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 5.785e-05/0.2302, allocations: 310.8 kB / 0.9837 GB, free: 22.62 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.861e-05/0.2302, allocations: 4 kB / 0.9837 GB, free: 22.62 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.641e-05/0.2302, allocations: 21.7 kB / 0.9837 GB, free: 22.59 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.667e-05/0.2303, allocations: 7.938 kB / 0.9837 GB, free: 22.59 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.845e-06/0.2303, allocations: 0 / 0.9837 GB, free: 22.59 MB / 0.6198 GB Notification: Performance of matching and sorting (n=3) (initialization): time 8.794e-05/0.2304, allocations: 53.62 kB / 0.9838 GB, free: 22.53 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.587e-05/0.2304, allocations: 6.5 kB / 0.9838 GB, free: 22.52 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.642e-06/0.2304, allocations: 7.953 kB / 0.9838 GB, free: 22.52 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.445e-05/0.2304, allocations: 0 / 0.9838 GB, free: 22.52 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.952e-05/0.2305, allocations: 4 kB / 0.9838 GB, free: 22.51 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.504e-06/0.2305, allocations: 3.938 kB / 0.9838 GB, free: 22.51 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.651e-05/0.2306, allocations: 4 kB / 0.9838 GB, free: 22.5 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.165e-05/0.2306, allocations: 0 / 0.9838 GB, free: 22.5 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.03e-05/0.2307, allocations: 109.8 kB / 0.9839 GB, free: 22.39 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.121e-05/0.2307, allocations: 8.062 kB / 0.9839 GB, free: 22.38 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001015/0.2308, allocations: 117 kB / 0.984 GB, free: 22.26 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.395e-05/0.2309, allocations: 188.1 kB / 0.9842 GB, free: 22.07 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.678e-05/0.2309, allocations: 176.3 kB / 0.9844 GB, free: 21.89 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.213e-05/0.231, allocations: 176.3 kB / 0.9845 GB, free: 21.71 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001694/0.2311, allocations: 413.2 kB / 0.9849 GB, free: 21.25 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.91e-05/0.2312, allocations: 101 kB / 0.985 GB, free: 21.14 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.098e-05/0.2312, allocations: 108.9 kB / 0.9851 GB, free: 21.03 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.19e-05/0.2312, allocations: 180.3 kB / 0.9853 GB, free: 20.84 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.397e-05/0.2313, allocations: 184.2 kB / 0.9855 GB, free: 20.66 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.182e-05/0.2313, allocations: 180.4 kB / 0.9857 GB, free: 20.47 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.316e-05/0.2314, allocations: 196.2 kB / 0.9858 GB, free: 20.27 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.997e-05/0.2315, allocations: 307.7 kB / 0.9861 GB, free: 19.95 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 5.114e-05/0.2315, allocations: 186 kB / 0.9863 GB, free: 19.74 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.01e-05/0.2316, allocations: 176.3 kB / 0.9865 GB, free: 19.56 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001801/0.2318, allocations: 113 kB / 0.9866 GB, free: 19.45 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.994e-05/0.2318, allocations: 188.2 kB / 0.9868 GB, free: 19.25 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.109e-05/0.2319, allocations: 105 kB / 0.9869 GB, free: 19.14 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 4.707e-05/0.2319, allocations: 79.28 kB / 0.9869 GB, free: 19.07 MB / 0.6198 GB Notification: Performance of sort global known variables: time 5.01e-07/0.2319, allocations: 0 / 0.9869 GB, free: 19.07 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0003251/0.2323, allocations: 19.92 kB / 0.987 GB, free: 19.05 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.0001828/0.2325, allocations: 198.5 kB / 0.9872 GB, free: 18.84 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 8.868e-05/0.2326, allocations: 11.94 kB / 0.9872 GB, free: 18.83 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.775e-06/0.2326, allocations: 0 / 0.9872 GB, free: 18.83 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 4.047e-06/0.2326, allocations: 0 / 0.9872 GB, free: 18.83 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004041/0.233, allocations: 0.5224 MB / 0.9877 GB, free: 18.3 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000229/0.2332, allocations: 192 kB / 0.9879 GB, free: 18.09 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001271/0.2334, allocations: 0.677 MB / 0.9885 GB, free: 17.38 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 5.608e-05/0.2335, allocations: 5 kB / 0.9885 GB, free: 17.38 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.146e-05/0.2335, allocations: 11.44 kB / 0.9885 GB, free: 17.37 MB / 0.6198 GB Notification: Performance of SimCode: time 7.51e-07/0.2335, allocations: 0 / 0.9885 GB, free: 17.37 MB / 0.6198 GB Notification: Performance of Templates: time 0.003137/0.2366, allocations: 0.5035 MB / 0.989 GB, free: 16.88 MB / 0.6198 GB make -j1 -f Buildings_8.0.0_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.makefile (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 & ./Buildings_8.0.0_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.pipe 2>&1)