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.001032/0.001032, allocations: 106.2 kB / 16.36 MB, free: 6.285 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.001002/0.001002, allocations: 193.5 kB / 17.29 MB, free: 5.863 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.37/1.37, 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.7967/0.7967, allocations: 135.1 MB / 426.3 MB, free: 4.125 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001223/0.001224, allocations: 59.91 kB / 0.5067 GB, free: 7.672 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.354/0.3552, allocations: 80.91 MB / 0.5857 GB, free: 25.52 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Media.Examples.PropyleneGlycolWaterDerivativeCheck): time 0.002149/0.3574, allocations: 1.272 MB / 0.587 GB, free: 24.53 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.002874/0.3603, allocations: 2.919 MB / 0.5898 GB, free: 22.18 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.441e-05/0.3604, allocations: 0 / 0.5898 GB, free: 22.18 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 2.024e-05/0.3604, allocations: 7.922 kB / 0.5898 GB, free: 22.18 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 4.207e-05/0.3604, allocations: 9.547 kB / 0.5898 GB, free: 22.17 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004706/0.3609, allocations: 92.83 kB / 0.5899 GB, free: 22.1 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 7.725e-05/0.361, allocations: 39.91 kB / 0.59 GB, free: 22.08 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.838e-05/0.3611, allocations: 2.656 kB / 0.59 GB, free: 22.08 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004301/0.3615, allocations: 160.8 kB / 0.5901 GB, free: 21.99 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.538e-05/0.3616, allocations: 14.92 kB / 0.5901 GB, free: 21.98 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.333e-05/0.3616, allocations: 2.594 kB / 0.5901 GB, free: 21.98 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001458/0.3617, allocations: 69.28 kB / 0.5902 GB, free: 21.95 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 1.382e-05/0.3617, allocations: 6.625 kB / 0.5902 GB, free: 21.94 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 2.511e-05/0.3618, allocations: 21.41 kB / 0.5902 GB, free: 21.92 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001516/0.3619, allocations: 61.7 kB / 0.5903 GB, free: 21.86 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.589e-06/0.3619, allocations: 0 / 0.5903 GB, free: 21.86 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.904e-06/0.362, allocations: 0 / 0.5903 GB, free: 21.86 MB / 446.1 MB Notification: Performance of Transformations before backend: time 5.34e-06/0.362, allocations: 1.344 kB / 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.0003427/0.3623, allocations: 343.4 kB / 0.5906 GB, free: 21.48 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.503e-05/0.3624, allocations: 18.33 kB / 0.5906 GB, free: 21.47 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.709e-05/0.3624, allocations: 0.9375 kB / 0.5906 GB, free: 21.47 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.879e-05/0.3625, allocations: 168.3 kB / 0.5908 GB, free: 21.27 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.273e-05/0.3625, allocations: 1.281 kB / 0.5908 GB, free: 21.27 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.718e-05/0.3625, allocations: 12.28 kB / 0.5908 GB, free: 21.25 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001136/0.3626, allocations: 54.42 kB / 0.5909 GB, free: 21.2 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.905e-06/0.3627, allocations: 2.469 kB / 0.5909 GB, free: 21.2 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.985e-05/0.3627, allocations: 4 kB / 0.5909 GB, free: 21.19 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.472e-06/0.3627, allocations: 7.984 kB / 0.5909 GB, free: 21.18 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.158e-05/0.3628, allocations: 19.95 kB / 0.5909 GB, free: 21.16 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001316/0.3629, allocations: 169.5 kB / 0.5911 GB, free: 20.95 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.399e-05/0.363, allocations: 59.67 kB / 0.5911 GB, free: 20.88 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.487e-05/0.363, allocations: 12.86 kB / 0.5911 GB, free: 20.87 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005634/0.3636, allocations: 0.5884 MB / 0.5917 GB, free: 20.17 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.525e-05/0.3636, allocations: 39.19 kB / 0.5917 GB, free: 20.12 MB / 446.1 MB Notification: Performance of pre-optimization done (n=5): time 1.182e-06/0.3636, allocations: 2.344 kB / 0.5917 GB, free: 20.12 MB / 446.1 MB Notification: Performance of matching and sorting (n=7): time 0.0005045/0.3641, allocations: 306.5 kB / 0.592 GB, free: 19.77 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.026e-05/0.3642, allocations: 51.41 kB / 0.5921 GB, free: 19.71 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.256e-05/0.3642, allocations: 98.3 kB / 0.5922 GB, free: 19.61 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.017e-05/0.3642, allocations: 30.8 kB / 0.5922 GB, free: 19.57 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.001e-05/0.3643, allocations: 91.98 kB / 0.5923 GB, free: 19.48 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.224e-05/0.3643, allocations: 25.55 kB / 0.5923 GB, free: 19.45 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.02e-05/0.3643, allocations: 29.7 kB / 0.5924 GB, free: 19.42 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 4.884e-05/0.3644, allocations: 314.8 kB / 0.5927 GB, free: 19.1 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.252e-05/0.3644, allocations: 12 kB / 0.5927 GB, free: 19.09 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.748e-05/0.3644, allocations: 54.77 kB / 0.5927 GB, free: 19.02 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.426e-05/0.3645, allocations: 75.73 kB / 0.5928 GB, free: 18.93 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.172e-06/0.3645, allocations: 0.875 kB / 0.5928 GB, free: 18.93 MB / 446.1 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001043/0.3646, allocations: 99.2 kB / 0.5929 GB, free: 18.83 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.172e-05/0.3646, allocations: 4 kB / 0.5929 GB, free: 18.82 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.15e-06/0.3647, allocations: 0 / 0.5929 GB, free: 18.82 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.53e-05/0.3647, allocations: 4 kB / 0.5929 GB, free: 18.82 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.679e-05/0.3648, allocations: 25.27 kB / 0.5929 GB, free: 18.8 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.762e-06/0.3648, allocations: 8.375 kB / 0.5929 GB, free: 18.79 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.56e-05/0.3648, allocations: 7.938 kB / 0.5929 GB, free: 18.78 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.052e-06/0.3648, allocations: 4.656 kB / 0.5929 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 5.436e-05/0.3649, allocations: 118.3 kB / 0.593 GB, free: 18.65 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.585e-05/0.3649, allocations: 9.969 kB / 0.5931 GB, free: 18.64 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.924e-05/0.3649, allocations: 11.97 kB / 0.5931 GB, free: 18.64 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.303e-06/0.3649, allocations: 0 / 0.5931 GB, free: 18.64 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.458e-06/0.365, allocations: 0 / 0.5931 GB, free: 18.64 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.707e-06/0.365, allocations: 8.156 kB / 0.5931 GB, free: 18.63 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001818/0.3652, allocations: 176.3 kB / 0.5932 GB, free: 18.41 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.012e-06/0.3652, allocations: 0 / 0.5932 GB, free: 18.41 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.872e-05/0.3652, allocations: 23.98 kB / 0.5933 GB, free: 18.39 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.573e-06/0.3653, allocations: 0 / 0.5933 GB, free: 18.39 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.907e-06/0.3653, allocations: 3.984 kB / 0.5933 GB, free: 18.38 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.263e-06/0.3653, allocations: 0 / 0.5933 GB, free: 18.38 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.3653, allocations: 0 / 0.5933 GB, free: 18.38 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001309/0.3654, allocations: 182 kB / 0.5934 GB, free: 18.19 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.919e-05/0.3654, allocations: 77.11 kB / 0.5935 GB, free: 18.1 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.415e-05/0.3655, allocations: 4.031 kB / 0.5935 GB, free: 18.09 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001/0.3656, allocations: 8 kB / 0.5935 GB, free: 18.09 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.048e-05/0.3656, allocations: 5.594 kB / 0.5935 GB, free: 18.08 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.352e-06/0.3656, allocations: 3.938 kB / 0.5935 GB, free: 18.08 MB / 446.1 MB Notification: Performance of sorting global known variables: time 2.004e-05/0.3656, allocations: 83.27 kB / 0.5936 GB, free: 18 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3656, allocations: 0 / 0.5936 GB, free: 18 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.000229/0.3659, allocations: 12.69 kB / 0.5936 GB, free: 17.98 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 0.0001032/0.366, allocations: 101.9 kB / 0.5937 GB, free: 17.88 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 9.799e-05/0.3661, allocations: 43.92 kB / 0.5938 GB, free: 17.84 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.275e-06/0.3661, allocations: 0 / 0.5938 GB, free: 17.84 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 1.95e-05/0.3661, allocations: 20.45 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.000241/0.3664, 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.0004683/0.3668, allocations: 329.3 kB / 0.5941 GB, free: 17.52 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001015/0.367, allocations: 0.6815 MB / 0.5948 GB, free: 16.81 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 3.937e-05/0.367, allocations: 7.984 kB / 0.5948 GB, free: 16.8 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.075e-05/0.367, allocations: 15.44 kB / 0.5948 GB, free: 16.79 MB / 446.1 MB Notification: Performance of SimCode: time 2.5e-07/0.367, allocations: 0 / 0.5948 GB, free: 16.79 MB / 446.1 MB Notification: Performance of Templates: time 0.002475/0.3695, allocations: 0.6178 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 gbode -lv LOG_STATS > IDEAS_dev_IDEAS.Media.Examples.PropyleneGlycolWaterDerivativeCheck.pipe 2>&1)