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.000843/0.0008432, allocations: 91.45 kB / 15.36 MB, free: 0.7383 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.005803/0.005803, allocations: 172.3 kB / 16.26 MB, free: 6.613 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.358/1.358, allocations: 223.3 MB / 240.3 MB, free: 5.344 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7624/0.7624, allocations: 132.3 MB / 423.8 MB, free: 1.941 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003625/0.0003626, allocations: 8 kB / 0.504 GB, free: 3.898 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4753/0.4757, allocations: 81.58 MB / 0.5837 GB, free: 4.031 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion): time 0.004122/0.4799, allocations: 3.413 MB / 0.587 GB, free: 1.547 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.0001718/0.4801, allocations: 152.5 kB / 0.5871 GB, free: 1.441 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.559e-05/0.4801, allocations: 4.719 kB / 0.5871 GB, free: 1.438 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 9.192e-05/0.4802, allocations: 1.219 kB / 0.5871 GB, free: 1.438 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 7.843e-05/0.4803, allocations: 9.344 kB / 0.5872 GB, free: 1.434 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003089/0.4806, allocations: 80.48 kB / 0.5872 GB, free: 1.395 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.000107/0.4807, allocations: 66.12 kB / 0.5873 GB, free: 1.371 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.949e-05/0.4808, allocations: 2.156 kB / 0.5873 GB, free: 1.371 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.142e-05/0.4808, allocations: 11.62 kB / 0.5873 GB, free: 1.371 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.224e-05/0.4809, allocations: 17.08 kB / 0.5873 GB, free: 1.363 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 1.206e-05/0.4809, allocations: 0.625 kB / 0.5873 GB, free: 1.363 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005409/0.4814, allocations: 192.8 kB / 0.5875 GB, free: 1.293 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 4.397e-05/0.4815, allocations: 13.19 kB / 0.5875 GB, free: 1.285 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 3.392e-05/0.4815, allocations: 31.66 kB / 0.5876 GB, free: 1.254 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001432/0.4817, allocations: 54.94 kB / 0.5876 GB, free: 1.234 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.109e-06/0.4817, allocations: 1.062 kB / 0.5876 GB, free: 1.234 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.575e-06/0.4817, allocations: 0 / 0.5876 GB, free: 1.234 MB / 430.1 MB Notification: Performance of Transformations before backend: time 5.18e-06/0.4817, allocations: 0 / 0.5876 GB, free: 1.234 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.0003264/0.4821, allocations: 329.1 kB / 0.5879 GB, free: 0.8789 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.268e-05/0.4821, allocations: 13.28 kB / 0.5879 GB, free: 0.875 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.388e-05/0.4822, allocations: 6.312 kB / 0.5879 GB, free: 0.8711 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.054e-05/0.4823, allocations: 163.1 kB / 0.5881 GB, free: 0.6758 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.544e-05/0.4823, allocations: 28.2 kB / 0.5881 GB, free: 0.6445 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.808e-06/0.4823, allocations: 2.406 kB / 0.5881 GB, free: 0.6445 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001438/0.4825, allocations: 49.19 kB / 0.5882 GB, free: 0.6055 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.628e-06/0.4825, allocations: 0 / 0.5882 GB, free: 0.6055 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.186e-05/0.4825, allocations: 1.312 kB / 0.5882 GB, free: 0.6055 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.865e-05/0.4826, allocations: 0.75 kB / 0.5882 GB, free: 0.6055 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.678e-05/0.4826, allocations: 17.06 kB / 0.5882 GB, free: 0.6016 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004406/0.4831, allocations: 340.8 kB / 0.5885 GB, free: 232 kB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.185e-05/0.4831, allocations: 20.59 kB / 0.5885 GB, free: 204 kB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.636e-05/0.4832, allocations: 9.859 kB / 0.5885 GB, free: 192 kB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.131e-05/0.4832, allocations: 85.45 kB / 0.5886 GB, free: 96 kB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.502e-05/0.4833, allocations: 31.44 kB / 0.5887 GB, free: 56 kB / 430.1 MB Notification: Performance of pre-optimization done (n=1): time 1.222e-06/0.4833, allocations: 4 kB / 0.5887 GB, free: 52 kB / 430.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001527/0.4834, allocations: 37.05 kB / 0.5887 GB, free: 16 kB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.604e-05/0.4835, allocations: 52.86 kB / 0.5887 GB, free: 15.95 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001042/0.4836, allocations: 107.1 kB / 0.5888 GB, free: 15.85 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.655e-05/0.4837, allocations: 25.7 kB / 0.5889 GB, free: 15.82 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.857e-05/0.4837, allocations: 86.22 kB / 0.589 GB, free: 15.73 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.017e-05/0.4837, allocations: 9.031 kB / 0.589 GB, free: 15.72 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.07e-05/0.4838, allocations: 11.25 kB / 0.589 GB, free: 15.71 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001353/0.4839, allocations: 321.3 kB / 0.5893 GB, free: 15.39 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.82e-05/0.4839, allocations: 2.828 kB / 0.5893 GB, free: 15.39 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.409e-05/0.484, allocations: 20.16 kB / 0.5893 GB, free: 15.37 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.469e-05/0.484, allocations: 24.03 kB / 0.5893 GB, free: 15.34 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.914e-06/0.484, allocations: 0 / 0.5893 GB, free: 15.34 MB / 446.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 9.539e-05/0.4841, allocations: 58.38 kB / 0.5894 GB, free: 15.3 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.823e-05/0.4842, allocations: 11.5 kB / 0.5894 GB, free: 15.29 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.753e-06/0.4842, allocations: 1.391 kB / 0.5894 GB, free: 15.29 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.17e-05/0.4842, allocations: 0.5625 kB / 0.5894 GB, free: 15.29 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.226e-05/0.4843, allocations: 5.625 kB / 0.5894 GB, free: 15.29 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.895e-06/0.4843, allocations: 1.734 kB / 0.5894 GB, free: 15.29 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.213e-05/0.4843, allocations: 0.6875 kB / 0.5894 GB, free: 15.29 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.274e-05/0.4843, allocations: 2.422 kB / 0.5894 GB, free: 15.29 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 9.655e-05/0.4844, allocations: 118.2 kB / 0.5895 GB, free: 15.17 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.973e-05/0.4845, allocations: 6.375 kB / 0.5895 GB, free: 15.17 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001225/0.4846, allocations: 118 kB / 0.5896 GB, free: 15.05 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001494/0.4847, allocations: 181.1 kB / 0.5898 GB, free: 14.86 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001398/0.4849, allocations: 182.1 kB / 0.59 GB, free: 14.68 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.549e-05/0.485, allocations: 182.2 kB / 0.5902 GB, free: 14.5 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002498/0.4852, allocations: 412.5 kB / 0.5905 GB, free: 14.04 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.558e-05/0.4853, allocations: 109.6 kB / 0.5906 GB, free: 13.93 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.803e-05/0.4853, allocations: 102.9 kB / 0.5907 GB, free: 13.82 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.535e-05/0.4854, allocations: 179.4 kB / 0.5909 GB, free: 13.64 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001375/0.4856, allocations: 180.8 kB / 0.5911 GB, free: 13.46 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.855e-05/0.4857, allocations: 177.8 kB / 0.5913 GB, free: 13.28 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0001361/0.4858, allocations: 185.9 kB / 0.5914 GB, free: 13.09 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001434/0.486, allocations: 306.3 kB / 0.5917 GB, free: 12.78 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.221e-05/0.4861, allocations: 190 kB / 0.5919 GB, free: 12.57 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000109/0.4862, allocations: 186.2 kB / 0.5921 GB, free: 12.38 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001812/0.4864, allocations: 115.4 kB / 0.5922 GB, free: 12.27 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001136/0.4865, allocations: 178.4 kB / 0.5924 GB, free: 12.09 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.046e-05/0.4865, allocations: 102.4 kB / 0.5925 GB, free: 11.98 MB / 446.1 MB Notification: Performance of sorting global known variables: time 5.602e-05/0.4866, allocations: 87.02 kB / 0.5926 GB, free: 11.91 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.764e-06/0.4866, allocations: 0 / 0.5926 GB, free: 11.91 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0003016/0.4869, allocations: 19.44 kB / 0.5926 GB, free: 11.9 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.0003244/0.4872, allocations: 203.2 kB / 0.5928 GB, free: 11.73 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 8.453e-05/0.4873, allocations: 7.125 kB / 0.5928 GB, free: 11.73 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.487e-06/0.4873, allocations: 3.938 kB / 0.5928 GB, free: 11.72 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 4.328e-06/0.4874, allocations: 2.031 kB / 0.5928 GB, free: 11.72 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004381/0.4878, allocations: 0.5298 MB / 0.5933 GB, free: 11.19 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002614/0.4881, allocations: 185.8 kB / 0.5935 GB, free: 11.01 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002806/0.4884, allocations: 0.6748 MB / 0.5941 GB, free: 10.32 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 4.669e-05/0.4884, allocations: 5.625 kB / 0.5941 GB, free: 10.32 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.923e-05/0.4884, allocations: 13.61 kB / 0.5941 GB, free: 10.3 MB / 446.1 MB Notification: Performance of SimCode: time 5.21e-07/0.4885, allocations: 0 / 0.5941 GB, free: 10.3 MB / 446.1 MB Notification: Performance of Templates: time 0.003375/0.4918, allocations: 0.6142 MB / 0.5947 GB, free: 10.22 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)