Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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 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: translateModel(Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion") translateModel(Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001334/0.001335, allocations: 107.7 kB / 15.99 MB, free: 6.348 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.001382/0.001382, allocations: 192.8 kB / 16.91 MB, free: 6.188 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.477/1.477, allocations: 205.1 MB / 222.8 MB, free: 4.707 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.653/1.653, allocations: 292.3 MB / 0.5492 GB, free: 13.59 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001349/0.001349, allocations: 70.91 kB / 0.6716 GB, free: 26.2 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2241/0.2255, allocations: 114.6 MB / 0.7835 GB, free: 13.91 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion): time 0.005561/0.2311, allocations: 3.763 MB / 0.7872 GB, free: 10.11 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.0001945/0.2313, allocations: 155.5 kB / 0.7873 GB, free: 9.961 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.813e-05/0.2314, allocations: 0 / 0.7873 GB, free: 9.961 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 9.737e-05/0.2315, allocations: 4 kB / 0.7873 GB, free: 9.957 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 7.917e-05/0.2316, allocations: 7.922 kB / 0.7873 GB, free: 9.949 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003143/0.2319, allocations: 70.77 kB / 0.7874 GB, free: 9.883 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 8.904e-05/0.232, allocations: 39.8 kB / 0.7874 GB, free: 9.844 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 4.776e-05/0.232, allocations: 8 kB / 0.7874 GB, free: 9.836 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 3.903e-05/0.2321, allocations: 15.97 kB / 0.7875 GB, free: 9.82 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 6.101e-05/0.2321, allocations: 11.94 kB / 0.7875 GB, free: 9.809 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.286e-05/0.2322, allocations: 4 kB / 0.7875 GB, free: 9.805 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005098/0.2327, allocations: 175.5 kB / 0.7876 GB, free: 9.633 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 4.033e-05/0.2327, allocations: 11.92 kB / 0.7877 GB, free: 9.621 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 2.526e-05/0.2328, allocations: 8 kB / 0.7877 GB, free: 9.613 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 9.985e-05/0.2329, allocations: 32.19 kB / 0.7877 GB, free: 9.582 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 5.781e-06/0.2329, allocations: 0 / 0.7877 GB, free: 9.582 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.843e-06/0.2329, allocations: 4 kB / 0.7877 GB, free: 9.578 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 8.466e-06/0.2329, allocations: 0 / 0.7877 GB, free: 9.578 MB / 0.6075 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.0004436/0.2334, allocations: 339.5 kB / 0.788 GB, free: 9.199 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.344e-05/0.2334, allocations: 8.031 kB / 0.788 GB, free: 9.191 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.708e-05/0.2334, allocations: 0.9375 kB / 0.788 GB, free: 9.191 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001413/0.2336, allocations: 172.3 kB / 0.7882 GB, free: 8.984 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.502e-05/0.2336, allocations: 26.27 kB / 0.7882 GB, free: 8.953 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.225e-06/0.2337, allocations: 4.312 kB / 0.7882 GB, free: 8.949 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000141/0.2338, allocations: 57.61 kB / 0.7883 GB, free: 8.887 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.063e-06/0.2338, allocations: 0 / 0.7883 GB, free: 8.887 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.297e-06/0.2338, allocations: 0 / 0.7883 GB, free: 8.887 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.767e-05/0.2339, allocations: 0 / 0.7883 GB, free: 8.887 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.455e-05/0.2339, allocations: 15.98 kB / 0.7883 GB, free: 8.871 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004235/0.2343, allocations: 337.9 kB / 0.7886 GB, free: 8.473 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 4.63e-05/0.2344, allocations: 22.58 kB / 0.7886 GB, free: 8.441 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.444e-05/0.2344, allocations: 8.859 kB / 0.7886 GB, free: 8.43 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 7.892e-05/0.2345, allocations: 81.17 kB / 0.7887 GB, free: 8.332 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.249e-05/0.2345, allocations: 34.56 kB / 0.7888 GB, free: 8.289 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=1): time 1.152e-06/0.2345, allocations: 0 / 0.7888 GB, free: 8.289 MB / 0.6075 GB Notification: Performance of matching and sorting (n=1): time 0.0001359/0.2347, allocations: 37.62 kB / 0.7888 GB, free: 8.246 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.582e-05/0.2347, allocations: 51.41 kB / 0.7888 GB, free: 8.184 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.474e-05/0.2348, allocations: 110 kB / 0.7889 GB, free: 8.066 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 2.646e-05/0.2348, allocations: 25.7 kB / 0.789 GB, free: 8.035 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 5.497e-05/0.2349, allocations: 88.05 kB / 0.7891 GB, free: 7.945 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 8.516e-06/0.2349, allocations: 4 kB / 0.7891 GB, free: 7.941 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.716e-05/0.235, allocations: 9.719 kB / 0.7891 GB, free: 7.926 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001101/0.2351, allocations: 322.8 kB / 0.7894 GB, free: 7.602 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.475e-05/0.2351, allocations: 3.984 kB / 0.7894 GB, free: 7.598 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.138e-05/0.2351, allocations: 13.72 kB / 0.7894 GB, free: 7.578 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.461e-05/0.2352, allocations: 29.66 kB / 0.7894 GB, free: 7.543 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.754e-06/0.2352, allocations: 0 / 0.7894 GB, free: 7.543 MB / 0.6075 GB Notification: Performance of matching and sorting (n=3) (initialization): time 7.814e-05/0.2352, allocations: 49.62 kB / 0.7895 GB, free: 7.488 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.331e-05/0.2353, allocations: 8 kB / 0.7895 GB, free: 7.48 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.717e-06/0.2353, allocations: 0 / 0.7895 GB, free: 7.48 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.332e-05/0.2353, allocations: 0 / 0.7895 GB, free: 7.48 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.226e-05/0.2353, allocations: 7.984 kB / 0.7895 GB, free: 7.473 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.161e-06/0.2354, allocations: 8 kB / 0.7895 GB, free: 7.465 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.934e-05/0.2354, allocations: 7.906 kB / 0.7895 GB, free: 7.457 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.027e-06/0.2354, allocations: 0 / 0.7895 GB, free: 7.457 MB / 0.6075 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 6.705e-05/0.2355, allocations: 114.4 kB / 0.7896 GB, free: 7.336 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.413e-05/0.2355, allocations: 0 / 0.7896 GB, free: 7.336 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001146/0.2356, allocations: 121.2 kB / 0.7897 GB, free: 7.203 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.777e-05/0.2357, allocations: 184.2 kB / 0.7899 GB, free: 7.016 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.622e-05/0.2357, allocations: 180.2 kB / 0.7901 GB, free: 6.832 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.213e-05/0.2358, allocations: 184.2 kB / 0.7902 GB, free: 6.645 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000224/0.236, allocations: 409.1 kB / 0.7906 GB, free: 6.188 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.28e-05/0.2361, allocations: 101 kB / 0.7907 GB, free: 6.082 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.061e-05/0.2361, allocations: 108.9 kB / 0.7908 GB, free: 5.969 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.74e-05/0.2362, allocations: 184.2 kB / 0.791 GB, free: 5.781 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.593e-05/0.2363, allocations: 180.3 kB / 0.7912 GB, free: 5.598 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.443e-05/0.2363, allocations: 184.2 kB / 0.7914 GB, free: 5.41 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.222e-05/0.2364, allocations: 180.3 kB / 0.7915 GB, free: 5.227 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001269/0.2365, allocations: 315.7 kB / 0.7918 GB, free: 4.895 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 7.484e-05/0.2366, allocations: 186 kB / 0.792 GB, free: 4.688 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.442e-05/0.2367, allocations: 180.3 kB / 0.7922 GB, free: 4.504 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001376/0.2368, allocations: 105 kB / 0.7923 GB, free: 4.395 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.463e-05/0.2369, allocations: 184.2 kB / 0.7925 GB, free: 4.207 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.94e-05/0.237, allocations: 101 kB / 0.7926 GB, free: 4.102 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 4.574e-05/0.237, allocations: 91.27 kB / 0.7926 GB, free: 4.012 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.4e-07/0.237, allocations: 0 / 0.7926 GB, free: 4.012 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002436/0.2373, allocations: 15.94 kB / 0.7927 GB, free: 3.996 MB / 0.6075 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.0002614/0.2375, allocations: 202.4 kB / 0.7928 GB, free: 3.789 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 6.587e-05/0.2376, allocations: 12.23 kB / 0.7929 GB, free: 3.777 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 4.338e-06/0.2376, allocations: 4.125 kB / 0.7929 GB, free: 3.773 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 4.028e-06/0.2376, allocations: 8 kB / 0.7929 GB, free: 3.766 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003722/0.238, allocations: 451.7 kB / 0.7933 GB, free: 3.32 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002537/0.2383, allocations: 215.5 kB / 0.7935 GB, free: 3.078 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002465/0.2385, allocations: 0.6845 MB / 0.7942 GB, free: 2.367 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.944e-05/0.2385, allocations: 7.438 kB / 0.7942 GB, free: 2.359 MB / 0.6075 GB Notification: Performance of SimCode: time 2.2e-07/0.2386, allocations: 0 / 0.7942 GB, free: 2.359 MB / 0.6075 GB Notification: Performance of Templates: time 0.001876/0.2404, allocations: 0.7355 MB / 0.7949 GB, free: 1.637 MB / 0.6075 GB make -j1 -f Buildings_8_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.makefile (rm -f Buildings_8_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.pipe ; mkfifo Buildings_8_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.pipe ; head -c 1048576 < Buildings_8_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.pipe >> ../files/Buildings_8_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.sim & ./Buildings_8_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.pipe 2>&1)