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.001385/0.001385, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001642/0.001642, allocations: 192 kB / 16.53 MB, free: 6.391 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.406/1.406, allocations: 222.9 MB / 240.2 MB, free: 4.383 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9317/0.9317, allocations: 135.1 MB / 425.5 MB, free: 11.97 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001215/0.001215, allocations: 68.86 kB / 0.5053 GB, free: 5.34 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1853/0.1865, allocations: 80.92 MB / 0.5844 GB, free: 4.574 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Media.Examples.PropyleneGlycolWaterProperties): time 0.006281/0.1928, allocations: 4.416 MB / 0.5887 GB, free: 128 kB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.002804/0.1957, allocations: 2.691 MB / 0.5913 GB, free: 13.43 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.632e-05/0.1958, allocations: 0 / 0.5913 GB, free: 13.43 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0003212/0.1962, allocations: 51.69 kB / 0.5913 GB, free: 13.38 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0002998/0.1965, allocations: 95.34 kB / 0.5914 GB, free: 13.28 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.001192/0.1977, allocations: 497 kB / 0.5919 GB, free: 12.8 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.000236/0.1979, allocations: 228 kB / 0.5921 GB, free: 12.57 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 6.265e-05/0.198, allocations: 13.56 kB / 0.5921 GB, free: 12.56 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000969/0.199, allocations: 420.8 kB / 0.5925 GB, free: 12.15 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001209/0.1991, allocations: 83.67 kB / 0.5926 GB, free: 12.07 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 2.371e-05/0.1991, allocations: 8 kB / 0.5926 GB, free: 12.06 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001015/0.2001, allocations: 0.4951 MB / 0.5931 GB, free: 11.56 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 6.848e-05/0.2002, allocations: 31.89 kB / 0.5931 GB, free: 11.53 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 8.956e-05/0.2003, allocations: 83.59 kB / 0.5932 GB, free: 11.45 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0005527/0.2009, allocations: 343.4 kB / 0.5935 GB, free: 11.11 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.819e-06/0.2009, allocations: 0 / 0.5935 GB, free: 11.11 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.904e-06/0.2009, allocations: 0 / 0.5935 GB, free: 11.11 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 6.983e-06/0.2009, allocations: 4 kB / 0.5935 GB, free: 11.11 MB / 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.0007716/0.2017, allocations: 0.4992 MB / 0.594 GB, free: 10.56 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.718e-05/0.2017, allocations: 8.031 kB / 0.594 GB, free: 10.55 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001629/0.2019, allocations: 24.84 kB / 0.5941 GB, free: 10.53 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002171/0.2021, allocations: 208.1 kB / 0.5943 GB, free: 10.29 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.937e-05/0.2022, allocations: 20.64 kB / 0.5943 GB, free: 10.27 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.25e-05/0.2022, allocations: 16.38 kB / 0.5943 GB, free: 10.25 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003795/0.2026, allocations: 241.1 kB / 0.5945 GB, free: 9.996 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.394e-05/0.2026, allocations: 4 kB / 0.5945 GB, free: 9.992 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.44e-05/0.2026, allocations: 15.94 kB / 0.5946 GB, free: 9.977 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.848e-05/0.2027, allocations: 8 kB / 0.5946 GB, free: 9.969 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004903/0.2032, allocations: 427.5 kB / 0.595 GB, free: 9.551 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001072/0.2042, allocations: 0.9998 MB / 0.5959 GB, free: 8.457 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000271/0.2045, allocations: 170.2 kB / 0.5961 GB, free: 8.285 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001044/0.2046, allocations: 64.88 kB / 0.5962 GB, free: 8.219 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001331/0.206, allocations: 1.825 MB / 0.5979 GB, free: 6.035 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.112e-05/0.206, allocations: 34.5 kB / 0.598 GB, free: 5.992 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=15): time 2.144e-06/0.206, allocations: 4 kB / 0.598 GB, free: 5.988 MB / 0.4981 GB Notification: Performance of matching and sorting (n=15): time 0.0003383/0.2064, allocations: 133.5 kB / 0.5981 GB, free: 5.852 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.242e-05/0.2064, allocations: 67.22 kB / 0.5982 GB, free: 5.773 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001875/0.2066, allocations: 177.8 kB / 0.5983 GB, free: 5.586 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.607e-05/0.2067, allocations: 33.69 kB / 0.5984 GB, free: 5.547 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 8.518e-05/0.2067, allocations: 139.8 kB / 0.5985 GB, free: 5.406 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 4.31e-05/0.2068, allocations: 51.27 kB / 0.5986 GB, free: 5.355 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.946e-05/0.2069, allocations: 53.7 kB / 0.5986 GB, free: 5.297 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001037/0.207, allocations: 326.8 kB / 0.5989 GB, free: 4.969 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.453e-05/0.2071, allocations: 31.98 kB / 0.599 GB, free: 4.938 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000131/0.2072, allocations: 139 kB / 0.5991 GB, free: 4.754 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002234/0.2074, allocations: 204.5 kB / 0.5993 GB, free: 4.508 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.935e-06/0.2074, allocations: 4 kB / 0.5993 GB, free: 4.504 MB / 0.4981 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0003025/0.2077, allocations: 209.1 kB / 0.5995 GB, free: 4.293 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.832e-05/0.2078, allocations: 8 kB / 0.5995 GB, free: 4.285 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.546e-06/0.2078, allocations: 4 kB / 0.5995 GB, free: 4.281 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.81e-05/0.2078, allocations: 4 kB / 0.5995 GB, free: 4.277 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001747/0.208, allocations: 59.86 kB / 0.5996 GB, free: 4.219 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.33e-05/0.208, allocations: 11.92 kB / 0.5996 GB, free: 4.207 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001023/0.2081, allocations: 28.16 kB / 0.5996 GB, free: 4.18 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.074e-05/0.2081, allocations: 23.98 kB / 0.5996 GB, free: 4.156 MB / 0.4981 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.0001042/0.2082, allocations: 134.4 kB / 0.5997 GB, free: 4.016 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.659e-05/0.2083, allocations: 15.81 kB / 0.5998 GB, free: 4 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002996/0.2086, allocations: 147 kB / 0.5999 GB, free: 3.852 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.182e-05/0.2086, allocations: 7.938 kB / 0.5999 GB, free: 3.844 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.58e-06/0.2086, allocations: 0 / 0.5999 GB, free: 3.844 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.763e-06/0.2086, allocations: 3.984 kB / 0.5999 GB, free: 3.84 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002288/0.2089, allocations: 217.5 kB / 0.6001 GB, free: 3.578 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.372e-06/0.2089, allocations: 0 / 0.6001 GB, free: 3.578 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.749e-05/0.209, allocations: 31.92 kB / 0.6002 GB, free: 3.547 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.044e-06/0.209, allocations: 0 / 0.6002 GB, free: 3.547 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.213e-05/0.209, allocations: 4 kB / 0.6002 GB, free: 3.543 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.26e-06/0.209, allocations: 7.938 kB / 0.6002 GB, free: 3.535 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.573e-06/0.209, allocations: 0 / 0.6002 GB, free: 3.535 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002329/0.2093, allocations: 216.9 kB / 0.6004 GB, free: 3.309 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 8.671e-05/0.2094, allocations: 108.8 kB / 0.6005 GB, free: 3.184 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.453e-05/0.2094, allocations: 8 kB / 0.6005 GB, free: 3.176 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002031/0.2096, allocations: 19.92 kB / 0.6005 GB, free: 3.156 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.504e-05/0.2096, allocations: 15.86 kB / 0.6005 GB, free: 3.141 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.888e-05/0.2097, allocations: 12 kB / 0.6005 GB, free: 3.129 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 8.691e-05/0.2097, allocations: 124.9 kB / 0.6006 GB, free: 3.008 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2098, allocations: 0 / 0.6006 GB, free: 3.008 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0003797/0.2101, allocations: 76 kB / 0.6007 GB, free: 2.934 MB / 0.4981 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.0003822/0.2105, allocations: 176.4 kB / 0.6009 GB, free: 2.75 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0002655/0.2108, allocations: 131.7 kB / 0.601 GB, free: 2.621 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.905e-06/0.2108, allocations: 0 / 0.601 GB, free: 2.621 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 7.025e-05/0.2109, allocations: 47.25 kB / 0.6011 GB, free: 2.578 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004361/0.2113, allocations: 53.69 kB / 0.6011 GB, free: 2.527 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006986/0.212, allocations: 338.9 kB / 0.6014 GB, free: 2.172 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002654/0.2123, allocations: 0.7128 MB / 0.6021 GB, free: 1.434 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0001626/0.2125, allocations: 53.56 kB / 0.6022 GB, free: 1.387 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.988e-05/0.2125, allocations: 27.44 kB / 0.6022 GB, free: 1.359 MB / 0.4981 GB Notification: Performance of SimCode: time 3.21e-07/0.2125, allocations: 0 / 0.6022 GB, free: 1.359 MB / 0.4981 GB Notification: Performance of Templates: time 0.2728/0.4853, allocations: 3.318 MB / 0.6054 GB, free: 52.21 MB / 0.4981 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)