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.006963/0.006963, allocations: 95.61 kB / 15.73 MB, free: 6.043 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.001338/0.001338, allocations: 196.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.44/1.44, allocations: 222.9 MB / 240.4 MB, free: 4.32 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7832/0.7832, allocations: 132.2 MB / 422.7 MB, free: 1.688 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001154/0.001154, allocations: 61.97 kB / 0.5814 GB, free: 0.8281 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1818/0.1829, allocations: 80.2 MB / 0.6597 GB, free: 13.48 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Media.Examples.PropyleneGlycolWaterProperties): time 0.006893/0.1899, allocations: 4.428 MB / 0.664 GB, free: 9.02 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.003323/0.1932, allocations: 2.698 MB / 0.6667 GB, free: 6.312 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001644/0.1934, allocations: 0 / 0.6667 GB, free: 6.312 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0003856/0.1938, allocations: 51.67 kB / 0.6667 GB, free: 6.262 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0004234/0.1943, allocations: 91.42 kB / 0.6668 GB, free: 6.172 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.001574/0.1959, allocations: 496 kB / 0.6673 GB, free: 5.691 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0003904/0.1963, allocations: 243.9 kB / 0.6675 GB, free: 5.449 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 6.052e-05/0.1964, allocations: 9.562 kB / 0.6675 GB, free: 5.434 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00108/0.1975, allocations: 406.9 kB / 0.6679 GB, free: 5.035 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001802/0.1977, allocations: 91.59 kB / 0.668 GB, free: 4.945 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 2.732e-05/0.1977, allocations: 11.94 kB / 0.668 GB, free: 4.934 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001166/0.1989, allocations: 0.4912 MB / 0.6685 GB, free: 4.441 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 9.122e-05/0.199, allocations: 35.83 kB / 0.6685 GB, free: 4.406 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0001368/0.1991, allocations: 83.66 kB / 0.6686 GB, free: 4.324 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0009097/0.2, allocations: 346.9 kB / 0.6689 GB, free: 3.984 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 6.171e-06/0.2, allocations: 0 / 0.6689 GB, free: 3.984 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.613e-06/0.2001, allocations: 0 / 0.6689 GB, free: 3.984 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 1.454e-05/0.2001, allocations: 0 / 0.6689 GB, free: 3.984 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.001024/0.2011, allocations: 0.5025 MB / 0.6694 GB, free: 3.43 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.383e-05/0.2012, allocations: 12.03 kB / 0.6694 GB, free: 3.418 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001946/0.2014, allocations: 24.84 kB / 0.6695 GB, free: 3.395 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003256/0.2017, allocations: 212.1 kB / 0.6697 GB, free: 3.148 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.162e-05/0.2017, allocations: 12.7 kB / 0.6697 GB, free: 3.137 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.498e-05/0.2018, allocations: 20.31 kB / 0.6697 GB, free: 3.117 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000409/0.2022, allocations: 245.7 kB / 0.6699 GB, free: 2.855 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.27e-05/0.2022, allocations: 4 kB / 0.6699 GB, free: 2.852 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.73e-05/0.2022, allocations: 12 kB / 0.6699 GB, free: 2.84 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.939e-05/0.2023, allocations: 7.938 kB / 0.6699 GB, free: 2.832 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004892/0.2028, allocations: 431.5 kB / 0.6704 GB, free: 2.41 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001199/0.204, allocations: 1 MB / 0.6713 GB, free: 1.316 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002928/0.2043, allocations: 152 kB / 0.6715 GB, free: 1.16 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001189/0.2044, allocations: 72.81 kB / 0.6715 GB, free: 1.086 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001504/0.2059, allocations: 1.833 MB / 0.6733 GB, free: 14.89 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.119e-05/0.206, allocations: 34.56 kB / 0.6734 GB, free: 14.85 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=15): time 1.543e-06/0.206, allocations: 0 / 0.6734 GB, free: 14.85 MB / 0.5137 GB Notification: Performance of matching and sorting (n=15): time 0.0003597/0.2063, allocations: 141.5 kB / 0.6735 GB, free: 14.71 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.437e-05/0.2064, allocations: 63.33 kB / 0.6736 GB, free: 14.63 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001598/0.2065, allocations: 165.6 kB / 0.6737 GB, free: 14.46 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 2.655e-05/0.2066, allocations: 41.69 kB / 0.6738 GB, free: 14.41 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 9.25e-05/0.2067, allocations: 148 kB / 0.6739 GB, free: 14.26 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 3.522e-05/0.2067, allocations: 47.53 kB / 0.674 GB, free: 14.21 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.909e-05/0.2068, allocations: 53.66 kB / 0.674 GB, free: 14.16 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001387/0.2069, allocations: 326.8 kB / 0.6743 GB, free: 13.83 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.165e-05/0.207, allocations: 35.97 kB / 0.6743 GB, free: 13.79 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001372/0.2072, allocations: 139 kB / 0.6745 GB, free: 13.61 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002502/0.2074, allocations: 204.5 kB / 0.6747 GB, free: 13.36 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.248e-06/0.2074, allocations: 0 / 0.6747 GB, free: 13.36 MB / 0.5137 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0003335/0.2078, allocations: 221.2 kB / 0.6749 GB, free: 13.14 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.891e-05/0.2078, allocations: 9.875 kB / 0.6749 GB, free: 13.13 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.043e-06/0.2078, allocations: 0 / 0.6749 GB, free: 13.13 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.446e-05/0.2079, allocations: 11.98 kB / 0.6749 GB, free: 13.12 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001693/0.208, allocations: 51.86 kB / 0.675 GB, free: 13.07 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.376e-05/0.2081, allocations: 7.938 kB / 0.675 GB, free: 13.06 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001229/0.2082, allocations: 32.23 kB / 0.675 GB, free: 13.03 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.982e-05/0.2082, allocations: 20 kB / 0.675 GB, free: 13.01 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.0001272/0.2083, allocations: 129.8 kB / 0.6751 GB, free: 12.88 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.899e-05/0.2084, allocations: 19.84 kB / 0.6752 GB, free: 12.86 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003104/0.2087, allocations: 150.1 kB / 0.6753 GB, free: 12.71 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.113e-05/0.2087, allocations: 3.938 kB / 0.6753 GB, free: 12.71 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.921e-06/0.2088, allocations: 7.922 kB / 0.6753 GB, free: 12.7 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.807e-06/0.2088, allocations: 4 kB / 0.6753 GB, free: 12.7 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002449/0.209, allocations: 217.5 kB / 0.6755 GB, free: 12.43 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.913e-06/0.209, allocations: 0 / 0.6755 GB, free: 12.43 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.485e-05/0.2091, allocations: 31.92 kB / 0.6756 GB, free: 12.4 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.736e-06/0.2091, allocations: 4 kB / 0.6756 GB, free: 12.4 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.04e-05/0.2091, allocations: 0 / 0.6756 GB, free: 12.4 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.657e-06/0.2092, allocations: 3.938 kB / 0.6756 GB, free: 12.39 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.42e-07/0.2092, allocations: 0 / 0.6756 GB, free: 12.39 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002284/0.2094, allocations: 222.5 kB / 0.6758 GB, free: 12.16 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 7.875e-05/0.2095, allocations: 108.9 kB / 0.6759 GB, free: 12.04 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.067e-05/0.2095, allocations: 0 / 0.6759 GB, free: 12.04 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001988/0.2097, allocations: 23.92 kB / 0.6759 GB, free: 12.02 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.189e-05/0.2097, allocations: 7.984 kB / 0.6759 GB, free: 12.01 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.138e-05/0.2098, allocations: 16 kB / 0.6759 GB, free: 11.99 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 9.279e-05/0.2099, allocations: 129.5 kB / 0.676 GB, free: 11.87 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.9e-07/0.2099, allocations: 0 / 0.676 GB, free: 11.87 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0003732/0.2103, allocations: 71.88 kB / 0.6761 GB, free: 11.8 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.0003122/0.2106, allocations: 175 kB / 0.6763 GB, free: 11.61 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0002466/0.2108, allocations: 123.7 kB / 0.6764 GB, free: 11.49 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 3.196e-06/0.2108, allocations: 0 / 0.6764 GB, free: 11.49 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 6.117e-05/0.2109, allocations: 43.92 kB / 0.6764 GB, free: 11.45 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004132/0.2113, allocations: 64.8 kB / 0.6765 GB, free: 11.39 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006568/0.212, allocations: 342.6 kB / 0.6768 GB, free: 11.03 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002868/0.2123, allocations: 0.7128 MB / 0.6775 GB, free: 10.29 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0001363/0.2124, allocations: 45.8 kB / 0.6776 GB, free: 10.25 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.016e-05/0.2125, allocations: 19.44 kB / 0.6776 GB, free: 10.23 MB / 0.5137 GB Notification: Performance of SimCode: time 2.41e-07/0.2125, allocations: 3.938 kB / 0.6776 GB, free: 10.22 MB / 0.5137 GB Notification: Performance of Templates: time 0.006681/0.2192, allocations: 3.344 MB / 0.6809 GB, free: 6.93 MB / 0.5137 GB 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 -lv LOG_STATS > IDEAS_IDEAS.Media.Examples.PropyleneGlycolWaterProperties.pipe 2>&1)