Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Media.Examples.PropyleneGlycolWaterDerivativeCheck.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.PropyleneGlycolWaterDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Media.Examples.PropyleneGlycolWaterDerivativeCheck") translateModel(IDEAS.Media.Examples.PropyleneGlycolWaterDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Media.Examples.PropyleneGlycolWaterDerivativeCheck") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.007885/0.007885, allocations: 103.6 kB / 15.73 MB, free: 6.039 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.001242/0.001242, allocations: 194 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.4/1.4, allocations: 222.9 MB / 240.4 MB, free: 4.188 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8116/0.8116, allocations: 132.2 MB / 422.7 MB, free: 1.621 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001239/0.001239, allocations: 63.14 kB / 0.5813 GB, free: 0.8672 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1881/0.1893, allocations: 80.21 MB / 0.6596 GB, free: 13.51 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Media.Examples.PropyleneGlycolWaterDerivativeCheck): time 0.002711/0.1921, allocations: 1.265 MB / 0.6609 GB, free: 12.24 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.003445/0.1955, allocations: 2.933 MB / 0.6637 GB, free: 9.289 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.515e-05/0.1956, allocations: 4 kB / 0.6637 GB, free: 9.285 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 1.549e-05/0.1956, allocations: 3.938 kB / 0.6637 GB, free: 9.281 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 4.308e-05/0.1957, allocations: 7.922 kB / 0.6637 GB, free: 9.273 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004714/0.1961, allocations: 107.5 kB / 0.6639 GB, free: 9.168 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 7.166e-05/0.1962, allocations: 31.92 kB / 0.6639 GB, free: 9.137 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 3.683e-05/0.1963, allocations: 4 kB / 0.6639 GB, free: 9.133 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004297/0.1967, allocations: 163.5 kB / 0.664 GB, free: 8.973 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 4.011e-05/0.1968, allocations: 15.98 kB / 0.6641 GB, free: 8.957 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 9.858e-06/0.1968, allocations: 0 / 0.6641 GB, free: 8.957 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001558/0.1969, allocations: 67.81 kB / 0.6641 GB, free: 8.891 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 1.927e-05/0.197, allocations: 11.92 kB / 0.6641 GB, free: 8.879 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 2.783e-05/0.197, allocations: 19.94 kB / 0.6642 GB, free: 8.859 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001598/0.1972, allocations: 67.84 kB / 0.6642 GB, free: 8.793 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.478e-06/0.1972, allocations: 3.938 kB / 0.6642 GB, free: 8.789 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.352e-06/0.1972, allocations: 0 / 0.6642 GB, free: 8.789 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 9.168e-06/0.1972, allocations: 0 / 0.6642 GB, free: 8.789 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0004148/0.1976, allocations: 339.5 kB / 0.6645 GB, free: 8.41 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.328e-05/0.1977, allocations: 8.031 kB / 0.6646 GB, free: 8.402 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.008e-05/0.1977, allocations: 12.84 kB / 0.6646 GB, free: 8.391 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001105/0.1978, allocations: 164.4 kB / 0.6647 GB, free: 8.191 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.253e-05/0.1979, allocations: 8.375 kB / 0.6647 GB, free: 8.184 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.412e-05/0.1979, allocations: 4.375 kB / 0.6647 GB, free: 8.18 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00012/0.198, allocations: 61.73 kB / 0.6648 GB, free: 8.113 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.454e-06/0.198, allocations: 0 / 0.6648 GB, free: 8.113 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.043e-05/0.198, allocations: 0 / 0.6648 GB, free: 8.113 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.657e-06/0.1981, allocations: 0 / 0.6648 GB, free: 8.113 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.339e-05/0.1981, allocations: 19.98 kB / 0.6648 GB, free: 8.094 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000172/0.1983, allocations: 169.6 kB / 0.665 GB, free: 7.879 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 9.922e-05/0.1984, allocations: 46.56 kB / 0.665 GB, free: 7.824 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.27e-05/0.1984, allocations: 20.8 kB / 0.665 GB, free: 7.801 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007429/0.1992, allocations: 0.5946 MB / 0.6656 GB, free: 7.098 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.641e-05/0.1992, allocations: 30.56 kB / 0.6656 GB, free: 7.059 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=5): time 1.132e-06/0.1992, allocations: 0 / 0.6656 GB, free: 7.059 MB / 0.4981 GB Notification: Performance of matching and sorting (n=7): time 0.0006694/0.1999, allocations: 306.5 kB / 0.6659 GB, free: 6.707 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.92e-05/0.2, allocations: 55.41 kB / 0.666 GB, free: 6.641 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.247e-05/0.2, allocations: 101.8 kB / 0.6661 GB, free: 6.531 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.665e-05/0.2001, allocations: 25.7 kB / 0.6661 GB, free: 6.5 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 4.746e-05/0.2001, allocations: 88.05 kB / 0.6662 GB, free: 6.41 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 4.032e-05/0.2002, allocations: 27.56 kB / 0.6662 GB, free: 6.383 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.246e-05/0.2002, allocations: 25.7 kB / 0.6662 GB, free: 6.352 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001147/0.2003, allocations: 322.8 kB / 0.6666 GB, free: 6.027 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.906e-05/0.2004, allocations: 15.98 kB / 0.6666 GB, free: 6.012 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.453e-05/0.2004, allocations: 57.02 kB / 0.6666 GB, free: 5.938 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.935e-05/0.2005, allocations: 77.27 kB / 0.6667 GB, free: 5.844 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.523e-06/0.2005, allocations: 0 / 0.6667 GB, free: 5.844 MB / 0.4981 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001341/0.2007, allocations: 93.55 kB / 0.6668 GB, free: 5.746 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.643e-05/0.2007, allocations: 8 kB / 0.6668 GB, free: 5.738 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.29e-06/0.2007, allocations: 0 / 0.6668 GB, free: 5.738 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.56e-05/0.2007, allocations: 4 kB / 0.6668 GB, free: 5.734 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.759e-05/0.2008, allocations: 28.05 kB / 0.6668 GB, free: 5.707 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.592e-06/0.2008, allocations: 0 / 0.6668 GB, free: 5.707 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.02e-05/0.2009, allocations: 8.375 kB / 0.6668 GB, free: 5.699 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.353e-05/0.2009, allocations: 8 kB / 0.6668 GB, free: 5.691 MB / 0.4981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * 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 (12): * Single equations (assignments): 12 * Array equations: 0 * 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 8.105e-05/0.201, allocations: 110.5 kB / 0.6669 GB, free: 5.574 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.695e-05/0.201, allocations: 11.84 kB / 0.667 GB, free: 5.562 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.543e-05/0.2011, allocations: 11.95 kB / 0.667 GB, free: 5.547 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.996e-06/0.2011, allocations: 4 kB / 0.667 GB, free: 5.543 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.891e-06/0.2011, allocations: 4 kB / 0.667 GB, free: 5.539 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.508e-06/0.2011, allocations: 7.938 kB / 0.667 GB, free: 5.531 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002396/0.2013, allocations: 169.7 kB / 0.6671 GB, free: 5.316 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.052e-06/0.2014, allocations: 0 / 0.6671 GB, free: 5.316 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.4e-05/0.2014, allocations: 15.94 kB / 0.6672 GB, free: 5.301 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.064e-06/0.2015, allocations: 0 / 0.6672 GB, free: 5.301 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.307e-06/0.2015, allocations: 4 kB / 0.6672 GB, free: 5.297 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.725e-06/0.2015, allocations: 3.984 kB / 0.6672 GB, free: 5.293 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.52e-07/0.2015, allocations: 0 / 0.6672 GB, free: 5.293 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002295/0.2017, allocations: 175.5 kB / 0.6673 GB, free: 5.105 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 6.419e-05/0.2018, allocations: 89.05 kB / 0.6674 GB, free: 5 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.429e-05/0.2018, allocations: 0 / 0.6674 GB, free: 5 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001068/0.2019, allocations: 4 kB / 0.6674 GB, free: 4.996 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.762e-05/0.2019, allocations: 3.984 kB / 0.6674 GB, free: 4.992 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.757e-05/0.202, allocations: 11.94 kB / 0.6674 GB, free: 4.98 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 3.551e-05/0.202, allocations: 75.28 kB / 0.6675 GB, free: 4.906 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.653e-06/0.202, allocations: 0 / 0.6675 GB, free: 4.906 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002419/0.2023, allocations: 15.94 kB / 0.6675 GB, free: 4.891 MB / 0.4981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (hLiqSym,cpSym,cvSym) * 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 (7): * Single equations (assignments): 7 * Array equations: 0 * 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.000124/0.2024, allocations: 107.2 kB / 0.6676 GB, free: 4.773 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0001346/0.2025, allocations: 44.34 kB / 0.6677 GB, free: 4.73 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.254e-06/0.2026, allocations: 0 / 0.6677 GB, free: 4.73 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 2.471e-05/0.2026, allocations: 15.98 kB / 0.6677 GB, free: 4.715 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00029/0.2029, allocations: 10.5 kB / 0.6677 GB, free: 4.707 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005478/0.2034, allocations: 322.4 kB / 0.668 GB, free: 4.363 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002468/0.2037, allocations: 0.6923 MB / 0.6687 GB, free: 3.645 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 4.372e-05/0.2037, allocations: 7.984 kB / 0.6687 GB, free: 3.637 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.254e-05/0.2038, allocations: 11.44 kB / 0.6687 GB, free: 3.629 MB / 0.4981 GB Notification: Performance of SimCode: time 2.21e-07/0.2038, allocations: 0 / 0.6687 GB, free: 3.629 MB / 0.4981 GB Notification: Performance of Templates: time 0.002862/0.2066, allocations: 0.6327 MB / 0.6693 GB, free: 3.004 MB / 0.4981 GB make -j1 -f IDEAS_IDEAS.Media.Examples.PropyleneGlycolWaterDerivativeCheck.makefile (rm -f IDEAS_IDEAS.Media.Examples.PropyleneGlycolWaterDerivativeCheck.pipe ; mkfifo IDEAS_IDEAS.Media.Examples.PropyleneGlycolWaterDerivativeCheck.pipe ; head -c 1048576 < IDEAS_IDEAS.Media.Examples.PropyleneGlycolWaterDerivativeCheck.pipe >> ../files/IDEAS_IDEAS.Media.Examples.PropyleneGlycolWaterDerivativeCheck.sim & ./IDEAS_IDEAS.Media.Examples.PropyleneGlycolWaterDerivativeCheck -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Media.Examples.PropyleneGlycolWaterDerivativeCheck.pipe 2>&1)