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.001148/0.001148, allocations: 115.6 kB / 16.37 MB, free: 6.004 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.001114/0.001114, allocations: 192.1 kB / 17.31 MB, free: 5.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.296/1.296, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7746/0.7746, allocations: 135.1 MB / 426.3 MB, free: 4.145 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001151/0.001151, allocations: 59.91 kB / 0.5067 GB, free: 7.691 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3284/0.3295, allocations: 80.91 MB / 0.5857 GB, free: 25.68 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Media.Examples.PropyleneGlycolWaterDerivativeCheck): time 0.002178/0.3317, allocations: 1.263 MB / 0.587 GB, free: 24.69 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.003005/0.3348, allocations: 2.935 MB / 0.5898 GB, free: 22.32 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.967e-05/0.3348, allocations: 0.8125 kB / 0.5898 GB, free: 22.32 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 1.366e-05/0.3348, allocations: 0 / 0.5898 GB, free: 22.32 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 4.718e-05/0.3349, allocations: 5.062 kB / 0.5899 GB, free: 22.32 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004211/0.3353, allocations: 100.4 kB / 0.5899 GB, free: 22.23 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 6.286e-05/0.3354, allocations: 31.91 kB / 0.59 GB, free: 22.2 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.246e-05/0.3354, allocations: 4 kB / 0.59 GB, free: 22.19 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000374/0.3358, allocations: 168.8 kB / 0.5901 GB, free: 22.03 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.847e-05/0.3359, allocations: 19.97 kB / 0.5902 GB, free: 22.01 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.065e-05/0.3359, allocations: 0 / 0.5902 GB, free: 22.01 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001309/0.336, allocations: 61.23 kB / 0.5902 GB, free: 21.95 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 1.414e-05/0.336, allocations: 11.92 kB / 0.5902 GB, free: 21.94 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 2.67e-05/0.3361, allocations: 19.92 kB / 0.5903 GB, free: 21.92 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001393/0.3362, allocations: 58.56 kB / 0.5903 GB, free: 21.87 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.56e-06/0.3362, allocations: 7.984 kB / 0.5903 GB, free: 21.86 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.713e-06/0.3362, allocations: 0.5938 kB / 0.5903 GB, free: 21.86 MB / 446.1 MB Notification: Performance of Transformations before backend: time 4.438e-06/0.3362, allocations: 0 / 0.5903 GB, free: 21.86 MB / 446.1 MB 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.0003259/0.3366, allocations: 343.7 kB / 0.5906 GB, free: 21.48 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.347e-05/0.3366, allocations: 13.11 kB / 0.5907 GB, free: 21.47 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.135e-05/0.3367, allocations: 0.9375 kB / 0.5907 GB, free: 21.47 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.232e-05/0.3367, allocations: 168.9 kB / 0.5908 GB, free: 21.27 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.283e-05/0.3367, allocations: 8.922 kB / 0.5908 GB, free: 21.26 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.204e-05/0.3368, allocations: 9.625 kB / 0.5908 GB, free: 21.25 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001007/0.3369, allocations: 57.8 kB / 0.5909 GB, free: 21.19 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.802e-06/0.3369, allocations: 0 / 0.5909 GB, free: 21.19 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.688e-06/0.3369, allocations: 0.5 kB / 0.5909 GB, free: 21.19 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.588e-06/0.3369, allocations: 4 kB / 0.5909 GB, free: 21.19 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.414e-05/0.337, allocations: 17.83 kB / 0.5909 GB, free: 21.17 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000127/0.3371, allocations: 161.6 kB / 0.5911 GB, free: 20.96 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 7.683e-05/0.3372, allocations: 59.58 kB / 0.5911 GB, free: 20.9 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.271e-05/0.3372, allocations: 12.86 kB / 0.5911 GB, free: 20.88 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005105/0.3377, allocations: 0.6042 MB / 0.5917 GB, free: 20.17 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.596e-05/0.3378, allocations: 37.75 kB / 0.5918 GB, free: 20.13 MB / 446.1 MB Notification: Performance of pre-optimization done (n=5): time 1.413e-06/0.3378, allocations: 0 / 0.5918 GB, free: 20.13 MB / 446.1 MB Notification: Performance of matching and sorting (n=7): time 0.0004779/0.3382, allocations: 302.1 kB / 0.5921 GB, free: 19.78 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.469e-05/0.3383, allocations: 51.41 kB / 0.5921 GB, free: 19.72 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.467e-05/0.3383, allocations: 97.86 kB / 0.5922 GB, free: 19.61 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 9.127e-06/0.3383, allocations: 26.2 kB / 0.5922 GB, free: 19.58 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.879e-05/0.3384, allocations: 100.5 kB / 0.5923 GB, free: 19.48 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.298e-05/0.3384, allocations: 20.25 kB / 0.5923 GB, free: 19.46 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.184e-05/0.3384, allocations: 24.17 kB / 0.5924 GB, free: 19.43 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 3.786e-05/0.3385, allocations: 322.8 kB / 0.5927 GB, free: 19.11 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.38e-05/0.3385, allocations: 19.92 kB / 0.5927 GB, free: 19.09 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.608e-05/0.3385, allocations: 53.3 kB / 0.5927 GB, free: 19.02 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.165e-05/0.3386, allocations: 71.59 kB / 0.5928 GB, free: 18.94 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.61e-07/0.3386, allocations: 1.094 kB / 0.5928 GB, free: 18.94 MB / 446.1 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001045/0.3387, allocations: 107.2 kB / 0.5929 GB, free: 18.83 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.286e-05/0.3388, allocations: 6.031 kB / 0.5929 GB, free: 18.82 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.148e-06/0.3388, allocations: 3.938 kB / 0.5929 GB, free: 18.82 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.351e-05/0.3388, allocations: 4 kB / 0.5929 GB, free: 18.82 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.728e-05/0.3389, allocations: 21.86 kB / 0.5929 GB, free: 18.8 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.932e-06/0.3389, allocations: 4 kB / 0.5929 GB, free: 18.79 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.639e-05/0.3389, allocations: 3.938 kB / 0.5929 GB, free: 18.79 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.703e-06/0.3389, allocations: 8.5 kB / 0.593 GB, free: 18.78 MB / 446.1 MB 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 4.833e-05/0.339, allocations: 122.9 kB / 0.5931 GB, free: 18.65 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.642e-05/0.339, allocations: 4 kB / 0.5931 GB, free: 18.65 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.449e-05/0.339, allocations: 8.875 kB / 0.5931 GB, free: 18.64 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.313e-06/0.339, allocations: 0 / 0.5931 GB, free: 18.64 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.717e-06/0.339, allocations: 0 / 0.5931 GB, free: 18.64 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.676e-06/0.3391, allocations: 9.078 kB / 0.5931 GB, free: 18.64 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001845/0.3392, allocations: 177.7 kB / 0.5933 GB, free: 18.41 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.41e-07/0.3392, allocations: 0 / 0.5933 GB, free: 18.41 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.699e-05/0.3393, allocations: 17.62 kB / 0.5933 GB, free: 18.4 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.563e-06/0.3393, allocations: 0 / 0.5933 GB, free: 18.4 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.304e-06/0.3394, allocations: 0 / 0.5933 GB, free: 18.4 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.142e-06/0.3394, allocations: 0 / 0.5933 GB, free: 18.4 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.91e-07/0.3394, allocations: 0.8125 kB / 0.5933 GB, free: 18.4 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001231/0.3395, allocations: 181.9 kB / 0.5935 GB, free: 18.21 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.056e-05/0.3395, allocations: 85.14 kB / 0.5935 GB, free: 18.11 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.133e-05/0.3395, allocations: 0 / 0.5935 GB, free: 18.11 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001102/0.3397, allocations: 7.938 kB / 0.5935 GB, free: 18.1 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.28e-05/0.3397, allocations: 4 kB / 0.5935 GB, free: 18.09 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.743e-06/0.3397, allocations: 8.859 kB / 0.5936 GB, free: 18.09 MB / 446.1 MB Notification: Performance of sorting global known variables: time 1.941e-05/0.3397, allocations: 83.28 kB / 0.5936 GB, free: 18 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.3397, allocations: 5.438 kB / 0.5936 GB, free: 18 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002303/0.34, allocations: 8 kB / 0.5936 GB, free: 17.99 MB / 446.1 MB 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 8.428e-05/0.34, allocations: 105.4 kB / 0.5937 GB, free: 17.88 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0001013/0.3402, allocations: 43.91 kB / 0.5938 GB, free: 17.84 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.294e-06/0.3402, allocations: 0 / 0.5938 GB, free: 17.84 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 2e-05/0.3402, allocations: 20.61 kB / 0.5938 GB, free: 17.82 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002682/0.3405, allocations: 8 kB / 0.5938 GB, free: 17.81 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004447/0.3409, allocations: 328.9 kB / 0.5941 GB, free: 17.52 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.476e-05/0.341, allocations: 0.6815 MB / 0.5948 GB, free: 16.81 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 3.942e-05/0.3411, allocations: 11.98 kB / 0.5948 GB, free: 16.8 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.828e-05/0.3411, allocations: 11.44 kB / 0.5948 GB, free: 16.79 MB / 446.1 MB Notification: Performance of SimCode: time 3e-07/0.3411, allocations: 0 / 0.5948 GB, free: 16.79 MB / 446.1 MB Notification: Performance of Templates: time 0.002472/0.3436, allocations: 0.6176 MB / 0.5954 GB, free: 16.17 MB / 446.1 MB 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 -s cvode -lv LOG_STATS > IDEAS_dev_IDEAS.Media.Examples.PropyleneGlycolWaterDerivativeCheck.pipe 2>&1)