Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Media.Examples.WaterDerivativeCheck.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.WaterDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Media.Examples.WaterDerivativeCheck") translateModel(IDEAS.Media.Examples.WaterDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Media.Examples.WaterDerivativeCheck") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001317/0.001317, allocations: 114.9 kB / 16.37 MB, free: 6 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.001107/0.001107, allocations: 194.7 kB / 17.3 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.33/1.33, 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/package.mo): time 0.8189/0.8189, allocations: 132.2 MB / 423.3 MB, free: 6.629 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001255/0.001255, allocations: 59.91 kB / 0.5032 GB, free: 10.98 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.387/0.3883, allocations: 80.18 MB / 0.5815 GB, free: 27.81 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Media.Examples.WaterDerivativeCheck): time 0.002833/0.3912, allocations: 1.268 MB / 0.5827 GB, free: 26.82 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.003751/0.395, allocations: 3.257 MB / 0.5859 GB, free: 24.16 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.371e-05/0.395, allocations: 0 / 0.5859 GB, free: 24.16 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 2.047e-05/0.3951, allocations: 5.281 kB / 0.5859 GB, free: 24.15 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 4.796e-05/0.3951, allocations: 11.91 kB / 0.5859 GB, free: 24.14 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005451/0.3957, allocations: 107.9 kB / 0.586 GB, free: 24.06 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 8.834e-05/0.3958, allocations: 37.56 kB / 0.5861 GB, free: 24.04 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.976e-05/0.3958, allocations: 7.375 kB / 0.5861 GB, free: 24.04 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.588e-05/0.3959, allocations: 18.27 kB / 0.5861 GB, free: 24.03 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.189e-05/0.396, allocations: 18.36 kB / 0.5861 GB, free: 24.02 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.335e-05/0.396, allocations: 2.062 kB / 0.5861 GB, free: 24.02 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002595/0.3963, allocations: 76.27 kB / 0.5862 GB, free: 23.98 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 1.789e-05/0.3963, allocations: 11.83 kB / 0.5862 GB, free: 23.97 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 3.571e-05/0.3963, allocations: 14.22 kB / 0.5862 GB, free: 23.96 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001965/0.3965, allocations: 67.5 kB / 0.5863 GB, free: 23.93 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.18e-06/0.3966, allocations: 0.5625 kB / 0.5863 GB, free: 23.93 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.634e-06/0.3966, allocations: 0 / 0.5863 GB, free: 23.93 MB / 446.1 MB Notification: Performance of Transformations before backend: time 4.83e-06/0.3966, allocations: 3.031 kB / 0.5863 GB, free: 23.93 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.0003646/0.397, allocations: 345.1 kB / 0.5866 GB, free: 23.56 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.043e-05/0.397, allocations: 11.38 kB / 0.5866 GB, free: 23.56 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001267/0.3971, allocations: 7.484 kB / 0.5866 GB, free: 23.55 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.836e-05/0.3972, allocations: 162.3 kB / 0.5868 GB, free: 23.36 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.438e-05/0.3973, allocations: 7.344 kB / 0.5868 GB, free: 23.36 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.772e-05/0.3973, allocations: 12.16 kB / 0.5868 GB, free: 23.35 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001414/0.3974, allocations: 59.61 kB / 0.5868 GB, free: 23.3 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.416e-06/0.3975, allocations: 0 / 0.5868 GB, free: 23.3 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.524e-05/0.3975, allocations: 1.188 kB / 0.5868 GB, free: 23.3 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.53e-06/0.3975, allocations: 0.5312 kB / 0.5868 GB, free: 23.3 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.27e-05/0.3976, allocations: 26.84 kB / 0.5869 GB, free: 23.28 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001491/0.3977, allocations: 164.1 kB / 0.587 GB, free: 23.08 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001058/0.3978, allocations: 51.19 kB / 0.5871 GB, free: 23.04 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.756e-05/0.3979, allocations: 20.72 kB / 0.5871 GB, free: 23.03 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006849/0.3986, allocations: 0.5912 MB / 0.5877 GB, free: 22.37 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.797e-05/0.3986, allocations: 33.97 kB / 0.5877 GB, free: 22.33 MB / 446.1 MB Notification: Performance of pre-optimization done (n=5): time 1.393e-06/0.3986, allocations: 0 / 0.5877 GB, free: 22.33 MB / 446.1 MB Notification: Performance of matching and sorting (n=7): time 0.0006069/0.3992, allocations: 299.9 kB / 0.588 GB, free: 22.04 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.63e-05/0.3993, allocations: 53.44 kB / 0.588 GB, free: 21.98 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.614e-05/0.3993, allocations: 103.1 kB / 0.5881 GB, free: 21.87 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.215e-05/0.3994, allocations: 30.61 kB / 0.5882 GB, free: 21.84 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.984e-05/0.3994, allocations: 90.39 kB / 0.5883 GB, free: 21.75 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.924e-05/0.3994, allocations: 27.11 kB / 0.5883 GB, free: 21.72 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.042e-05/0.3995, allocations: 21.03 kB / 0.5883 GB, free: 21.7 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 4.999e-05/0.3996, allocations: 329.9 kB / 0.5886 GB, free: 21.38 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.834e-05/0.3996, allocations: 11.75 kB / 0.5886 GB, free: 21.37 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.601e-05/0.3997, allocations: 51.95 kB / 0.5887 GB, free: 21.32 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.894e-05/0.3998, allocations: 75.78 kB / 0.5887 GB, free: 21.25 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.984e-06/0.3998, allocations: 2.688 kB / 0.5887 GB, free: 21.25 MB / 446.1 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001759/0.4, allocations: 93.69 kB / 0.5888 GB, free: 21.18 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.523e-05/0.4, allocations: 11.61 kB / 0.5888 GB, free: 21.18 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.671e-06/0.4, allocations: 1.156 kB / 0.5888 GB, free: 21.18 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.717e-05/0.4, allocations: 4.688 kB / 0.5889 GB, free: 21.18 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001044/0.4002, allocations: 25.09 kB / 0.5889 GB, free: 21.17 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.775e-06/0.4002, allocations: 1.188 kB / 0.5889 GB, free: 21.17 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.039e-05/0.4002, allocations: 6.875 kB / 0.5889 GB, free: 21.17 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.878e-06/0.4003, allocations: 3.656 kB / 0.5889 GB, free: 21.17 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 6.034e-05/0.4003, allocations: 117.3 kB / 0.589 GB, free: 21.05 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.271e-05/0.4004, allocations: 3.531 kB / 0.589 GB, free: 21.05 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.984e-05/0.4004, allocations: 8.719 kB / 0.589 GB, free: 21.04 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.477e-06/0.4004, allocations: 5.094 kB / 0.589 GB, free: 21.04 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.929e-06/0.4004, allocations: 3.781 kB / 0.589 GB, free: 21.04 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.638e-06/0.4004, allocations: 3.938 kB / 0.589 GB, free: 21.04 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002864/0.4007, allocations: 177.3 kB / 0.5892 GB, free: 20.83 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.733e-06/0.4008, allocations: 0 / 0.5892 GB, free: 20.83 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001422/0.4009, allocations: 18.08 kB / 0.5892 GB, free: 20.82 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.855e-06/0.4009, allocations: 0 / 0.5892 GB, free: 20.82 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.045e-05/0.4009, allocations: 3.406 kB / 0.5892 GB, free: 20.82 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.144e-06/0.401, allocations: 0 / 0.5892 GB, free: 20.82 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.182e-06/0.401, allocations: 0 / 0.5892 GB, free: 20.82 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001899/0.4012, allocations: 177.7 kB / 0.5894 GB, free: 20.66 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.759e-05/0.4012, allocations: 84.23 kB / 0.5895 GB, free: 20.57 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.038e-05/0.4013, allocations: 6.844 kB / 0.5895 GB, free: 20.56 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001647/0.4014, allocations: 1.469 kB / 0.5895 GB, free: 20.56 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.079e-05/0.4015, allocations: 10.55 kB / 0.5895 GB, free: 20.55 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.158e-05/0.4015, allocations: 8.344 kB / 0.5895 GB, free: 20.55 MB / 446.1 MB Notification: Performance of sorting global known variables: time 2.354e-05/0.4015, allocations: 80.72 kB / 0.5896 GB, free: 20.47 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.4015, allocations: 1.219 kB / 0.5896 GB, free: 20.47 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0004302/0.402, allocations: 9.375 kB / 0.5896 GB, free: 20.47 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.0001074/0.4021, allocations: 111 kB / 0.5897 GB, free: 20.38 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0001532/0.4023, allocations: 38.08 kB / 0.5897 GB, free: 20.36 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.757e-06/0.4023, allocations: 1.031 kB / 0.5897 GB, free: 20.36 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 4.161e-05/0.4023, allocations: 18.56 kB / 0.5897 GB, free: 20.36 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004207/0.4028, allocations: 16.98 kB / 0.5898 GB, free: 20.35 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000713/0.4035, allocations: 330.2 kB / 0.5901 GB, free: 20.12 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001166/0.4036, allocations: 0.6857 MB / 0.5907 GB, free: 19.42 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 6.264e-05/0.4037, allocations: 7.656 kB / 0.5907 GB, free: 19.42 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.731e-05/0.4037, allocations: 11.28 kB / 0.5908 GB, free: 19.41 MB / 446.1 MB Notification: Performance of SimCode: time 7.81e-07/0.4037, allocations: 0 / 0.5908 GB, free: 19.41 MB / 446.1 MB Notification: Performance of Templates: time 0.003627/0.4074, allocations: 0.6112 MB / 0.5914 GB, free: 19.1 MB / 446.1 MB make -j1 -f IDEAS_IDEAS.Media.Examples.WaterDerivativeCheck.makefile (rm -f IDEAS_IDEAS.Media.Examples.WaterDerivativeCheck.pipe ; mkfifo IDEAS_IDEAS.Media.Examples.WaterDerivativeCheck.pipe ; head -c 1048576 < IDEAS_IDEAS.Media.Examples.WaterDerivativeCheck.pipe >> ../files/IDEAS_IDEAS.Media.Examples.WaterDerivativeCheck.sim & ./IDEAS_IDEAS.Media.Examples.WaterDerivativeCheck -abortSlowSimulation -alarm=480 -s gbode -lv LOG_STATS > IDEAS_IDEAS.Media.Examples.WaterDerivativeCheck.pipe 2>&1)