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.001106/0.001106, allocations: 109.4 kB / 16.37 MB, free: 6.477 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.001026/0.001026, allocations: 193.8 kB / 17.31 MB, free: 5.824 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.402/1.402, allocations: 222.9 MB / 241 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.788/0.788, allocations: 132.2 MB / 423.4 MB, free: 6.625 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00125/0.00125, allocations: 63.91 kB / 0.5032 GB, free: 10.98 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3212/0.3224, allocations: 80.18 MB / 0.5815 GB, free: 27.52 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Media.Examples.PropyleneGlycolWaterProperties): time 0.004929/0.3274, allocations: 4.422 MB / 0.5858 GB, free: 23.98 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.002039/0.3295, allocations: 2.695 MB / 0.5884 GB, free: 21.81 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.192e-05/0.3295, allocations: 6.875 kB / 0.5884 GB, free: 21.8 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002265/0.3298, allocations: 50.56 kB / 0.5885 GB, free: 21.76 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002112/0.33, allocations: 93.22 kB / 0.5886 GB, free: 21.69 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008589/0.3309, allocations: 498.9 kB / 0.5891 GB, free: 21.34 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002345/0.3311, allocations: 233 kB / 0.5893 GB, free: 21.21 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.496e-05/0.3312, allocations: 14.48 kB / 0.5893 GB, free: 21.21 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007659/0.3319, allocations: 418.5 kB / 0.5897 GB, free: 21.01 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001112/0.3321, allocations: 89.44 kB / 0.5898 GB, free: 20.96 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 2.092e-05/0.3321, allocations: 7.031 kB / 0.5898 GB, free: 20.96 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008424/0.3329, allocations: 494.7 kB / 0.5903 GB, free: 20.7 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 6.749e-05/0.333, allocations: 41.52 kB / 0.5903 GB, free: 20.67 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 9.057e-05/0.3331, allocations: 80.42 kB / 0.5904 GB, free: 20.63 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004941/0.3336, allocations: 351.6 kB / 0.5907 GB, free: 20.45 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.917e-06/0.3336, allocations: 0 / 0.5907 GB, free: 20.45 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.302e-06/0.3336, allocations: 0 / 0.5907 GB, free: 20.45 MB / 446.1 MB Notification: Performance of Transformations before backend: time 4.869e-06/0.3336, allocations: 1.969 kB / 0.5907 GB, free: 20.45 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.0005938/0.3342, allocations: 0.4967 MB / 0.5912 GB, free: 19.97 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.188e-05/0.3343, allocations: 9.688 kB / 0.5912 GB, free: 19.97 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001605/0.3344, allocations: 27.11 kB / 0.5912 GB, free: 19.96 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001904/0.3346, allocations: 213.2 kB / 0.5914 GB, free: 19.72 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.475e-05/0.3347, allocations: 11.2 kB / 0.5914 GB, free: 19.72 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.902e-05/0.3347, allocations: 17.16 kB / 0.5915 GB, free: 19.71 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003049/0.335, allocations: 253.7 kB / 0.5917 GB, free: 19.53 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.035e-05/0.335, allocations: 3.938 kB / 0.5917 GB, free: 19.53 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.999e-05/0.335, allocations: 6.344 kB / 0.5917 GB, free: 19.52 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.977e-05/0.3351, allocations: 11.06 kB / 0.5917 GB, free: 19.52 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003821/0.3355, allocations: 434.1 kB / 0.5921 GB, free: 19.21 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007393/0.3362, allocations: 1.002 MB / 0.5931 GB, free: 18.12 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002289/0.3365, allocations: 162.1 kB / 0.5933 GB, free: 17.95 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.62e-05/0.3366, allocations: 65.53 kB / 0.5933 GB, free: 17.89 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00102/0.3376, allocations: 1.818 MB / 0.5951 GB, free: 15.71 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.955e-05/0.3376, allocations: 36.03 kB / 0.5951 GB, free: 15.67 MB / 446.1 MB Notification: Performance of pre-optimization done (n=15): time 1.463e-06/0.3376, allocations: 0 / 0.5951 GB, free: 15.67 MB / 446.1 MB Notification: Performance of matching and sorting (n=15): time 0.0003221/0.338, allocations: 156 kB / 0.5953 GB, free: 15.51 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.216e-05/0.338, allocations: 59.34 kB / 0.5953 GB, free: 15.44 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001205/0.3381, allocations: 167.7 kB / 0.5955 GB, free: 15.26 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.89e-05/0.3381, allocations: 29.7 kB / 0.5955 GB, free: 15.23 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.721e-05/0.3382, allocations: 139.8 kB / 0.5957 GB, free: 15.09 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.66e-05/0.3382, allocations: 55.19 kB / 0.5957 GB, free: 15.03 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.47e-05/0.3383, allocations: 50.8 kB / 0.5958 GB, free: 14.98 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 6.15e-05/0.3384, allocations: 322.8 kB / 0.5961 GB, free: 14.65 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.392e-05/0.3384, allocations: 33.48 kB / 0.5961 GB, free: 14.62 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001087/0.3386, allocations: 147.1 kB / 0.5962 GB, free: 14.43 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002013/0.3388, allocations: 202.6 kB / 0.5964 GB, free: 14.2 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.985e-06/0.3388, allocations: 0 / 0.5964 GB, free: 14.2 MB / 446.1 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.000274/0.3391, allocations: 216.4 kB / 0.5966 GB, free: 13.98 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.397e-05/0.3391, allocations: 5.375 kB / 0.5966 GB, free: 13.98 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.184e-06/0.3391, allocations: 4 kB / 0.5967 GB, free: 13.97 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.89e-05/0.3391, allocations: 8 kB / 0.5967 GB, free: 13.96 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001546/0.3393, allocations: 56.34 kB / 0.5967 GB, free: 13.91 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.158e-05/0.3393, allocations: 7.938 kB / 0.5967 GB, free: 13.9 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001065/0.3394, allocations: 34.42 kB / 0.5968 GB, free: 13.87 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.76e-05/0.3394, allocations: 16 kB / 0.5968 GB, free: 13.86 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 9.188e-05/0.3395, allocations: 129.8 kB / 0.5969 GB, free: 13.72 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.657e-05/0.3396, allocations: 15.81 kB / 0.5969 GB, free: 13.7 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002677/0.3399, allocations: 155 kB / 0.5971 GB, free: 13.55 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.198e-06/0.3399, allocations: 5.688 kB / 0.5971 GB, free: 13.54 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.959e-06/0.3399, allocations: 0 / 0.5971 GB, free: 13.54 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.41e-06/0.3399, allocations: 7.938 kB / 0.5971 GB, free: 13.54 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001876/0.3401, allocations: 217.4 kB / 0.5973 GB, free: 13.27 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.603e-06/0.3401, allocations: 4.594 kB / 0.5973 GB, free: 13.27 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.21e-05/0.3402, allocations: 27.98 kB / 0.5973 GB, free: 13.24 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.014e-06/0.3402, allocations: 5 kB / 0.5973 GB, free: 13.24 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.069e-05/0.3402, allocations: 0 / 0.5973 GB, free: 13.24 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.264e-06/0.3402, allocations: 3.938 kB / 0.5973 GB, free: 13.23 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.82e-07/0.3402, allocations: 0.7188 kB / 0.5973 GB, free: 13.23 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001961/0.3404, allocations: 223.7 kB / 0.5975 GB, free: 13 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.506e-05/0.3405, allocations: 105 kB / 0.5976 GB, free: 12.88 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.451e-05/0.3405, allocations: 7.938 kB / 0.5976 GB, free: 12.88 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001907/0.3407, allocations: 16.92 kB / 0.5977 GB, free: 12.86 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.178e-05/0.3408, allocations: 12.48 kB / 0.5977 GB, free: 12.85 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.659e-05/0.3408, allocations: 9.156 kB / 0.5977 GB, free: 12.84 MB / 446.1 MB Notification: Performance of sorting global known variables: time 5.791e-05/0.3409, allocations: 124.9 kB / 0.5978 GB, free: 12.72 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.3409, allocations: 0 / 0.5978 GB, free: 12.72 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0003521/0.3412, allocations: 81.14 kB / 0.5979 GB, free: 12.64 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.0002241/0.3415, allocations: 178.1 kB / 0.598 GB, free: 12.46 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0001962/0.3417, allocations: 122.5 kB / 0.5982 GB, free: 12.35 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.726e-06/0.3417, allocations: 3.984 kB / 0.5982 GB, free: 12.34 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 5.348e-05/0.3417, allocations: 43.92 kB / 0.5982 GB, free: 12.3 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000388/0.3421, allocations: 55 kB / 0.5983 GB, free: 12.25 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005257/0.3427, allocations: 340.2 kB / 0.5986 GB, free: 11.89 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001139/0.3428, allocations: 0.7168 MB / 0.5993 GB, free: 11.15 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0001288/0.3429, allocations: 48.48 kB / 0.5993 GB, free: 11.11 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.441e-05/0.343, allocations: 27.38 kB / 0.5994 GB, free: 11.08 MB / 446.1 MB Notification: Performance of SimCode: time 2.3e-07/0.343, allocations: 0 / 0.5994 GB, free: 11.08 MB / 446.1 MB Notification: Performance of Templates: time 0.005536/0.3485, allocations: 3.329 MB / 0.6026 GB, free: 7.797 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 gbode -lv LOG_STATS > IDEAS_IDEAS.Media.Examples.PropyleneGlycolWaterProperties.pipe 2>&1)