Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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_dev_IDEAS.Media.Examples.PropyleneGlycolWaterProperties") translateModel(IDEAS.Media.Examples.PropyleneGlycolWaterProperties,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_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.00132/0.00132, allocations: 105.3 kB / 15.98 MB, free: 6.352 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.001137/0.001137, allocations: 193 kB / 16.91 MB, free: 6.184 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.375/1.375, allocations: 222.9 MB / 240.6 MB, free: 13.73 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8004/0.8004, allocations: 135.1 MB / 425.9 MB, free: 4.281 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001539/0.001539, allocations: 63.91 kB / 0.5055 GB, free: 8.699 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3733/0.3749, allocations: 80.92 MB / 0.5845 GB, free: 24.96 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Media.Examples.PropyleneGlycolWaterProperties): time 0.004798/0.3797, allocations: 4.462 MB / 0.5889 GB, free: 21.39 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.002056/0.3818, allocations: 2.674 MB / 0.5915 GB, free: 19.25 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.458e-05/0.3819, allocations: 1.094 kB / 0.5915 GB, free: 19.25 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002406/0.3821, allocations: 43.88 kB / 0.5915 GB, free: 19.21 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002215/0.3824, allocations: 84.84 kB / 0.5916 GB, free: 19.14 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008508/0.3832, allocations: 471.9 kB / 0.592 GB, free: 18.82 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001987/0.3834, allocations: 230.4 kB / 0.5923 GB, free: 18.7 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.917e-05/0.3835, allocations: 9.688 kB / 0.5923 GB, free: 18.7 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007263/0.3842, allocations: 406.1 kB / 0.5927 GB, free: 18.39 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.689e-05/0.3843, allocations: 99.58 kB / 0.5928 GB, free: 18.29 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.846e-05/0.3843, allocations: 8 kB / 0.5928 GB, free: 18.28 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006725/0.385, allocations: 0.496 MB / 0.5932 GB, free: 17.79 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 5.05e-05/0.3851, allocations: 31.91 kB / 0.5933 GB, free: 17.76 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 6.44e-05/0.3851, allocations: 83.58 kB / 0.5934 GB, free: 17.68 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002593/0.3854, allocations: 243 kB / 0.5936 GB, free: 17.45 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.888e-06/0.3854, allocations: 0 / 0.5936 GB, free: 17.45 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.553e-06/0.3854, allocations: 4 kB / 0.5936 GB, free: 17.44 MB / 446.1 MB Notification: Performance of Transformations before backend: time 5.581e-06/0.3854, allocations: 0 / 0.5936 GB, free: 17.44 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.0005741/0.386, allocations: 0.4953 MB / 0.5941 GB, free: 16.9 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.283e-05/0.3861, allocations: 9.109 kB / 0.5941 GB, free: 16.89 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001459/0.3862, allocations: 22.06 kB / 0.5941 GB, free: 16.88 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001506/0.3864, allocations: 212 kB / 0.5943 GB, free: 16.63 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.658e-06/0.3864, allocations: 12.7 kB / 0.5943 GB, free: 16.62 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.143e-05/0.3864, allocations: 21.34 kB / 0.5943 GB, free: 16.6 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000295/0.3867, allocations: 251.7 kB / 0.5946 GB, free: 16.33 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.668e-06/0.3867, allocations: 0 / 0.5946 GB, free: 16.33 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.998e-05/0.3868, allocations: 4 kB / 0.5946 GB, free: 16.33 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.249e-05/0.3868, allocations: 8 kB / 0.5946 GB, free: 16.32 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003431/0.3871, allocations: 437.2 kB / 0.595 GB, free: 15.89 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000751/0.3879, allocations: 0.9997 MB / 0.596 GB, free: 14.8 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002154/0.3881, allocations: 163.1 kB / 0.5961 GB, free: 14.64 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.792e-05/0.3882, allocations: 64.81 kB / 0.5962 GB, free: 14.57 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0008433/0.3891, allocations: 1.823 MB / 0.598 GB, free: 12.39 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.85e-05/0.3891, allocations: 35.06 kB / 0.598 GB, free: 12.35 MB / 446.1 MB Notification: Performance of pre-optimization done (n=15): time 1.382e-06/0.3891, allocations: 0.6875 kB / 0.598 GB, free: 12.35 MB / 446.1 MB Notification: Performance of matching and sorting (n=15): time 0.0002803/0.3894, allocations: 156.6 kB / 0.5982 GB, free: 12.2 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.423e-05/0.3894, allocations: 55.34 kB / 0.5982 GB, free: 12.13 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001099/0.3895, allocations: 171.8 kB / 0.5984 GB, free: 11.94 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.875e-05/0.3896, allocations: 30.23 kB / 0.5984 GB, free: 11.91 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.276e-05/0.3896, allocations: 140.9 kB / 0.5985 GB, free: 11.77 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.535e-05/0.3896, allocations: 51.3 kB / 0.5986 GB, free: 11.71 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.375e-05/0.3897, allocations: 59.91 kB / 0.5986 GB, free: 11.65 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 4.646e-05/0.3898, allocations: 326.8 kB / 0.599 GB, free: 11.32 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.622e-05/0.3898, allocations: 35.97 kB / 0.599 GB, free: 11.29 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.959e-05/0.3899, allocations: 137.5 kB / 0.5991 GB, free: 11.11 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001758/0.3901, allocations: 193.7 kB / 0.5993 GB, free: 10.88 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.867e-06/0.3901, allocations: 4 kB / 0.5993 GB, free: 10.88 MB / 446.1 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0002612/0.3904, allocations: 217 kB / 0.5995 GB, free: 10.66 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.425e-05/0.3904, allocations: 8 kB / 0.5995 GB, free: 10.65 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.662e-06/0.3904, allocations: 4 kB / 0.5995 GB, free: 10.65 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.411e-05/0.3904, allocations: 4.5 kB / 0.5995 GB, free: 10.64 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001469/0.3906, allocations: 56.67 kB / 0.5996 GB, free: 10.59 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.001e-05/0.3906, allocations: 15.92 kB / 0.5996 GB, free: 10.57 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001042/0.3907, allocations: 32.59 kB / 0.5996 GB, free: 10.54 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.532e-05/0.3907, allocations: 12 kB / 0.5996 GB, free: 10.53 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.251e-05/0.3908, allocations: 130.7 kB / 0.5998 GB, free: 10.39 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.312e-05/0.3909, allocations: 13.97 kB / 0.5998 GB, free: 10.38 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002714/0.3911, allocations: 168.5 kB / 0.5999 GB, free: 10.22 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.867e-06/0.3912, allocations: 7.938 kB / 0.6 GB, free: 10.21 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.059e-06/0.3912, allocations: 0 / 0.6 GB, free: 10.21 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.678e-06/0.3912, allocations: 2.062 kB / 0.6 GB, free: 10.21 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001927/0.3914, allocations: 213.5 kB / 0.6002 GB, free: 9.957 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.382e-06/0.3914, allocations: 0 / 0.6002 GB, free: 9.957 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.94e-05/0.3915, allocations: 23.98 kB / 0.6002 GB, free: 9.934 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.693e-06/0.3915, allocations: 0 / 0.6002 GB, free: 9.934 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.244e-05/0.3915, allocations: 8 kB / 0.6002 GB, free: 9.926 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.826e-06/0.3915, allocations: 8.547 kB / 0.6002 GB, free: 9.918 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.32e-07/0.3915, allocations: 0 / 0.6002 GB, free: 9.918 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001847/0.3917, allocations: 220.9 kB / 0.6004 GB, free: 9.688 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.455e-05/0.3918, allocations: 108.9 kB / 0.6005 GB, free: 9.562 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.25e-05/0.3918, allocations: 2.406 kB / 0.6005 GB, free: 9.562 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002017/0.392, allocations: 19.92 kB / 0.6005 GB, free: 9.543 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.065e-05/0.3921, allocations: 7.984 kB / 0.6005 GB, free: 9.535 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.921e-05/0.3921, allocations: 19.92 kB / 0.6006 GB, free: 9.516 MB / 446.1 MB Notification: Performance of sorting global known variables: time 7.859e-05/0.3922, allocations: 123 kB / 0.6007 GB, free: 9.398 MB / 446.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3922, allocations: 0.8125 kB / 0.6007 GB, free: 9.398 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0003879/0.3926, allocations: 75.94 kB / 0.6008 GB, free: 9.324 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.0003594/0.3929, allocations: 173 kB / 0.6009 GB, free: 9.152 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0002117/0.3932, allocations: 135.7 kB / 0.601 GB, free: 9.02 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.905e-06/0.3932, allocations: 3.938 kB / 0.601 GB, free: 9.016 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 5.369e-05/0.3932, allocations: 47.02 kB / 0.6011 GB, free: 8.973 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003987/0.3936, allocations: 56.89 kB / 0.6011 GB, free: 8.918 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005834/0.3942, allocations: 428.4 kB / 0.6016 GB, free: 8.469 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001354/0.3944, allocations: 0.7168 MB / 0.6023 GB, free: 7.727 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.649e-05/0.3944, allocations: 27.44 kB / 0.6023 GB, free: 7.699 MB / 446.1 MB Notification: Performance of SimCode: time 2.41e-07/0.3944, allocations: 0 / 0.6023 GB, free: 7.699 MB / 446.1 MB Notification: Performance of Templates: time 0.004131/0.3986, allocations: 3.123 MB / 0.6053 GB, free: 4.605 MB / 446.1 MB make -j1 -f IDEAS_dev_IDEAS.Media.Examples.PropyleneGlycolWaterProperties.makefile (rm -f IDEAS_dev_IDEAS.Media.Examples.PropyleneGlycolWaterProperties.pipe ; mkfifo IDEAS_dev_IDEAS.Media.Examples.PropyleneGlycolWaterProperties.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Media.Examples.PropyleneGlycolWaterProperties.pipe >> ../files/IDEAS_dev_IDEAS.Media.Examples.PropyleneGlycolWaterProperties.sim & ./IDEAS_dev_IDEAS.Media.Examples.PropyleneGlycolWaterProperties -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Media.Examples.PropyleneGlycolWaterProperties.pipe 2>&1)