Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Media.Examples.PropyleneGlycolWaterProperties.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.PropyleneGlycolWaterProperties,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Media.Examples.PropyleneGlycolWaterProperties") translateModel(IDEAS.Media.Examples.PropyleneGlycolWaterProperties,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Media.Examples.PropyleneGlycolWaterProperties") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00109/0.00109, allocations: 106.8 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.001317/0.001318, allocations: 192.7 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.328/1.328, 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.7588/0.7588, allocations: 132.2 MB / 423.3 MB, free: 6.547 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00204/0.00204, allocations: 59.91 kB / 0.5032 GB, free: 10.92 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3765/0.3786, allocations: 80.18 MB / 0.5815 GB, free: 27.76 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Media.Examples.PropyleneGlycolWaterProperties): time 0.005342/0.384, allocations: 4.438 MB / 0.5858 GB, free: 24.21 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.002666/0.3867, allocations: 2.678 MB / 0.5884 GB, free: 22.05 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001046/0.3868, allocations: 4.969 kB / 0.5884 GB, free: 22.05 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002891/0.3871, allocations: 51.3 kB / 0.5885 GB, free: 22.01 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002711/0.3874, allocations: 96.81 kB / 0.5886 GB, free: 21.93 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001104/0.3885, allocations: 0.4914 MB / 0.589 GB, free: 21.57 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002427/0.3888, allocations: 233.5 kB / 0.5893 GB, free: 21.45 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.815e-05/0.3888, allocations: 10.53 kB / 0.5893 GB, free: 21.45 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009023/0.3897, allocations: 418.7 kB / 0.5897 GB, free: 21.25 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001169/0.3899, allocations: 95.62 kB / 0.5898 GB, free: 21.19 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 2.09e-05/0.3899, allocations: 6.406 kB / 0.5898 GB, free: 21.19 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008918/0.3908, allocations: 490.7 kB / 0.5902 GB, free: 20.94 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 6.532e-05/0.3909, allocations: 37.8 kB / 0.5903 GB, free: 20.91 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 8.371e-05/0.3909, allocations: 80.12 kB / 0.5904 GB, free: 20.87 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005167/0.3915, allocations: 363.5 kB / 0.5907 GB, free: 20.68 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.418e-06/0.3915, allocations: 0 / 0.5907 GB, free: 20.68 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.343e-06/0.3915, allocations: 0 / 0.5907 GB, free: 20.68 MB / 446.1 MB Notification: Performance of Transformations before backend: time 5.119e-06/0.3915, allocations: 0 / 0.5907 GB, free: 20.68 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: 39 * Number of variables: 39 Notification: Performance of Generate backend data structure: time 0.0006354/0.3921, allocations: 0.4909 MB / 0.5912 GB, free: 20.21 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.651e-05/0.3922, allocations: 8.625 kB / 0.5912 GB, free: 20.21 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001543/0.3923, allocations: 24.06 kB / 0.5912 GB, free: 20.19 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001721/0.3925, allocations: 209.3 kB / 0.5914 GB, free: 19.95 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.358e-05/0.3926, allocations: 12.7 kB / 0.5914 GB, free: 19.93 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.65e-05/0.3926, allocations: 13.34 kB / 0.5914 GB, free: 19.92 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002947/0.3929, allocations: 262.5 kB / 0.5917 GB, free: 19.64 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.006e-05/0.3929, allocations: 1.562 kB / 0.5917 GB, free: 19.64 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.924e-05/0.3929, allocations: 8 kB / 0.5917 GB, free: 19.64 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.23e-05/0.3929, allocations: 4 kB / 0.5917 GB, free: 19.63 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003478/0.3933, allocations: 435.4 kB / 0.5921 GB, free: 19.21 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007724/0.3941, allocations: 1.008 MB / 0.5931 GB, free: 18.11 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002189/0.3943, allocations: 161.5 kB / 0.5932 GB, free: 17.95 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.133e-05/0.3944, allocations: 65.47 kB / 0.5933 GB, free: 17.88 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0008745/0.3953, allocations: 1.822 MB / 0.5951 GB, free: 15.7 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.164e-05/0.3953, allocations: 40.41 kB / 0.5951 GB, free: 15.65 MB / 446.1 MB Notification: Performance of pre-optimization done (n=15): time 1.323e-06/0.3953, allocations: 0 / 0.5951 GB, free: 15.65 MB / 446.1 MB Notification: Performance of matching and sorting (n=15): time 0.0002768/0.3956, allocations: 145.4 kB / 0.5953 GB, free: 15.5 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.891e-05/0.3956, allocations: 56.06 kB / 0.5953 GB, free: 15.44 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.608e-05/0.3957, allocations: 161.7 kB / 0.5955 GB, free: 15.26 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.617e-05/0.3958, allocations: 35.89 kB / 0.5955 GB, free: 15.22 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.333e-05/0.3958, allocations: 143.7 kB / 0.5956 GB, free: 15.08 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.925e-05/0.3959, allocations: 59.19 kB / 0.5957 GB, free: 15.02 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.056e-05/0.3959, allocations: 49.64 kB / 0.5958 GB, free: 14.96 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 5.094e-05/0.396, allocations: 324.2 kB / 0.5961 GB, free: 14.64 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.634e-05/0.396, allocations: 39.97 kB / 0.5961 GB, free: 14.6 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.176e-05/0.3961, allocations: 145.6 kB / 0.5962 GB, free: 14.41 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001759/0.3963, allocations: 204.5 kB / 0.5964 GB, free: 14.18 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.905e-06/0.3963, allocations: 0 / 0.5964 GB, free: 14.18 MB / 446.1 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0002592/0.3966, allocations: 217.1 kB / 0.5966 GB, free: 13.96 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.447e-05/0.3966, allocations: 10.03 kB / 0.5966 GB, free: 13.95 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.153e-06/0.3966, allocations: 4 kB / 0.5967 GB, free: 13.95 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.62e-05/0.3966, allocations: 4.906 kB / 0.5967 GB, free: 13.95 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001502/0.3968, allocations: 59.84 kB / 0.5967 GB, free: 13.89 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.737e-06/0.3968, allocations: 4.656 kB / 0.5967 GB, free: 13.88 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.854e-05/0.3969, allocations: 31.62 kB / 0.5967 GB, free: 13.85 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.533e-05/0.3969, allocations: 13.75 kB / 0.5968 GB, free: 13.84 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * 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 (30): * Single equations (assignments): 29 * Array equations: 1 * 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 7.129e-05/0.397, allocations: 129.8 kB / 0.5969 GB, free: 13.7 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.227e-05/0.3971, allocations: 15.81 kB / 0.5969 GB, free: 13.69 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000246/0.3973, allocations: 156 kB / 0.597 GB, free: 13.53 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.017e-06/0.3973, allocations: 3.938 kB / 0.5971 GB, free: 13.53 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.288e-06/0.3973, allocations: 4.688 kB / 0.5971 GB, free: 13.52 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.988e-06/0.3974, allocations: 0 / 0.5971 GB, free: 13.52 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001733/0.3975, allocations: 222.5 kB / 0.5973 GB, free: 13.26 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.513e-06/0.3975, allocations: 0 / 0.5973 GB, free: 13.26 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.099e-05/0.3976, allocations: 23.94 kB / 0.5973 GB, free: 13.23 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.944e-06/0.3976, allocations: 1.969 kB / 0.5973 GB, free: 13.23 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.078e-05/0.3977, allocations: 7.984 kB / 0.5973 GB, free: 13.23 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.835e-06/0.3977, allocations: 7.938 kB / 0.5973 GB, free: 13.22 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.3977, allocations: 0 / 0.5973 GB, free: 13.22 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001809/0.3979, allocations: 216 kB / 0.5975 GB, free: 13 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.196e-05/0.3979, allocations: 105 kB / 0.5976 GB, free: 12.88 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.222e-05/0.3979, allocations: 0 / 0.5976 GB, free: 12.88 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001881/0.3981, allocations: 20.45 kB / 0.5976 GB, free: 12.86 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.119e-05/0.3982, allocations: 13.7 kB / 0.5976 GB, free: 12.84 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.76e-05/0.3982, allocations: 11.98 kB / 0.5977 GB, free: 12.83 MB / 446.1 MB Notification: Performance of sorting global known variables: time 5.962e-05/0.3983, allocations: 120.9 kB / 0.5978 GB, free: 12.71 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.61e-07/0.3983, allocations: 3.938 kB / 0.5978 GB, free: 12.71 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0003582/0.3986, allocations: 80.44 kB / 0.5979 GB, free: 12.63 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 (15): * Single equations (assignments): 14 * Array equations: 1 * 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.0002566/0.3989, allocations: 187.7 kB / 0.598 GB, free: 12.45 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0002038/0.3991, allocations: 119.7 kB / 0.5981 GB, free: 12.33 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.955e-06/0.3991, allocations: 0 / 0.5981 GB, free: 12.33 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 5.582e-05/0.3992, allocations: 48.88 kB / 0.5982 GB, free: 12.29 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003965/0.3996, allocations: 47.56 kB / 0.5982 GB, free: 12.24 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000567/0.4002, allocations: 350.5 kB / 0.5986 GB, free: 11.88 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001216/0.4003, allocations: 0.705 MB / 0.5993 GB, free: 11.15 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0001231/0.4004, allocations: 54.09 kB / 0.5993 GB, free: 11.1 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.473e-05/0.4005, allocations: 27.44 kB / 0.5993 GB, free: 11.07 MB / 446.1 MB Notification: Performance of SimCode: time 2.3e-07/0.4005, allocations: 0 / 0.5993 GB, free: 11.07 MB / 446.1 MB Notification: Performance of Templates: time 0.005619/0.4061, allocations: 3.329 MB / 0.6026 GB, free: 7.789 MB / 446.1 MB make -j1 -f IDEAS_IDEAS.Media.Examples.PropyleneGlycolWaterProperties.makefile (rm -f IDEAS_IDEAS.Media.Examples.PropyleneGlycolWaterProperties.pipe ; mkfifo IDEAS_IDEAS.Media.Examples.PropyleneGlycolWaterProperties.pipe ; head -c 1048576 < IDEAS_IDEAS.Media.Examples.PropyleneGlycolWaterProperties.pipe >> ../files/IDEAS_IDEAS.Media.Examples.PropyleneGlycolWaterProperties.sim & ./IDEAS_IDEAS.Media.Examples.PropyleneGlycolWaterProperties -abortSlowSimulation -alarm=480 -s cvode -lv LOG_STATS > IDEAS_IDEAS.Media.Examples.PropyleneGlycolWaterProperties.pipe 2>&1)