Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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-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.WaterDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Media.Examples.WaterDerivativeCheck") translateModel(IDEAS.Media.Examples.WaterDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_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.001471/0.001471, allocations: 106.5 kB / 16.27 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.001399/0.001399, allocations: 190 kB / 17.2 MB, free: 5.641 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.333/1.333, allocations: 222.9 MB / 240.9 MB, free: 15.26 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8108/0.8108, allocations: 135.2 MB / 426.2 MB, free: 4.09 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00184/0.00184, allocations: 67.89 kB / 0.506 GB, free: 8.324 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3397/0.3415, allocations: 80.91 MB / 0.585 GB, free: 25.3 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Media.Examples.WaterDerivativeCheck): time 0.002096/0.3437, allocations: 1.26 MB / 0.5863 GB, free: 24.3 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.002674/0.3464, allocations: 3.254 MB / 0.5895 GB, free: 21.66 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.971e-05/0.3464, allocations: 0 / 0.5895 GB, free: 21.66 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 1.91e-05/0.3464, allocations: 3.984 kB / 0.5895 GB, free: 21.65 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 4.293e-05/0.3465, allocations: 6 kB / 0.5895 GB, free: 21.65 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004233/0.3469, allocations: 105.7 kB / 0.5896 GB, free: 21.57 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 5.983e-05/0.347, allocations: 39.11 kB / 0.5896 GB, free: 21.55 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.876e-05/0.3471, allocations: 5.281 kB / 0.5896 GB, free: 21.55 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.946e-05/0.3471, allocations: 20.11 kB / 0.5896 GB, free: 21.54 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.909e-05/0.3472, allocations: 16.98 kB / 0.5896 GB, free: 21.53 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.138e-05/0.3472, allocations: 2.562 kB / 0.5896 GB, free: 21.53 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002039/0.3474, allocations: 77.88 kB / 0.5897 GB, free: 21.48 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 1.333e-05/0.3474, allocations: 9.375 kB / 0.5897 GB, free: 21.48 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 2.874e-05/0.3475, allocations: 21.38 kB / 0.5897 GB, free: 21.46 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001624/0.3476, allocations: 72.28 kB / 0.5898 GB, free: 21.43 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.167e-06/0.3476, allocations: 0 / 0.5898 GB, free: 21.43 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.473e-06/0.3476, allocations: 1.312 kB / 0.5898 GB, free: 21.43 MB / 446.1 MB Notification: Performance of Transformations before backend: time 5.28e-06/0.3476, allocations: 0 / 0.5898 GB, free: 21.43 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.0003216/0.348, allocations: 349.6 kB / 0.5901 GB, free: 21.05 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.529e-05/0.348, allocations: 14.19 kB / 0.5902 GB, free: 21.05 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.459e-05/0.3481, allocations: 5.469 kB / 0.5902 GB, free: 21.05 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.628e-05/0.3482, allocations: 162.6 kB / 0.5903 GB, free: 20.86 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.212e-05/0.3482, allocations: 1.875 kB / 0.5903 GB, free: 20.86 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.179e-05/0.3482, allocations: 10.81 kB / 0.5903 GB, free: 20.85 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001185/0.3484, allocations: 57.64 kB / 0.5904 GB, free: 20.8 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.697e-06/0.3484, allocations: 4 kB / 0.5904 GB, free: 20.8 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.332e-05/0.3484, allocations: 5.375 kB / 0.5904 GB, free: 20.79 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.31e-06/0.3484, allocations: 1.531 kB / 0.5904 GB, free: 20.79 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.866e-05/0.3485, allocations: 14.23 kB / 0.5904 GB, free: 20.79 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001304/0.3486, allocations: 170.6 kB / 0.5906 GB, free: 20.58 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.569e-05/0.3487, allocations: 52.09 kB / 0.5906 GB, free: 20.54 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.778e-05/0.3487, allocations: 20.75 kB / 0.5906 GB, free: 20.53 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005254/0.3493, allocations: 0.5912 MB / 0.5912 GB, free: 19.87 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.994e-05/0.3493, allocations: 41.12 kB / 0.5913 GB, free: 19.82 MB / 446.1 MB Notification: Performance of pre-optimization done (n=5): time 1.072e-06/0.3493, allocations: 0 / 0.5913 GB, free: 19.82 MB / 446.1 MB Notification: Performance of matching and sorting (n=7): time 0.0004748/0.3498, allocations: 296.7 kB / 0.5915 GB, free: 19.54 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.67e-05/0.3498, allocations: 52.86 kB / 0.5916 GB, free: 19.47 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.41e-05/0.3499, allocations: 100.9 kB / 0.5917 GB, free: 19.37 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 8.887e-06/0.3499, allocations: 29.7 kB / 0.5917 GB, free: 19.33 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.249e-05/0.3499, allocations: 92.03 kB / 0.5918 GB, free: 19.24 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.155e-05/0.3499, allocations: 24.23 kB / 0.5918 GB, free: 19.21 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.935e-05/0.3499, allocations: 29.16 kB / 0.5919 GB, free: 19.18 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 3.836e-05/0.35, allocations: 322.8 kB / 0.5922 GB, free: 18.86 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.32e-05/0.35, allocations: 12 kB / 0.5922 GB, free: 18.85 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.253e-05/0.3501, allocations: 57.08 kB / 0.5922 GB, free: 18.77 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.419e-05/0.3501, allocations: 75.44 kB / 0.5923 GB, free: 18.68 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.81e-07/0.3501, allocations: 0.5 kB / 0.5923 GB, free: 18.68 MB / 446.1 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001047/0.3502, allocations: 98.8 kB / 0.5924 GB, free: 18.58 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.114e-05/0.3503, allocations: 4 kB / 0.5924 GB, free: 18.58 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.018e-06/0.3503, allocations: 1.781 kB / 0.5924 GB, free: 18.58 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.265e-05/0.3503, allocations: 4 kB / 0.5924 GB, free: 18.57 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.777e-05/0.3504, allocations: 19.94 kB / 0.5924 GB, free: 18.55 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.139e-06/0.3504, allocations: 4 kB / 0.5924 GB, free: 18.55 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.803e-05/0.3504, allocations: 9.531 kB / 0.5924 GB, free: 18.54 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.48e-06/0.3504, allocations: 7.938 kB / 0.5924 GB, free: 18.54 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.717e-05/0.3505, allocations: 117.8 kB / 0.5926 GB, free: 18.41 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.551e-05/0.3505, allocations: 1.188 kB / 0.5926 GB, free: 18.41 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.212e-05/0.3505, allocations: 11.97 kB / 0.5926 GB, free: 18.4 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.432e-06/0.3505, allocations: 0 / 0.5926 GB, free: 18.4 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.268e-06/0.3505, allocations: 0.5625 kB / 0.5926 GB, free: 18.4 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.116e-06/0.3506, allocations: 3.938 kB / 0.5926 GB, free: 18.4 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001787/0.3507, allocations: 172.2 kB / 0.5927 GB, free: 18.18 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.62e-07/0.3507, allocations: 3.938 kB / 0.5927 GB, free: 18.18 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.982e-05/0.3508, allocations: 27.92 kB / 0.5928 GB, free: 18.15 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.493e-06/0.3508, allocations: 4 kB / 0.5928 GB, free: 18.15 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.972e-06/0.3508, allocations: 0 / 0.5928 GB, free: 18.15 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.403e-06/0.3509, allocations: 0.7969 kB / 0.5928 GB, free: 18.15 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.3509, allocations: 3.984 kB / 0.5928 GB, free: 18.14 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001238/0.351, allocations: 176.8 kB / 0.5929 GB, free: 17.96 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.714e-05/0.351, allocations: 82.52 kB / 0.593 GB, free: 17.86 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.291e-05/0.351, allocations: 0 / 0.593 GB, free: 17.86 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001032/0.3511, allocations: 8 kB / 0.593 GB, free: 17.85 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.568e-05/0.3512, allocations: 8.828 kB / 0.593 GB, free: 17.84 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.781e-06/0.3512, allocations: 3.938 kB / 0.593 GB, free: 17.84 MB / 446.1 MB Notification: Performance of sorting global known variables: time 1.808e-05/0.3512, allocations: 80.34 kB / 0.5931 GB, free: 17.76 MB / 446.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3512, allocations: 0 / 0.5931 GB, free: 17.76 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002395/0.3515, allocations: 12 kB / 0.5931 GB, free: 17.75 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 9.611e-05/0.3516, allocations: 113.6 kB / 0.5932 GB, free: 17.63 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 9.944e-05/0.3517, allocations: 39.92 kB / 0.5933 GB, free: 17.59 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/0.3517, allocations: 0.9375 kB / 0.5933 GB, free: 17.59 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 2.013e-05/0.3517, allocations: 19.94 kB / 0.5933 GB, free: 17.57 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002815/0.352, allocations: 8.266 kB / 0.5933 GB, free: 17.57 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000507/0.3525, allocations: 371.6 kB / 0.5937 GB, free: 17.23 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001011/0.3526, allocations: 0.6854 MB / 0.5943 GB, free: 16.52 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.205e-05/0.3526, allocations: 11.44 kB / 0.5943 GB, free: 16.5 MB / 446.1 MB Notification: Performance of SimCode: time 2.21e-07/0.3527, allocations: 0 / 0.5943 GB, free: 16.5 MB / 446.1 MB Notification: Performance of Templates: time 0.001943/0.3546, allocations: 0.7732 MB / 0.5951 GB, free: 15.73 MB / 446.1 MB make -j1 -f IDEAS_dev_IDEAS.Media.Examples.WaterDerivativeCheck.makefile (rm -f IDEAS_dev_IDEAS.Media.Examples.WaterDerivativeCheck.pipe ; mkfifo IDEAS_dev_IDEAS.Media.Examples.WaterDerivativeCheck.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Media.Examples.WaterDerivativeCheck.pipe >> ../files/IDEAS_dev_IDEAS.Media.Examples.WaterDerivativeCheck.sim & ./IDEAS_dev_IDEAS.Media.Examples.WaterDerivativeCheck -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Media.Examples.WaterDerivativeCheck.pipe 2>&1)