Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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(IDEAS.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion") translateModel(IDEAS.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008147/0.000815, allocations: 91.61 kB / 15.06 MB, free: 1.098 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.0008753/0.0008753, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.149/1.149, allocations: 223.3 MB / 240 MB, free: 5.461 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.6574/0.6574, allocations: 132.4 MB / 423.4 MB, free: 2.125 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002963/0.0002964, allocations: 8.562 kB / 0.5034 GB, free: 4.316 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3253/0.3256, allocations: 81.58 MB / 0.5831 GB, free: 4.008 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion): time 0.003197/0.3288, allocations: 3.289 MB / 0.5863 GB, free: 1.637 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.0001357/0.329, allocations: 143.4 kB / 0.5864 GB, free: 1.539 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.85e-05/0.329, allocations: 9.656 kB / 0.5864 GB, free: 1.531 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 7.396e-05/0.3291, allocations: 5.156 kB / 0.5864 GB, free: 1.527 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 5.617e-05/0.3291, allocations: 9.094 kB / 0.5864 GB, free: 1.523 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002213/0.3294, allocations: 60.59 kB / 0.5865 GB, free: 1.496 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 8.307e-05/0.3295, allocations: 51.41 kB / 0.5865 GB, free: 1.477 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.516e-05/0.3295, allocations: 1.547 kB / 0.5865 GB, free: 1.477 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.435e-05/0.3295, allocations: 11.42 kB / 0.5865 GB, free: 1.477 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.163e-05/0.3296, allocations: 20.73 kB / 0.5866 GB, free: 1.465 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 1.137e-05/0.3296, allocations: 1.125 kB / 0.5866 GB, free: 1.465 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003944/0.33, allocations: 145.3 kB / 0.5867 GB, free: 1.418 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 2.793e-05/0.3301, allocations: 9.781 kB / 0.5867 GB, free: 1.414 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 1.819e-05/0.3301, allocations: 31.33 kB / 0.5867 GB, free: 1.379 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 8.047e-05/0.3302, allocations: 26.06 kB / 0.5868 GB, free: 1.375 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.05e-06/0.3302, allocations: 0.7031 kB / 0.5868 GB, free: 1.375 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.634e-06/0.3302, allocations: 0 / 0.5868 GB, free: 1.375 MB / 430.1 MB Notification: Performance of Transformations before backend: time 3.287e-06/0.3302, allocations: 5.219 kB / 0.5868 GB, free: 1.371 MB / 430.1 MB 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.0002827/0.3305, allocations: 333.9 kB / 0.5871 GB, free: 1.012 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.642e-05/0.3305, allocations: 9.688 kB / 0.5871 GB, free: 1.012 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.321e-05/0.3306, allocations: 9.422 kB / 0.5871 GB, free: 1.004 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.783e-05/0.3306, allocations: 161.3 kB / 0.5873 GB, free: 0.8086 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.09e-05/0.3307, allocations: 27.66 kB / 0.5873 GB, free: 0.7773 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.306e-05/0.3307, allocations: 10.09 kB / 0.5873 GB, free: 0.7695 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001182/0.3308, allocations: 40.45 kB / 0.5873 GB, free: 0.7383 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.995e-06/0.3309, allocations: 4 kB / 0.5873 GB, free: 0.7344 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.063e-05/0.3309, allocations: 5.562 kB / 0.5874 GB, free: 0.7305 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.617e-05/0.3309, allocations: 4.891 kB / 0.5874 GB, free: 0.7266 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.003e-05/0.3309, allocations: 12.66 kB / 0.5874 GB, free: 0.7266 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003238/0.3313, allocations: 329.3 kB / 0.5877 GB, free: 372 kB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 2.61e-05/0.3313, allocations: 24.27 kB / 0.5877 GB, free: 340 kB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.226e-05/0.3313, allocations: 11.11 kB / 0.5877 GB, free: 328 kB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.994e-05/0.3314, allocations: 84.33 kB / 0.5878 GB, free: 232 kB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.869e-05/0.3314, allocations: 39.17 kB / 0.5878 GB, free: 184 kB / 430.1 MB Notification: Performance of pre-optimization done (n=1): time 9.72e-07/0.3314, allocations: 4.688 kB / 0.5878 GB, free: 180 kB / 430.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001193/0.3315, allocations: 32.75 kB / 0.5879 GB, free: 148 kB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.765e-05/0.3316, allocations: 52.72 kB / 0.5879 GB, free: 84 kB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.664e-05/0.3317, allocations: 106.4 kB / 0.588 GB, free: 15.98 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.309e-05/0.3317, allocations: 30.73 kB / 0.5881 GB, free: 15.94 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.228e-05/0.3317, allocations: 90.66 kB / 0.5881 GB, free: 15.85 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.911e-06/0.3317, allocations: 4.656 kB / 0.5881 GB, free: 15.85 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.445e-06/0.3317, allocations: 0 / 0.5881 GB, free: 15.85 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 9.723e-05/0.3318, allocations: 316.6 kB / 0.5884 GB, free: 15.53 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.37e-05/0.3319, allocations: 3.453 kB / 0.5884 GB, free: 15.53 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.378e-05/0.3319, allocations: 14.5 kB / 0.5885 GB, free: 15.52 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.233e-05/0.3319, allocations: 13.52 kB / 0.5885 GB, free: 15.51 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.362e-06/0.3319, allocations: 0 / 0.5885 GB, free: 15.51 MB / 446.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 7.098e-05/0.332, allocations: 45.91 kB / 0.5885 GB, free: 15.47 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.212e-05/0.332, allocations: 5.359 kB / 0.5885 GB, free: 15.47 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.751e-06/0.332, allocations: 4.734 kB / 0.5885 GB, free: 15.47 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.478e-06/0.3321, allocations: 1.094 kB / 0.5885 GB, free: 15.47 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.152e-05/0.3321, allocations: 10.42 kB / 0.5885 GB, free: 15.46 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.841e-06/0.3321, allocations: 0.7812 kB / 0.5885 GB, free: 15.46 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.732e-05/0.3321, allocations: 4.969 kB / 0.5885 GB, free: 15.46 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.397e-06/0.3321, allocations: 6.578 kB / 0.5886 GB, free: 15.46 MB / 446.1 MB 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.669e-05/0.3322, allocations: 109.7 kB / 0.5887 GB, free: 15.34 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.184e-05/0.3322, allocations: 1.469 kB / 0.5887 GB, free: 15.34 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001074/0.3324, allocations: 131.4 kB / 0.5888 GB, free: 15.21 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.034e-05/0.3324, allocations: 182 kB / 0.589 GB, free: 15.03 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.273e-05/0.3325, allocations: 182 kB / 0.5891 GB, free: 14.84 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.602e-05/0.3325, allocations: 181 kB / 0.5893 GB, free: 14.66 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002056/0.3328, allocations: 404.2 kB / 0.5897 GB, free: 14.21 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.992e-05/0.3328, allocations: 107.1 kB / 0.5898 GB, free: 14.11 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.056e-05/0.3328, allocations: 107.1 kB / 0.5899 GB, free: 14 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.2e-05/0.3329, allocations: 182 kB / 0.5901 GB, free: 13.81 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.419e-05/0.333, allocations: 181.1 kB / 0.5902 GB, free: 13.63 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.006e-05/0.333, allocations: 178.1 kB / 0.5904 GB, free: 13.45 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.872e-05/0.3331, allocations: 190.1 kB / 0.5906 GB, free: 13.26 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001139/0.3332, allocations: 302.4 kB / 0.5909 GB, free: 12.95 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.207e-05/0.3333, allocations: 185.7 kB / 0.5911 GB, free: 12.74 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.032e-05/0.3334, allocations: 186.3 kB / 0.5912 GB, free: 12.55 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001326/0.3335, allocations: 115.7 kB / 0.5913 GB, free: 12.44 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.235e-05/0.3336, allocations: 190.3 kB / 0.5915 GB, free: 12.25 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.917e-05/0.3336, allocations: 105.9 kB / 0.5916 GB, free: 12.14 MB / 446.1 MB Notification: Performance of sorting global known variables: time 4.515e-05/0.3337, allocations: 85.73 kB / 0.5917 GB, free: 12.06 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3337, allocations: 0.8438 kB / 0.5917 GB, free: 12.06 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002109/0.3339, allocations: 16.14 kB / 0.5917 GB, free: 12.06 MB / 446.1 MB 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.0001267/0.334, allocations: 187.5 kB / 0.5919 GB, free: 11.89 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 5.794e-05/0.3341, allocations: 8.141 kB / 0.5919 GB, free: 11.89 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.503e-06/0.3341, allocations: 0 / 0.5919 GB, free: 11.89 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 1.623e-06/0.3341, allocations: 0.8125 kB / 0.5919 GB, free: 11.89 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003654/0.3345, allocations: 0.5307 MB / 0.5924 GB, free: 11.36 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001862/0.3347, allocations: 181.5 kB / 0.5926 GB, free: 11.19 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002049/0.3349, allocations: 0.6779 MB / 0.5933 GB, free: 10.49 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 3.746e-05/0.3349, allocations: 8.969 kB / 0.5933 GB, free: 10.48 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.926e-05/0.3349, allocations: 14.39 kB / 0.5933 GB, free: 10.47 MB / 446.1 MB Notification: Performance of SimCode: time 2.41e-07/0.3349, allocations: 0 / 0.5933 GB, free: 10.47 MB / 446.1 MB Notification: Performance of Templates: time 0.002342/0.3373, allocations: 0.5468 MB / 0.5938 GB, free: 10.39 MB / 446.1 MB make -j1 -f IDEAS_IDEAS.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.makefile (rm -f IDEAS_IDEAS.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.pipe ; mkfifo IDEAS_IDEAS.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.pipe ; head -c 1048576 < IDEAS_IDEAS.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.pipe >> ../files/IDEAS_IDEAS.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.sim & ./IDEAS_IDEAS.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.pipe 2>&1)