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.008399/0.008399, allocations: 95.61 kB / 15.73 MB, free: 6.047 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.001448/0.001448, allocations: 197.7 kB / 16.67 MB, free: 5.973 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.416/1.416, allocations: 222.9 MB / 240.4 MB, free: 4.328 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9352/0.9352, allocations: 135.1 MB / 425.7 MB, free: 12 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001218/0.001218, allocations: 59.91 kB / 0.5857 GB, free: 3.332 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4848/0.4861, allocations: 80.91 MB / 0.6647 GB, free: 7.586 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Media.Examples.PropyleneGlycolWaterProperties): time 0.005718/0.4918, allocations: 4.431 MB / 0.669 GB, free: 4.016 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.00244/0.4943, allocations: 2.688 MB / 0.6716 GB, free: 1.84 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.821e-05/0.4944, allocations: 1.281 kB / 0.6716 GB, free: 1.84 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0003053/0.4947, allocations: 50.58 kB / 0.6717 GB, free: 1.797 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0003123/0.4951, allocations: 94.88 kB / 0.6718 GB, free: 1.719 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.001153/0.4962, allocations: 499.5 kB / 0.6722 GB, free: 1.359 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0002879/0.4965, allocations: 233.1 kB / 0.6725 GB, free: 1.238 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 5.586e-05/0.4966, allocations: 9.219 kB / 0.6725 GB, free: 1.234 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001078/0.4977, allocations: 428.7 kB / 0.6729 GB, free: 1.004 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001404/0.4978, allocations: 85.05 kB / 0.673 GB, free: 0.957 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 2.978e-05/0.4979, allocations: 6.781 kB / 0.673 GB, free: 0.957 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001079/0.4989, allocations: 498.2 kB / 0.6734 GB, free: 0.6914 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 7.956e-05/0.499, allocations: 33.86 kB / 0.6735 GB, free: 0.668 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0001038/0.4991, allocations: 79.09 kB / 0.6736 GB, free: 0.625 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0006778/0.4998, allocations: 358 kB / 0.6739 GB, free: 444 kB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.839e-06/0.4998, allocations: 4 kB / 0.6739 GB, free: 440 kB / 0.4981 GB Notification: Performance of FrontEnd: time 2.214e-06/0.4999, allocations: 1.188 kB / 0.6739 GB, free: 440 kB / 0.4981 GB Notification: Performance of Transformations before backend: time 6.803e-06/0.4999, allocations: 0 / 0.6739 GB, free: 440 kB / 0.4981 GB 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.0008579/0.5007, allocations: 0.5038 MB / 0.6744 GB, free: 15.95 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 6.339e-05/0.5008, allocations: 9.625 kB / 0.6744 GB, free: 15.95 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001891/0.501, allocations: 21.62 kB / 0.6744 GB, free: 15.94 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003335/0.5013, allocations: 208 kB / 0.6746 GB, free: 15.71 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.351e-05/0.5014, allocations: 10.92 kB / 0.6746 GB, free: 15.7 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.004e-05/0.5014, allocations: 26.73 kB / 0.6747 GB, free: 15.69 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004739/0.5019, allocations: 244.9 kB / 0.6749 GB, free: 15.51 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.94e-05/0.5019, allocations: 5.062 kB / 0.6749 GB, free: 15.51 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.827e-05/0.502, allocations: 6.375 kB / 0.6749 GB, free: 15.5 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.314e-05/0.502, allocations: 6.031 kB / 0.6749 GB, free: 15.5 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006452/0.5026, allocations: 440.5 kB / 0.6753 GB, free: 15.3 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001272/0.5039, allocations: 0.9968 MB / 0.6763 GB, free: 14.32 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003394/0.5043, allocations: 165.6 kB / 0.6765 GB, free: 14.24 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001168/0.5044, allocations: 62.69 kB / 0.6765 GB, free: 14.21 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001525/0.5059, allocations: 1.827 MB / 0.6783 GB, free: 12.11 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.268e-05/0.506, allocations: 39.94 kB / 0.6783 GB, free: 12.06 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=15): time 1.412e-06/0.506, allocations: 5.094 kB / 0.6783 GB, free: 12.06 MB / 0.5137 GB Notification: Performance of matching and sorting (n=15): time 0.0003789/0.5064, allocations: 150.2 kB / 0.6785 GB, free: 11.97 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.466e-05/0.5064, allocations: 57.75 kB / 0.6785 GB, free: 11.91 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00017/0.5066, allocations: 171.6 kB / 0.6787 GB, free: 11.76 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 2.472e-05/0.5067, allocations: 30.83 kB / 0.6787 GB, free: 11.73 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001041/0.5068, allocations: 144.5 kB / 0.6789 GB, free: 11.59 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 4.034e-05/0.5068, allocations: 50.34 kB / 0.6789 GB, free: 11.55 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.777e-05/0.5069, allocations: 60.06 kB / 0.679 GB, free: 11.5 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001346/0.507, allocations: 327 kB / 0.6793 GB, free: 11.18 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.498e-05/0.5071, allocations: 37.03 kB / 0.6793 GB, free: 11.16 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001596/0.5073, allocations: 139.3 kB / 0.6795 GB, free: 11.01 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002945/0.5076, allocations: 206.3 kB / 0.6797 GB, free: 10.82 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.647e-06/0.5076, allocations: 1.219 kB / 0.6797 GB, free: 10.82 MB / 0.5137 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0003888/0.508, allocations: 207.8 kB / 0.6799 GB, free: 10.71 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 3.224e-05/0.508, allocations: 10.81 kB / 0.6799 GB, free: 10.7 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.491e-05/0.5081, allocations: 3.719 kB / 0.6799 GB, free: 10.7 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.741e-05/0.5081, allocations: 9.125 kB / 0.6799 GB, free: 10.7 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002575/0.5084, allocations: 65.09 kB / 0.6799 GB, free: 10.68 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.951e-05/0.5084, allocations: 5.406 kB / 0.6799 GB, free: 10.68 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001162/0.5085, allocations: 32.45 kB / 0.68 GB, free: 10.65 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.389e-05/0.5085, allocations: 11.03 kB / 0.68 GB, free: 10.65 MB / 0.5137 GB 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 0.0001363/0.5087, allocations: 135.9 kB / 0.6801 GB, free: 10.52 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.026e-05/0.5087, allocations: 15.75 kB / 0.6801 GB, free: 10.51 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003652/0.5091, allocations: 164.5 kB / 0.6803 GB, free: 10.41 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.448e-05/0.5091, allocations: 5.906 kB / 0.6803 GB, free: 10.4 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.426e-06/0.5091, allocations: 1.156 kB / 0.6803 GB, free: 10.4 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.44e-06/0.5092, allocations: 0 / 0.6803 GB, free: 10.4 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000284/0.5094, allocations: 217.2 kB / 0.6805 GB, free: 10.17 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.644e-06/0.5095, allocations: 1.188 kB / 0.6805 GB, free: 10.17 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.957e-05/0.5095, allocations: 19.5 kB / 0.6805 GB, free: 10.17 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.883e-06/0.5096, allocations: 0 / 0.6805 GB, free: 10.17 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.181e-05/0.5096, allocations: 14.03 kB / 0.6805 GB, free: 10.16 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.471e-06/0.5096, allocations: 5 kB / 0.6805 GB, free: 10.15 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.743e-06/0.5096, allocations: 4 kB / 0.6805 GB, free: 10.15 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002947/0.5099, allocations: 220.6 kB / 0.6808 GB, free: 9.973 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 9.797e-05/0.51, allocations: 109.2 kB / 0.6809 GB, free: 9.855 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.934e-05/0.51, allocations: 5.656 kB / 0.6809 GB, free: 9.852 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002106/0.5103, allocations: 19.55 kB / 0.6809 GB, free: 9.84 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.53e-05/0.5103, allocations: 9.453 kB / 0.6809 GB, free: 9.836 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.987e-05/0.5103, allocations: 13.7 kB / 0.6809 GB, free: 9.828 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0001227/0.5105, allocations: 123.2 kB / 0.681 GB, free: 9.73 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.1e-07/0.5105, allocations: 0 / 0.681 GB, free: 9.73 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0004704/0.511, allocations: 74.03 kB / 0.6811 GB, free: 9.715 MB / 0.5137 GB 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.0004126/0.5114, allocations: 171.6 kB / 0.6813 GB, free: 9.59 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0002987/0.5117, allocations: 125.8 kB / 0.6814 GB, free: 9.539 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 3.536e-06/0.5117, allocations: 0 / 0.6814 GB, free: 9.539 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 9.52e-05/0.5118, allocations: 57.36 kB / 0.6814 GB, free: 9.512 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004438/0.5122, allocations: 43.48 kB / 0.6815 GB, free: 9.492 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008169/0.5131, allocations: 347.2 kB / 0.6818 GB, free: 9.258 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003486/0.5134, allocations: 0.7164 MB / 0.6825 GB, free: 8.543 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0001535/0.5136, allocations: 52.47 kB / 0.6826 GB, free: 8.508 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.805e-05/0.5137, allocations: 26.06 kB / 0.6826 GB, free: 8.496 MB / 0.5137 GB Notification: Performance of SimCode: time 2.4e-07/0.5137, allocations: 0 / 0.6826 GB, free: 8.496 MB / 0.5137 GB Notification: Performance of Templates: time 0.00776/0.5214, allocations: 3.339 MB / 0.6858 GB, free: 6.809 MB / 0.5137 GB 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)