Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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-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.PropyleneGlycolWaterDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Media.Examples.PropyleneGlycolWaterDerivativeCheck") translateModel(IDEAS.Media.Examples.PropyleneGlycolWaterDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_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.001071/0.001071, allocations: 91.77 kB / 15.36 MB, free: 0.7383 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.009258/0.009258, allocations: 172.8 kB / 16.26 MB, free: 6.613 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.404/1.404, allocations: 223.3 MB / 240.3 MB, free: 5.344 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9583/0.9583, allocations: 135.3 MB / 426.7 MB, free: 14.26 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000378/0.0003782, allocations: 11.94 kB / 0.5076 GB, free: 4.793 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1901/0.1905, allocations: 82.3 MB / 0.588 GB, free: 2.664 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Media.Examples.PropyleneGlycolWaterDerivativeCheck): time 0.001423/0.1919, allocations: 0.9861 MB / 0.5889 GB, free: 1.664 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.003791/0.1957, allocations: 2.881 MB / 0.5917 GB, free: 14.77 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.581e-05/0.1958, allocations: 3.938 kB / 0.5917 GB, free: 14.76 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 2.261e-05/0.1958, allocations: 3.984 kB / 0.5917 GB, free: 14.76 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 5.554e-05/0.1959, allocations: 11.92 kB / 0.5918 GB, free: 14.75 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005113/0.1964, allocations: 83.69 kB / 0.5918 GB, free: 14.66 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 7.02e-05/0.1965, allocations: 35.84 kB / 0.5919 GB, free: 14.63 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.38e-05/0.1965, allocations: 4 kB / 0.5919 GB, free: 14.62 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004491/0.197, allocations: 147.6 kB / 0.592 GB, free: 14.48 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 5.151e-05/0.1971, allocations: 11.92 kB / 0.592 GB, free: 14.47 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.272e-05/0.1971, allocations: 8 kB / 0.592 GB, free: 14.46 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001444/0.1972, allocations: 63.81 kB / 0.5921 GB, free: 14.4 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 1.736e-05/0.1973, allocations: 11.98 kB / 0.5921 GB, free: 14.39 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 3.964e-05/0.1973, allocations: 41.62 kB / 0.5921 GB, free: 14.34 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001679/0.1975, allocations: 64.08 kB / 0.5922 GB, free: 14.28 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.298e-06/0.1975, allocations: 0 / 0.5922 GB, free: 14.28 MB / 0.4981 GB Notification: Performance of FrontEnd: time 2.294e-06/0.1975, allocations: 4 kB / 0.5922 GB, free: 14.27 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 4.168e-06/0.1975, allocations: 3.938 kB / 0.5922 GB, free: 14.27 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.0003841/0.1979, allocations: 323.6 kB / 0.5925 GB, free: 13.91 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.655e-05/0.1979, allocations: 16.03 kB / 0.5925 GB, free: 13.89 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.933e-05/0.198, allocations: 4.922 kB / 0.5925 GB, free: 13.89 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001225/0.1981, allocations: 172.3 kB / 0.5927 GB, free: 13.68 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.431e-05/0.1981, allocations: 4.375 kB / 0.5927 GB, free: 13.68 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.878e-05/0.1982, allocations: 8.281 kB / 0.5927 GB, free: 13.67 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001297/0.1983, allocations: 53.8 kB / 0.5928 GB, free: 13.61 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.454e-06/0.1983, allocations: 0 / 0.5928 GB, free: 13.61 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.407e-05/0.1983, allocations: 4 kB / 0.5928 GB, free: 13.61 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.418e-06/0.1984, allocations: 4 kB / 0.5928 GB, free: 13.6 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.808e-05/0.1984, allocations: 19.92 kB / 0.5928 GB, free: 13.58 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001734/0.1986, allocations: 169.7 kB / 0.593 GB, free: 13.37 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 9.478e-05/0.1987, allocations: 54.58 kB / 0.593 GB, free: 13.3 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.973e-05/0.1987, allocations: 13.02 kB / 0.593 GB, free: 13.29 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006925/0.1994, allocations: 0.5986 MB / 0.5936 GB, free: 12.58 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.383e-05/0.1995, allocations: 38.56 kB / 0.5936 GB, free: 12.54 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=5): time 1.002e-06/0.1995, allocations: 0 / 0.5936 GB, free: 12.54 MB / 0.4981 GB Notification: Performance of matching and sorting (n=7): time 0.0005568/0.2, allocations: 302.1 kB / 0.5939 GB, free: 12.19 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.331e-05/0.2001, allocations: 51.41 kB / 0.594 GB, free: 12.12 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.328e-05/0.2002, allocations: 101.8 kB / 0.5941 GB, free: 12.02 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.724e-05/0.2002, allocations: 29.7 kB / 0.5941 GB, free: 11.98 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 4.36e-05/0.2002, allocations: 92.11 kB / 0.5942 GB, free: 11.89 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.262e-05/0.2003, allocations: 27.64 kB / 0.5942 GB, free: 11.86 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.272e-05/0.2003, allocations: 17.72 kB / 0.5942 GB, free: 11.84 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001223/0.2004, allocations: 318.8 kB / 0.5945 GB, free: 11.52 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.636e-05/0.2005, allocations: 11.98 kB / 0.5946 GB, free: 11.5 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.399e-05/0.2005, allocations: 53.14 kB / 0.5946 GB, free: 11.43 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.714e-05/0.2006, allocations: 73.27 kB / 0.5947 GB, free: 11.34 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.365e-06/0.2006, allocations: 4 kB / 0.5947 GB, free: 11.34 MB / 0.4981 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001299/0.2008, allocations: 97.58 kB / 0.5948 GB, free: 11.24 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.449e-05/0.2008, allocations: 14.28 kB / 0.5948 GB, free: 11.23 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.542e-06/0.2008, allocations: 4 kB / 0.5948 GB, free: 11.22 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.169e-05/0.2008, allocations: 0 / 0.5948 GB, free: 11.22 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.452e-05/0.2009, allocations: 19.98 kB / 0.5948 GB, free: 11.2 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.044e-06/0.2009, allocations: 7.938 kB / 0.5948 GB, free: 11.2 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.521e-05/0.2009, allocations: 3.938 kB / 0.5948 GB, free: 11.19 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.803e-06/0.201, allocations: 4 kB / 0.5948 GB, free: 11.19 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.1e-05/0.201, allocations: 117.8 kB / 0.5949 GB, free: 11.06 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.565e-05/0.2011, allocations: 8 kB / 0.5949 GB, free: 11.05 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.197e-05/0.2011, allocations: 11.95 kB / 0.595 GB, free: 11.04 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.452e-06/0.2011, allocations: 3.938 kB / 0.595 GB, free: 11.04 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.078e-06/0.2011, allocations: 0 / 0.595 GB, free: 11.04 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.088e-06/0.2011, allocations: 3.938 kB / 0.595 GB, free: 11.04 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002306/0.2014, allocations: 173.7 kB / 0.5951 GB, free: 10.82 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.052e-06/0.2014, allocations: 0 / 0.5951 GB, free: 10.82 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.416e-05/0.2015, allocations: 16 kB / 0.5951 GB, free: 10.8 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.653e-06/0.2015, allocations: 0 / 0.5951 GB, free: 10.8 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.538e-06/0.2015, allocations: 3.984 kB / 0.5951 GB, free: 10.8 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.302e-06/0.2015, allocations: 448 / 0.5951 GB, free: 10.8 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.61e-07/0.2015, allocations: 4 kB / 0.5951 GB, free: 10.79 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001827/0.2017, allocations: 183.4 kB / 0.5953 GB, free: 10.6 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 4.985e-05/0.2018, allocations: 81.14 kB / 0.5954 GB, free: 10.5 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.781e-05/0.2018, allocations: 12 kB / 0.5954 GB, free: 10.49 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001013/0.2019, allocations: 0 / 0.5954 GB, free: 10.49 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.81e-05/0.2019, allocations: 7.984 kB / 0.5954 GB, free: 10.48 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.644e-06/0.2019, allocations: 3.938 kB / 0.5954 GB, free: 10.48 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 3.953e-05/0.202, allocations: 87.28 kB / 0.5955 GB, free: 10.39 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.4e-07/0.202, allocations: 0 / 0.5955 GB, free: 10.39 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002294/0.2022, allocations: 12 kB / 0.5955 GB, free: 10.38 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.0001256/0.2023, allocations: 99.25 kB / 0.5956 GB, free: 10.27 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0001084/0.2024, allocations: 40.34 kB / 0.5957 GB, free: 10.23 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.665e-06/0.2025, allocations: 0 / 0.5957 GB, free: 10.23 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 2.6e-05/0.2025, allocations: 24.17 kB / 0.5957 GB, free: 10.21 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000273/0.2028, allocations: 11.5 kB / 0.5957 GB, free: 10.2 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005894/0.2034, allocations: 398.3 kB / 0.5961 GB, free: 9.781 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002561/0.2036, allocations: 0.6848 MB / 0.5967 GB, free: 9.07 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 5.491e-05/0.2037, allocations: 8 kB / 0.5967 GB, free: 9.062 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.557e-05/0.2037, allocations: 11.44 kB / 0.5968 GB, free: 9.051 MB / 0.4981 GB Notification: Performance of SimCode: time 3e-07/0.2037, allocations: 0 / 0.5968 GB, free: 9.051 MB / 0.4981 GB Notification: Performance of Templates: time 0.002935/0.2067, allocations: 0.5977 MB / 0.5973 GB, free: 8.457 MB / 0.4981 GB make -j1 -f IDEAS_dev_IDEAS.Media.Examples.PropyleneGlycolWaterDerivativeCheck.makefile (rm -f IDEAS_dev_IDEAS.Media.Examples.PropyleneGlycolWaterDerivativeCheck.pipe ; mkfifo IDEAS_dev_IDEAS.Media.Examples.PropyleneGlycolWaterDerivativeCheck.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Media.Examples.PropyleneGlycolWaterDerivativeCheck.pipe >> ../files/IDEAS_dev_IDEAS.Media.Examples.PropyleneGlycolWaterDerivativeCheck.sim & ./IDEAS_dev_IDEAS.Media.Examples.PropyleneGlycolWaterDerivativeCheck -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Media.Examples.PropyleneGlycolWaterDerivativeCheck.pipe 2>&1)