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.822/2.822, allocations: 287.3 MB / 302.3 MB, free: 8.285 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.001587/0.001587, allocations: 182.3 kB / 370.8 MB, free: 10.85 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.145/2.145, allocations: 205.4 MB / 0.6295 GB, free: 10.59 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.001228/0.001227, allocations: 88.75 kB / 0.7428 GB, free: 6.598 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.000583/0.000583, allocations: 11.28 kB / 0.8656 GB, free: 140.7 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2202/0.2208, allocations: 115.3 MB / 0.9782 GB, free: 28.39 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion): time 0.004925/0.2258, allocations: 3.149 MB / 0.9812 GB, free: 25.22 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.0002145/0.226, allocations: 127.7 kB / 0.9814 GB, free: 25.1 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.201e-05/0.2261, allocations: 4 kB / 0.9814 GB, free: 25.09 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0001123/0.2262, allocations: 4 kB / 0.9814 GB, free: 25.09 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 4.3e-05/0.2263, allocations: 11.91 kB / 0.9814 GB, free: 25.08 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003303/0.2266, allocations: 59.78 kB / 0.9814 GB, free: 25.02 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 6.548e-05/0.2267, allocations: 15.97 kB / 0.9815 GB, free: 25 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 4.709e-05/0.2267, allocations: 0 / 0.9815 GB, free: 25 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 3.636e-05/0.2268, allocations: 7.984 kB / 0.9815 GB, free: 25 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 5.911e-05/0.2269, allocations: 12 kB / 0.9815 GB, free: 24.98 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.48e-05/0.2269, allocations: 4 kB / 0.9815 GB, free: 24.98 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006944/0.2276, allocations: 147.7 kB / 0.9816 GB, free: 24.84 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 3.417e-05/0.2276, allocations: 19.86 kB / 0.9816 GB, free: 24.82 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 2.176e-05/0.2277, allocations: 25.7 kB / 0.9817 GB, free: 24.79 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0001194/0.2278, allocations: 20.27 kB / 0.9817 GB, free: 24.77 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 2.244e-06/0.2278, allocations: 0 / 0.9817 GB, free: 24.77 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.134e-06/0.2278, allocations: 0 / 0.9817 GB, free: 24.77 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 4.328e-06/0.2278, allocations: 0 / 0.9817 GB, free: 24.77 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.000349/0.2282, allocations: 335.4 kB / 0.982 GB, free: 24.39 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.132e-05/0.2283, allocations: 12.02 kB / 0.982 GB, free: 24.38 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.155e-05/0.2283, allocations: 7.859 kB / 0.982 GB, free: 24.37 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.039e-05/0.2284, allocations: 163.1 kB / 0.9822 GB, free: 24.17 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.786e-05/0.2285, allocations: 25.7 kB / 0.9822 GB, free: 24.14 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.007e-06/0.2285, allocations: 0 / 0.9822 GB, free: 24.14 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001505/0.2287, allocations: 49.67 kB / 0.9823 GB, free: 24.09 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.03e-05/0.2287, allocations: 7.938 kB / 0.9823 GB, free: 24.08 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.173e-05/0.2287, allocations: 0 / 0.9823 GB, free: 24.08 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.025e-05/0.2287, allocations: 3.953 kB / 0.9823 GB, free: 24.07 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.494e-05/0.2288, allocations: 15.98 kB / 0.9823 GB, free: 24.06 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004158/0.2292, allocations: 326.1 kB / 0.9826 GB, free: 23.67 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 3.93e-05/0.2293, allocations: 18.58 kB / 0.9826 GB, free: 23.64 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 8.466e-05/0.2294, allocations: 85.16 kB / 0.9827 GB, free: 23.54 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.527e-05/0.2294, allocations: 42.5 kB / 0.9827 GB, free: 23.49 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=1): time 1.723e-06/0.2294, allocations: 0 / 0.9827 GB, free: 23.49 MB / 0.6198 GB Notification: Performance of matching and sorting (n=1): time 0.0001521/0.2296, allocations: 37.66 kB / 0.9828 GB, free: 23.45 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.562e-05/0.2296, allocations: 55.39 kB / 0.9828 GB, free: 23.38 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.251e-05/0.2297, allocations: 101.8 kB / 0.9829 GB, free: 23.27 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.214e-05/0.2297, allocations: 29.7 kB / 0.9829 GB, free: 23.24 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 3.334e-05/0.2298, allocations: 84.05 kB / 0.983 GB, free: 23.15 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 8.236e-06/0.2298, allocations: 12.02 kB / 0.983 GB, free: 23.14 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.687e-06/0.2298, allocations: 0 / 0.983 GB, free: 23.14 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 5.833e-05/0.2299, allocations: 314.8 kB / 0.9833 GB, free: 22.82 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.833e-05/0.2299, allocations: 4 kB / 0.9833 GB, free: 22.82 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.96e-05/0.2299, allocations: 13.72 kB / 0.9834 GB, free: 22.8 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.824e-05/0.23, allocations: 19.86 kB / 0.9834 GB, free: 22.78 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.004e-06/0.23, allocations: 0 / 0.9834 GB, free: 22.78 MB / 0.6198 GB Notification: Performance of matching and sorting (n=3) (initialization): time 8.472e-05/0.2301, allocations: 45.64 kB / 0.9834 GB, free: 22.73 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.526e-05/0.2301, allocations: 8 kB / 0.9834 GB, free: 22.72 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.592e-06/0.2301, allocations: 3.984 kB / 0.9834 GB, free: 22.72 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.57e-05/0.2302, allocations: 3.953 kB / 0.9834 GB, free: 22.71 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.762e-05/0.2302, allocations: 7.938 kB / 0.9834 GB, free: 22.71 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.621e-06/0.2302, allocations: 0 / 0.9834 GB, free: 22.71 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.89e-05/0.2303, allocations: 8 kB / 0.9834 GB, free: 22.7 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.083e-05/0.2303, allocations: 0 / 0.9834 GB, free: 22.7 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.039e-05/0.2304, allocations: 109.9 kB / 0.9836 GB, free: 22.58 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.899e-05/0.2304, allocations: 4 kB / 0.9836 GB, free: 22.58 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001038/0.2305, allocations: 122.1 kB / 0.9837 GB, free: 22.45 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.322e-05/0.2306, allocations: 184.2 kB / 0.9838 GB, free: 22.27 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.294e-05/0.2306, allocations: 176.3 kB / 0.984 GB, free: 22.09 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.281e-05/0.2307, allocations: 196.2 kB / 0.9842 GB, free: 21.89 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001689/0.2308, allocations: 405.2 kB / 0.9846 GB, free: 21.43 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.105e-05/0.2309, allocations: 105 kB / 0.9847 GB, free: 21.32 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.945e-05/0.2309, allocations: 109.2 kB / 0.9848 GB, free: 21.21 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.031e-05/0.2309, allocations: 176.3 kB / 0.985 GB, free: 21.03 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.4e-05/0.231, allocations: 180.2 kB / 0.9851 GB, free: 20.85 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.934e-05/0.231, allocations: 176.3 kB / 0.9853 GB, free: 20.67 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.451e-05/0.2311, allocations: 192.2 kB / 0.9855 GB, free: 20.47 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.606e-05/0.2312, allocations: 311.6 kB / 0.9858 GB, free: 20.14 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 5.202e-05/0.2312, allocations: 186 kB / 0.986 GB, free: 19.94 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.695e-05/0.2313, allocations: 184.2 kB / 0.9861 GB, free: 19.75 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001918/0.2315, allocations: 109 kB / 0.9862 GB, free: 19.64 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.8e-05/0.2316, allocations: 180.2 kB / 0.9864 GB, free: 19.45 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.172e-05/0.2316, allocations: 108.9 kB / 0.9865 GB, free: 19.34 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 5.339e-05/0.2316, allocations: 83.28 kB / 0.9866 GB, free: 19.26 MB / 0.6198 GB Notification: Performance of sort global known variables: time 3.21e-07/0.2317, allocations: 0 / 0.9866 GB, free: 19.26 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.000311/0.232, allocations: 19.94 kB / 0.9866 GB, free: 19.24 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.0001703/0.2322, allocations: 190.5 kB / 0.9868 GB, free: 19.04 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 8.638e-05/0.2323, allocations: 7.938 kB / 0.9868 GB, free: 19.03 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.755e-06/0.2323, allocations: 3.938 kB / 0.9868 GB, free: 19.03 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 2.725e-06/0.2323, allocations: 0 / 0.9868 GB, free: 19.03 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003118/0.2326, allocations: 0.5263 MB / 0.9873 GB, free: 18.5 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000232/0.2329, allocations: 196 kB / 0.9875 GB, free: 18.28 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001236/0.233, allocations: 0.677 MB / 0.9882 GB, free: 17.57 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 5.771e-05/0.2331, allocations: 9.812 kB / 0.9882 GB, free: 17.57 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.184e-05/0.2331, allocations: 7.438 kB / 0.9882 GB, free: 17.56 MB / 0.6198 GB Notification: Performance of SimCode: time 6.61e-07/0.2331, allocations: 4 kB / 0.9882 GB, free: 17.55 MB / 0.6198 GB Notification: Performance of Templates: time 0.004481/0.2376, allocations: 0.5058 MB / 0.9887 GB, free: 17.06 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)