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.001246/0.001246, allocations: 107.6 kB / 16.27 MB, free: 6.41 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.001168/0.001168, allocations: 190.3 kB / 17.2 MB, free: 5.953 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.338/1.338, allocations: 222.9 MB / 240.9 MB, free: 15.21 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8387/0.8387, allocations: 135.2 MB / 426.2 MB, free: 4.148 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001888/0.001888, allocations: 67.88 kB / 0.506 GB, free: 8.379 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3566/0.3585, allocations: 80.92 MB / 0.585 GB, free: 25.15 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Media.Examples.PropyleneGlycolWaterDerivativeCheck): time 0.002124/0.3606, allocations: 1.261 MB / 0.5863 GB, free: 24.16 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.002749/0.3634, allocations: 2.914 MB / 0.5891 GB, free: 21.81 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.394e-05/0.3634, allocations: 9.281 kB / 0.5891 GB, free: 21.8 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 1.453e-05/0.3635, allocations: 3.984 kB / 0.5891 GB, free: 21.8 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 4.288e-05/0.3635, allocations: 8.422 kB / 0.5891 GB, free: 21.79 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00043/0.364, allocations: 98.86 kB / 0.5892 GB, free: 21.72 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 6.075e-05/0.364, allocations: 37.81 kB / 0.5893 GB, free: 21.7 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.613e-05/0.3641, allocations: 3.781 kB / 0.5893 GB, free: 21.7 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004014/0.3645, allocations: 158 kB / 0.5894 GB, free: 21.62 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.764e-05/0.3645, allocations: 15.94 kB / 0.5894 GB, free: 21.61 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.18e-05/0.3645, allocations: 1.281 kB / 0.5894 GB, free: 21.61 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001428/0.3647, allocations: 72.3 kB / 0.5895 GB, free: 21.57 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 1.341e-05/0.3647, allocations: 3.688 kB / 0.5895 GB, free: 21.57 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 3.324e-05/0.3648, allocations: 22.53 kB / 0.5895 GB, free: 21.55 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000153/0.3649, allocations: 61.81 kB / 0.5896 GB, free: 21.52 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.148e-06/0.3649, allocations: 0.5312 kB / 0.5896 GB, free: 21.52 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.443e-06/0.3649, allocations: 0 / 0.5896 GB, free: 21.52 MB / 446.1 MB Notification: Performance of Transformations before backend: time 4.849e-06/0.3649, allocations: 2.531 kB / 0.5896 GB, free: 21.52 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.0003389/0.3653, allocations: 343.6 kB / 0.5899 GB, free: 21.15 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.574e-05/0.3653, allocations: 11.08 kB / 0.5899 GB, free: 21.15 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.813e-05/0.3654, allocations: 8.688 kB / 0.59 GB, free: 21.15 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.988e-05/0.3655, allocations: 162.6 kB / 0.5901 GB, free: 20.95 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.262e-05/0.3655, allocations: 5.344 kB / 0.5901 GB, free: 20.95 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.648e-05/0.3655, allocations: 8.594 kB / 0.5901 GB, free: 20.95 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001135/0.3656, allocations: 58.95 kB / 0.5902 GB, free: 20.89 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.606e-06/0.3656, allocations: 1.031 kB / 0.5902 GB, free: 20.89 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.231e-05/0.3657, allocations: 1 kB / 0.5902 GB, free: 20.89 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.681e-06/0.3657, allocations: 1.469 kB / 0.5902 GB, free: 20.89 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.152e-05/0.3657, allocations: 30.45 kB / 0.5902 GB, free: 20.88 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000126/0.3659, allocations: 166.4 kB / 0.5904 GB, free: 20.67 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.616e-05/0.366, allocations: 52.81 kB / 0.5904 GB, free: 20.63 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.776e-05/0.366, allocations: 17.88 kB / 0.5904 GB, free: 20.62 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005385/0.3665, allocations: 0.5902 MB / 0.591 GB, free: 19.96 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.48e-05/0.3666, allocations: 31.75 kB / 0.591 GB, free: 19.93 MB / 446.1 MB Notification: Performance of pre-optimization done (n=5): time 1.122e-06/0.3666, allocations: 0.625 kB / 0.591 GB, free: 19.93 MB / 446.1 MB Notification: Performance of matching and sorting (n=7): time 0.0004946/0.3671, allocations: 301.6 kB / 0.5913 GB, free: 19.63 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.173e-05/0.3671, allocations: 58.3 kB / 0.5914 GB, free: 19.57 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.815e-05/0.3672, allocations: 101.8 kB / 0.5915 GB, free: 19.46 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 9.317e-06/0.3672, allocations: 26.89 kB / 0.5915 GB, free: 19.43 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.498e-05/0.3672, allocations: 93.7 kB / 0.5916 GB, free: 19.34 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.31e-05/0.3672, allocations: 23.67 kB / 0.5916 GB, free: 19.32 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.231e-05/0.3673, allocations: 25.62 kB / 0.5916 GB, free: 19.29 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 4.382e-05/0.3673, allocations: 325.5 kB / 0.592 GB, free: 18.97 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.559e-05/0.3673, allocations: 16.34 kB / 0.592 GB, free: 18.96 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.895e-05/0.3674, allocations: 50.08 kB / 0.592 GB, free: 18.91 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.221e-05/0.3675, allocations: 76.39 kB / 0.5921 GB, free: 18.84 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.693e-06/0.3675, allocations: 2.438 kB / 0.5921 GB, free: 18.84 MB / 446.1 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001159/0.3676, allocations: 99.61 kB / 0.5922 GB, free: 18.77 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.254e-05/0.3676, allocations: 5.438 kB / 0.5922 GB, free: 18.77 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.31e-06/0.3676, allocations: 1.5 kB / 0.5922 GB, free: 18.77 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.549e-05/0.3676, allocations: 2.594 kB / 0.5922 GB, free: 18.77 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.278e-05/0.3677, allocations: 29.55 kB / 0.5922 GB, free: 18.76 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.143e-06/0.3677, allocations: 2.875 kB / 0.5922 GB, free: 18.76 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.842e-05/0.3678, allocations: 5.125 kB / 0.5922 GB, free: 18.75 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.155e-06/0.3678, allocations: 8.094 kB / 0.5922 GB, free: 18.75 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.448e-05/0.3678, allocations: 120.8 kB / 0.5924 GB, free: 18.63 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.722e-05/0.3679, allocations: 2.812 kB / 0.5924 GB, free: 18.63 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.283e-05/0.3679, allocations: 7.969 kB / 0.5924 GB, free: 18.62 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.274e-06/0.3679, allocations: 1.156 kB / 0.5924 GB, free: 18.62 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.158e-06/0.3679, allocations: 0 / 0.5924 GB, free: 18.62 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.526e-06/0.3679, allocations: 13.12 kB / 0.5924 GB, free: 18.61 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001876/0.3681, allocations: 170.3 kB / 0.5925 GB, free: 18.41 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.61e-07/0.3681, allocations: 4 kB / 0.5925 GB, free: 18.41 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.744e-05/0.3682, allocations: 15.98 kB / 0.5926 GB, free: 18.39 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.443e-06/0.3682, allocations: 0 / 0.5926 GB, free: 18.39 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.462e-06/0.3682, allocations: 0 / 0.5926 GB, free: 18.39 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.152e-06/0.3682, allocations: 1.062 kB / 0.5926 GB, free: 18.39 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.593e-06/0.3682, allocations: 4 kB / 0.5926 GB, free: 18.39 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000124/0.3684, allocations: 180.4 kB / 0.5927 GB, free: 18.2 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.733e-05/0.3684, allocations: 83.7 kB / 0.5928 GB, free: 18.1 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.357e-05/0.3684, allocations: 0 / 0.5928 GB, free: 18.1 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001035/0.3685, allocations: 4.031 kB / 0.5928 GB, free: 18.09 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.874e-05/0.3686, allocations: 7.938 kB / 0.5928 GB, free: 18.09 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.803e-06/0.3686, allocations: 7.938 kB / 0.5928 GB, free: 18.08 MB / 446.1 MB Notification: Performance of sorting global known variables: time 1.79e-05/0.3686, allocations: 83.27 kB / 0.5929 GB, free: 18 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3686, allocations: 0.6562 kB / 0.5929 GB, free: 18 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002267/0.3688, allocations: 16.53 kB / 0.5929 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 8.691e-05/0.3689, allocations: 97.36 kB / 0.593 GB, free: 17.88 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0001023/0.369, allocations: 49.59 kB / 0.5931 GB, free: 17.83 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.274e-06/0.369, allocations: 0 / 0.5931 GB, free: 17.83 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 2.027e-05/0.3691, allocations: 20.08 kB / 0.5931 GB, free: 17.81 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002709/0.3693, allocations: 13.48 kB / 0.5931 GB, free: 17.8 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004756/0.3698, allocations: 364.9 kB / 0.5935 GB, free: 17.46 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001037/0.3699, allocations: 0.6846 MB / 0.5941 GB, free: 16.75 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.195e-05/0.37, allocations: 15.44 kB / 0.5941 GB, free: 16.73 MB / 446.1 MB Notification: Performance of SimCode: time 2.2e-07/0.37, allocations: 0 / 0.5941 GB, free: 16.73 MB / 446.1 MB Notification: Performance of Templates: time 0.001965/0.3719, allocations: 0.7664 MB / 0.5949 GB, free: 15.96 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 -lv LOG_STATS > IDEAS_dev_IDEAS.Media.Examples.PropyleneGlycolWaterDerivativeCheck.pipe 2>&1)