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.001465/0.001465, allocations: 106.2 kB / 16.36 MB, free: 6.289 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.001664/0.001664, allocations: 192.5 kB / 17.29 MB, free: 5.863 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.408/1.408, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7997/0.7997, allocations: 132.2 MB / 423.3 MB, free: 6.562 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001455/0.001455, allocations: 63.91 kB / 0.5032 GB, free: 10.92 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4063/0.4077, allocations: 80.18 MB / 0.5815 GB, free: 27.71 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion): time 0.004955/0.4127, allocations: 3.738 MB / 0.5851 GB, free: 24.73 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0001861/0.4129, allocations: 147.7 kB / 0.5853 GB, free: 24.61 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.717e-05/0.413, allocations: 0.9688 kB / 0.5853 GB, free: 24.61 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001053/0.4131, allocations: 7.938 kB / 0.5853 GB, free: 24.61 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 7.625e-05/0.4132, allocations: 15.42 kB / 0.5853 GB, free: 24.59 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003793/0.4136, allocations: 73.56 kB / 0.5854 GB, free: 24.55 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 9.357e-05/0.4137, allocations: 41.06 kB / 0.5854 GB, free: 24.52 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.576e-05/0.4137, allocations: 5.094 kB / 0.5854 GB, free: 24.52 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.496e-05/0.4138, allocations: 13.7 kB / 0.5854 GB, free: 24.52 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.506e-05/0.4139, allocations: 14.89 kB / 0.5854 GB, free: 24.51 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.352e-05/0.4139, allocations: 1.969 kB / 0.5854 GB, free: 24.51 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005903/0.4145, allocations: 180.4 kB / 0.5856 GB, free: 24.41 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 4.28e-05/0.4145, allocations: 10.17 kB / 0.5856 GB, free: 24.41 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 2.937e-05/0.4146, allocations: 10 kB / 0.5856 GB, free: 24.4 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001313/0.4147, allocations: 52.75 kB / 0.5857 GB, free: 24.38 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.709e-06/0.4147, allocations: 1.125 kB / 0.5857 GB, free: 24.38 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.523e-06/0.4147, allocations: 3.938 kB / 0.5857 GB, free: 24.37 MB / 446.1 MB Notification: Performance of Transformations before backend: time 6.321e-06/0.4148, allocations: 1.344 kB / 0.5857 GB, free: 24.37 MB / 446.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.0003494/0.4151, allocations: 338.5 kB / 0.586 GB, free: 24.01 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.629e-05/0.4152, allocations: 9.5 kB / 0.586 GB, free: 24.01 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.995e-05/0.4152, allocations: 2.312 kB / 0.586 GB, free: 24.01 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.143e-05/0.4153, allocations: 161.7 kB / 0.5862 GB, free: 23.82 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.019e-05/0.4154, allocations: 28.95 kB / 0.5862 GB, free: 23.79 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.365e-05/0.4154, allocations: 1.688 kB / 0.5862 GB, free: 23.79 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001285/0.4155, allocations: 46.83 kB / 0.5862 GB, free: 23.74 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.518e-06/0.4155, allocations: 2.562 kB / 0.5862 GB, free: 23.74 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.276e-05/0.4155, allocations: 5.469 kB / 0.5862 GB, free: 23.74 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.828e-05/0.4156, allocations: 1.75 kB / 0.5862 GB, free: 23.74 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.19e-05/0.4156, allocations: 16.2 kB / 0.5863 GB, free: 23.73 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003692/0.416, allocations: 341.9 kB / 0.5866 GB, free: 23.34 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 2.686e-05/0.416, allocations: 16.77 kB / 0.5866 GB, free: 23.32 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.577e-05/0.4161, allocations: 6.797 kB / 0.5866 GB, free: 23.31 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.293e-05/0.4161, allocations: 84.98 kB / 0.5867 GB, free: 23.22 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.543e-05/0.4162, allocations: 35.91 kB / 0.5867 GB, free: 23.18 MB / 446.1 MB Notification: Performance of pre-optimization done (n=1): time 1.603e-06/0.4162, allocations: 0 / 0.5867 GB, free: 23.18 MB / 446.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001377/0.4163, allocations: 43.77 kB / 0.5868 GB, free: 23.13 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.087e-05/0.4163, allocations: 53.53 kB / 0.5868 GB, free: 23.07 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.963e-05/0.4164, allocations: 104.4 kB / 0.5869 GB, free: 22.96 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 8.265e-06/0.4164, allocations: 25.7 kB / 0.5869 GB, free: 22.93 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.697e-05/0.4164, allocations: 85.61 kB / 0.587 GB, free: 22.85 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.841e-06/0.4165, allocations: 6.031 kB / 0.587 GB, free: 22.84 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.86e-05/0.4165, allocations: 17.78 kB / 0.5871 GB, free: 22.82 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 4.451e-05/0.4165, allocations: 320.8 kB / 0.5874 GB, free: 22.5 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.454e-05/0.4166, allocations: 6.75 kB / 0.5874 GB, free: 22.5 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.959e-05/0.4166, allocations: 17.88 kB / 0.5874 GB, free: 22.48 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.009e-05/0.4166, allocations: 21.94 kB / 0.5874 GB, free: 22.46 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.543e-06/0.4166, allocations: 0 / 0.5874 GB, free: 22.46 MB / 446.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 7.11e-05/0.4167, allocations: 56.28 kB / 0.5875 GB, free: 22.41 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.416e-05/0.4167, allocations: 5.594 kB / 0.5875 GB, free: 22.41 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.9e-06/0.4167, allocations: 1.281 kB / 0.5875 GB, free: 22.41 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.542e-05/0.4168, allocations: 0 / 0.5875 GB, free: 22.41 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.708e-05/0.4168, allocations: 9.453 kB / 0.5875 GB, free: 22.41 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.182e-06/0.4168, allocations: 2.281 kB / 0.5875 GB, free: 22.41 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.09e-05/0.4168, allocations: 0 / 0.5875 GB, free: 22.41 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.107e-06/0.4169, allocations: 2.75 kB / 0.5875 GB, free: 22.41 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 4.926e-05/0.4169, allocations: 116.8 kB / 0.5876 GB, free: 22.29 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.82e-05/0.417, allocations: 1.812 kB / 0.5876 GB, free: 22.29 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.763e-05/0.417, allocations: 122.1 kB / 0.5877 GB, free: 22.16 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.271e-05/0.4171, allocations: 180.2 kB / 0.5879 GB, free: 21.98 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.345e-05/0.4171, allocations: 182 kB / 0.588 GB, free: 21.8 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.264e-05/0.4171, allocations: 185.9 kB / 0.5882 GB, free: 21.61 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001311/0.4173, allocations: 405.6 kB / 0.5886 GB, free: 21.16 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.686e-05/0.4173, allocations: 120 kB / 0.5887 GB, free: 21.04 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.46e-05/0.4173, allocations: 106.1 kB / 0.5888 GB, free: 20.93 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.241e-05/0.4173, allocations: 177.4 kB / 0.589 GB, free: 20.75 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.575e-05/0.4174, allocations: 182.5 kB / 0.5892 GB, free: 20.57 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.059e-05/0.4174, allocations: 177.4 kB / 0.5893 GB, free: 20.39 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.19e-05/0.4174, allocations: 181.9 kB / 0.5895 GB, free: 20.2 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.2e-05/0.4175, allocations: 310.5 kB / 0.5898 GB, free: 19.88 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.476e-05/0.4175, allocations: 187.1 kB / 0.59 GB, free: 19.68 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.971e-05/0.4176, allocations: 178.4 kB / 0.5902 GB, free: 19.5 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001312/0.4177, allocations: 116.5 kB / 0.5903 GB, free: 19.38 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.175e-05/0.4178, allocations: 178.4 kB / 0.5904 GB, free: 19.2 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.492e-05/0.4178, allocations: 102.3 kB / 0.5905 GB, free: 19.09 MB / 446.1 MB Notification: Performance of sorting global known variables: time 2.979e-05/0.4178, allocations: 84.48 kB / 0.5906 GB, free: 19.02 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.002e-06/0.4178, allocations: 0 / 0.5906 GB, free: 19.02 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002586/0.4181, allocations: 24.53 kB / 0.5906 GB, free: 19 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.0002102/0.4183, allocations: 205.7 kB / 0.5908 GB, free: 18.82 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 6.889e-05/0.4184, allocations: 8.625 kB / 0.5908 GB, free: 18.82 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.225e-06/0.4184, allocations: 0 / 0.5908 GB, free: 18.82 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 2.194e-06/0.4184, allocations: 0 / 0.5908 GB, free: 18.82 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003011/0.4187, allocations: 463 kB / 0.5913 GB, free: 18.38 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002117/0.4189, allocations: 181.4 kB / 0.5915 GB, free: 18.19 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.781e-05/0.419, allocations: 0.676 MB / 0.5921 GB, free: 17.49 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 3.765e-05/0.4191, allocations: 5.344 kB / 0.5921 GB, free: 17.49 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.538e-05/0.4191, allocations: 9.219 kB / 0.5921 GB, free: 17.48 MB / 446.1 MB Notification: Performance of SimCode: time 2.3e-07/0.4191, allocations: 2.188 kB / 0.5921 GB, free: 17.48 MB / 446.1 MB Notification: Performance of Templates: time 0.002646/0.4218, allocations: 0.6357 MB / 0.5928 GB, free: 17.19 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 -s cvode -lv LOG_STATS > IDEAS_IDEAS.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.pipe 2>&1)