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/Complex 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) 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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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) 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/Complex 4.0.0+maint.om/package.mo): time 0.007341/0.007341, allocations: 172.2 kB / 15.11 MB, free: 5.969 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7613/0.7613, allocations: 132.3 MB / 148.1 MB, free: 200 kB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.703/1.703, allocations: 223.2 MB / 403.2 MB, free: 6.715 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008957/0.0008961, allocations: 99.92 kB / 485.5 MB, free: 14.11 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003471/0.0003472, allocations: 8 kB / 0.5641 GB, free: 2.094 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4221/0.4225, allocations: 81.58 MB / 0.6437 GB, free: 39.28 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.7701/1.193, allocations: 340.2 MB / 0.976 GB, free: 7.824 MB / 0.6198 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002835/1.193, allocations: 68.34 kB / 0.9761 GB, free: 7.789 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 0.02887/1.222, allocations: 13.38 MB / 0.9891 GB, free: 13.16 MB / 0.6355 GB Notification: Performance of FrontEnd: time 2.174e-06/1.222, allocations: 0 / 0.9891 GB, free: 13.16 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 1.068e-05/1.222, allocations: 3.938 kB / 0.9891 GB, free: 13.16 MB / 0.6355 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.0004818/1.222, allocations: 358.8 kB / 0.9895 GB, free: 12.76 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 6.241e-05/1.223, allocations: 8.031 kB / 0.9895 GB, free: 12.75 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001424/1.223, allocations: 11.86 kB / 0.9895 GB, free: 12.74 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001612/1.223, allocations: 159.1 kB / 0.9897 GB, free: 12.55 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.226e-05/1.223, allocations: 7.938 kB / 0.9897 GB, free: 12.54 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.171e-05/1.223, allocations: 7.625 kB / 0.9897 GB, free: 12.54 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001806/1.223, allocations: 53.17 kB / 0.9897 GB, free: 12.48 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.14e-05/1.223, allocations: 0 / 0.9897 GB, free: 12.48 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.585e-05/1.223, allocations: 0 / 0.9897 GB, free: 12.48 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.851e-06/1.223, allocations: 0 / 0.9897 GB, free: 12.48 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.76e-05/1.223, allocations: 31.41 kB / 0.9897 GB, free: 12.46 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002468/1.223, allocations: 161.2 kB / 0.9899 GB, free: 12.25 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001127/1.224, allocations: 53.44 kB / 0.99 GB, free: 12.2 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000902/1.225, allocations: 0.593 MB / 0.9905 GB, free: 11.52 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.919e-05/1.225, allocations: 38.56 kB / 0.9906 GB, free: 11.47 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=5): time 1.483e-06/1.225, allocations: 0 / 0.9906 GB, free: 11.47 MB / 0.6355 GB Notification: Performance of matching and sorting (n=7): time 0.0006773/1.225, allocations: 302 kB / 0.9909 GB, free: 11.14 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.25e-05/1.225, allocations: 51.41 kB / 0.9909 GB, free: 11.08 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.812e-05/1.225, allocations: 96.86 kB / 0.991 GB, free: 10.98 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.875e-05/1.225, allocations: 25.7 kB / 0.991 GB, free: 10.95 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 5.156e-05/1.226, allocations: 91.3 kB / 0.9911 GB, free: 10.86 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 3.708e-05/1.226, allocations: 30.92 kB / 0.9911 GB, free: 10.84 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.068e-06/1.226, allocations: 0 / 0.9911 GB, free: 10.84 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001314/1.226, allocations: 318.3 kB / 0.9914 GB, free: 10.52 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.7e-05/1.226, allocations: 11.75 kB / 0.9915 GB, free: 10.51 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.522e-05/1.226, allocations: 47.77 kB / 0.9915 GB, free: 10.45 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.44e-05/1.226, allocations: 23.55 kB / 0.9915 GB, free: 10.43 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.112e-06/1.226, allocations: 0 / 0.9915 GB, free: 10.43 MB / 0.6355 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001314/1.226, allocations: 103.6 kB / 0.9916 GB, free: 10.34 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.944e-05/1.226, allocations: 8 kB / 0.9916 GB, free: 10.33 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.839e-06/1.226, allocations: 0 / 0.9916 GB, free: 10.33 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.675e-05/1.226, allocations: 7.953 kB / 0.9916 GB, free: 10.32 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.537e-05/1.226, allocations: 19.5 kB / 0.9917 GB, free: 10.31 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.093e-06/1.226, allocations: 4 kB / 0.9917 GB, free: 10.3 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.297e-05/1.226, allocations: 4 kB / 0.9917 GB, free: 10.3 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.518e-06/1.226, allocations: 7.984 kB / 0.9917 GB, free: 10.29 MB / 0.6355 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.9e-05/1.226, allocations: 117.3 kB / 0.9918 GB, free: 10.17 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.513e-05/1.226, allocations: 3.906 kB / 0.9918 GB, free: 10.17 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.8e-05/1.226, allocations: 11.59 kB / 0.9918 GB, free: 10.16 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.526e-06/1.226, allocations: 3.953 kB / 0.9918 GB, free: 10.16 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.198e-06/1.226, allocations: 3.938 kB / 0.9918 GB, free: 10.15 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.675e-06/1.226, allocations: 4 kB / 0.9918 GB, free: 10.15 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002427/1.227, allocations: 177 kB / 0.992 GB, free: 9.934 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.22e-07/1.227, allocations: 0 / 0.992 GB, free: 9.934 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.35e-05/1.227, allocations: 15.98 kB / 0.992 GB, free: 9.918 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.557e-06/1.227, allocations: 4 kB / 0.992 GB, free: 9.914 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.636e-06/1.227, allocations: 3.438 kB / 0.992 GB, free: 9.914 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.152e-06/1.227, allocations: 0 / 0.992 GB, free: 9.914 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.966e-06/1.227, allocations: 3.953 kB / 0.992 GB, free: 9.91 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001788/1.227, allocations: 174.1 kB / 0.9922 GB, free: 9.734 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 5.282e-05/1.227, allocations: 85.45 kB / 0.9922 GB, free: 9.633 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.475e-05/1.227, allocations: 0 / 0.9922 GB, free: 9.633 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.688e-05/1.227, allocations: 7.438 kB / 0.9923 GB, free: 9.629 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.829e-05/1.227, allocations: 7.984 kB / 0.9923 GB, free: 9.621 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.656e-06/1.227, allocations: 7.953 kB / 0.9923 GB, free: 9.613 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 4.687e-05/1.227, allocations: 78.91 kB / 0.9923 GB, free: 9.539 MB / 0.6355 GB Notification: Performance of sort global known variables: time 1.21e-07/1.227, allocations: 0 / 0.9923 GB, free: 9.539 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.000228/1.228, allocations: 12 kB / 0.9924 GB, free: 9.527 MB / 0.6355 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001977/1.228, allocations: 123.4 kB / 0.9925 GB, free: 9.402 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0001164/1.228, allocations: 43.36 kB / 0.9925 GB, free: 9.367 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 3.556e-06/1.228, allocations: 0 / 0.9925 GB, free: 9.367 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 2.663e-05/1.228, allocations: 23.42 kB / 0.9925 GB, free: 9.348 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001802/1.228, allocations: 6.031 kB / 0.9925 GB, free: 9.344 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006289/1.229, allocations: 389.4 kB / 0.9929 GB, free: 8.941 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002723/1.229, allocations: 0.6887 MB / 0.9936 GB, free: 8.227 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 5.496e-05/1.229, allocations: 4 kB / 0.9936 GB, free: 8.223 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.88e-05/1.229, allocations: 11.44 kB / 0.9936 GB, free: 8.211 MB / 0.6355 GB Notification: Performance of SimCode: time 3.9e-07/1.229, allocations: 0 / 0.9936 GB, free: 8.211 MB / 0.6355 GB Notification: Performance of Templates: time 0.003077/1.232, allocations: 0.8523 MB / 0.9944 GB, free: 7.371 MB / 0.6355 GB 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 -lv LOG_STATS > IDEAS_IDEAS.Media.Examples.WaterDerivativeCheck.pipe 2>&1)