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.001221/0.001221, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001563/0.001563, allocations: 193.4 kB / 16.25 MB, free: 6.629 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.342/1.342, allocations: 222.9 MB / 239.9 MB, free: 4.547 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7769/0.7769, allocations: 132.2 MB / 422.3 MB, free: 1.949 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001209/0.001209, allocations: 64.44 kB / 0.5013 GB, free: 4.25 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4885/0.4897, allocations: 80.2 MB / 0.5796 GB, free: 4.551 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion): time 0.004975/0.4947, allocations: 3.768 MB / 0.5833 GB, free: 1.859 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.0001706/0.4949, allocations: 153 kB / 0.5834 GB, free: 1.754 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.019e-05/0.495, allocations: 0 / 0.5834 GB, free: 1.754 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001075/0.4951, allocations: 2.344 kB / 0.5834 GB, free: 1.754 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 7.981e-05/0.4952, allocations: 12.73 kB / 0.5834 GB, free: 1.746 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003384/0.4955, allocations: 75.77 kB / 0.5835 GB, free: 1.711 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 9.008e-05/0.4956, allocations: 37.72 kB / 0.5835 GB, free: 1.695 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.39e-05/0.4957, allocations: 6.156 kB / 0.5835 GB, free: 1.691 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.557e-05/0.4957, allocations: 20.17 kB / 0.5836 GB, free: 1.684 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.918e-05/0.4958, allocations: 13.67 kB / 0.5836 GB, free: 1.68 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 1.303e-05/0.4958, allocations: 0.75 kB / 0.5836 GB, free: 1.68 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005334/0.4963, allocations: 180.9 kB / 0.5837 GB, free: 1.613 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 4.358e-05/0.4964, allocations: 16.95 kB / 0.5838 GB, free: 1.602 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 2.672e-05/0.4964, allocations: 9.203 kB / 0.5838 GB, free: 1.598 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001363/0.4966, allocations: 47.83 kB / 0.5838 GB, free: 1.586 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.198e-06/0.4966, allocations: 0 / 0.5838 GB, free: 1.586 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.365e-06/0.4966, allocations: 0.6094 kB / 0.5838 GB, free: 1.586 MB / 430.1 MB Notification: Performance of Transformations before backend: time 7.895e-06/0.4966, allocations: 5.344 kB / 0.5838 GB, free: 1.582 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.0003409/0.497, allocations: 338.3 kB / 0.5841 GB, free: 1.223 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.778e-05/0.497, allocations: 12.78 kB / 0.5842 GB, free: 1.219 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.383e-05/0.4971, allocations: 3.266 kB / 0.5842 GB, free: 1.219 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.473e-05/0.4971, allocations: 166.4 kB / 0.5843 GB, free: 1.02 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.367e-05/0.4972, allocations: 28.88 kB / 0.5843 GB, free: 0.9883 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.157e-06/0.4972, allocations: 1.469 kB / 0.5843 GB, free: 0.9883 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000133/0.4974, allocations: 56.31 kB / 0.5844 GB, free: 0.9414 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.955e-06/0.4974, allocations: 0.9062 kB / 0.5844 GB, free: 0.9414 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.077e-05/0.4974, allocations: 0 / 0.5844 GB, free: 0.9414 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.012e-05/0.4974, allocations: 5.688 kB / 0.5844 GB, free: 0.9375 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.026e-05/0.4975, allocations: 16.39 kB / 0.5844 GB, free: 0.9336 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003652/0.4978, allocations: 333 kB / 0.5847 GB, free: 0.5664 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 3.135e-05/0.4979, allocations: 16.73 kB / 0.5848 GB, free: 0.543 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.301e-05/0.4979, allocations: 12.42 kB / 0.5848 GB, free: 0.5312 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.544e-05/0.498, allocations: 86.91 kB / 0.5848 GB, free: 444 kB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.451e-05/0.498, allocations: 37.31 kB / 0.5849 GB, free: 400 kB / 430.1 MB Notification: Performance of pre-optimization done (n=1): time 1.072e-06/0.498, allocations: 0 / 0.5849 GB, free: 400 kB / 430.1 MB Notification: Performance of matching and sorting (n=1): time 0.000132/0.4981, allocations: 32.2 kB / 0.5849 GB, free: 368 kB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.981e-05/0.4982, allocations: 53.25 kB / 0.585 GB, free: 304 kB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.968e-05/0.4982, allocations: 102 kB / 0.5851 GB, free: 200 kB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 9.358e-06/0.4983, allocations: 29.7 kB / 0.5851 GB, free: 164 kB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.784e-05/0.4983, allocations: 91.89 kB / 0.5852 GB, free: 72 kB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.21e-06/0.4983, allocations: 3.938 kB / 0.5852 GB, free: 68 kB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.739e-05/0.4983, allocations: 18.7 kB / 0.5852 GB, free: 48 kB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001234/0.4985, allocations: 316.6 kB / 0.5855 GB, free: 15.73 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.141e-05/0.4985, allocations: 8.125 kB / 0.5855 GB, free: 15.73 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.821e-05/0.4985, allocations: 22.66 kB / 0.5855 GB, free: 15.7 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.263e-05/0.4986, allocations: 21.36 kB / 0.5856 GB, free: 15.68 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.013e-06/0.4986, allocations: 0 / 0.5856 GB, free: 15.68 MB / 446.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 7.939e-05/0.4987, allocations: 55.02 kB / 0.5856 GB, free: 15.64 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.181e-05/0.4987, allocations: 4.469 kB / 0.5856 GB, free: 15.64 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.199e-06/0.4987, allocations: 0.75 kB / 0.5856 GB, free: 15.64 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.508e-05/0.4987, allocations: 1.5 kB / 0.5856 GB, free: 15.64 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.692e-05/0.4988, allocations: 5.953 kB / 0.5856 GB, free: 15.64 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.531e-06/0.4988, allocations: 4.625 kB / 0.5856 GB, free: 15.64 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.784e-05/0.4988, allocations: 1.594 kB / 0.5856 GB, free: 15.64 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.063e-05/0.4988, allocations: 2.281 kB / 0.5856 GB, free: 15.64 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.148e-05/0.4989, allocations: 117.7 kB / 0.5857 GB, free: 15.52 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.558e-05/0.4989, allocations: 1.703 kB / 0.5857 GB, free: 15.52 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001091/0.499, allocations: 118.6 kB / 0.5859 GB, free: 15.39 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.832e-05/0.4991, allocations: 181.8 kB / 0.586 GB, free: 15.21 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.213e-05/0.4992, allocations: 190.9 kB / 0.5862 GB, free: 15.02 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.768e-05/0.4992, allocations: 176.8 kB / 0.5864 GB, free: 14.84 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002215/0.4995, allocations: 408 kB / 0.5868 GB, free: 14.39 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.17e-05/0.4995, allocations: 110.6 kB / 0.5869 GB, free: 14.28 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.086e-05/0.4995, allocations: 103.2 kB / 0.587 GB, free: 14.17 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.317e-05/0.4996, allocations: 185.8 kB / 0.5871 GB, free: 13.98 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.84e-05/0.4997, allocations: 178 kB / 0.5873 GB, free: 13.8 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.776e-05/0.4997, allocations: 178 kB / 0.5875 GB, free: 13.62 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.208e-05/0.4998, allocations: 181 kB / 0.5877 GB, free: 13.44 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001328/0.4999, allocations: 315.3 kB / 0.588 GB, free: 13.12 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.018e-05/0.5, allocations: 183.8 kB / 0.5881 GB, free: 12.91 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.02e-05/0.5001, allocations: 182.7 kB / 0.5883 GB, free: 12.73 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001582/0.5003, allocations: 110.7 kB / 0.5884 GB, free: 12.62 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.191e-05/0.5003, allocations: 185.5 kB / 0.5886 GB, free: 12.43 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.472e-05/0.5004, allocations: 106.6 kB / 0.5887 GB, free: 12.32 MB / 446.1 MB Notification: Performance of sorting global known variables: time 4.309e-05/0.5004, allocations: 86.59 kB / 0.5888 GB, free: 12.25 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.5004, allocations: 0 / 0.5888 GB, free: 12.25 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002378/0.5007, allocations: 16.98 kB / 0.5888 GB, free: 12.24 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 (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.0002802/0.501, allocations: 206.5 kB / 0.589 GB, free: 12.07 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 7.471e-05/0.501, allocations: 7.953 kB / 0.589 GB, free: 12.07 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/0.501, allocations: 128 / 0.589 GB, free: 12.07 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 3.707e-06/0.5011, allocations: 8.719 kB / 0.589 GB, free: 12.06 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003911/0.5015, allocations: 462.7 kB / 0.5894 GB, free: 11.61 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002434/0.5017, allocations: 174.9 kB / 0.5896 GB, free: 11.43 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002362/0.502, allocations: 0.6785 MB / 0.5903 GB, free: 10.73 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 4.26e-05/0.502, allocations: 5.906 kB / 0.5903 GB, free: 10.73 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.782e-05/0.502, allocations: 9.328 kB / 0.5903 GB, free: 10.72 MB / 446.1 MB Notification: Performance of SimCode: time 2.1e-07/0.502, allocations: 0 / 0.5903 GB, free: 10.72 MB / 446.1 MB Notification: Performance of Templates: time 0.002691/0.5047, allocations: 0.638 MB / 0.5909 GB, free: 10.64 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)