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.001193/0.001193, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001265/0.001266, allocations: 198.1 kB / 16.54 MB, free: 6.672 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.429/1.429, allocations: 222.9 MB / 240.2 MB, free: 4.391 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9755/0.9755, allocations: 135.2 MB / 425.6 MB, free: 11.91 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001269/0.001269, allocations: 68.48 kB / 0.5054 GB, free: 5.305 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2081/0.2094, allocations: 80.92 MB / 0.5844 GB, free: 4.543 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Media.Examples.WaterDerivativeCheck): time 0.003318/0.2128, allocations: 1.264 MB / 0.5856 GB, free: 3.266 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.004643/0.2174, allocations: 3.269 MB / 0.5888 GB, free: 15.97 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.889e-05/0.2175, allocations: 0 / 0.5888 GB, free: 15.97 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 2.005e-05/0.2176, allocations: 0 / 0.5888 GB, free: 15.97 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 5.34e-05/0.2177, allocations: 7.844 kB / 0.5888 GB, free: 15.97 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006129/0.2183, allocations: 103.5 kB / 0.5889 GB, free: 15.87 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 8.01e-05/0.2184, allocations: 47.8 kB / 0.589 GB, free: 15.82 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.408e-05/0.2185, allocations: 0 / 0.589 GB, free: 15.82 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 5.214e-05/0.2185, allocations: 15.97 kB / 0.589 GB, free: 15.8 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 7.172e-05/0.2186, allocations: 19.92 kB / 0.589 GB, free: 15.79 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.188e-05/0.2186, allocations: 4 kB / 0.589 GB, free: 15.78 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002826/0.2189, allocations: 79.73 kB / 0.5891 GB, free: 15.7 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 1.691e-05/0.2189, allocations: 4 kB / 0.5891 GB, free: 15.7 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 4.075e-05/0.219, allocations: 23.91 kB / 0.5891 GB, free: 15.68 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0002124/0.2192, allocations: 60.16 kB / 0.5892 GB, free: 15.62 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.228e-06/0.2192, allocations: 0 / 0.5892 GB, free: 15.62 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.803e-06/0.2192, allocations: 0 / 0.5892 GB, free: 15.62 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 8.586e-06/0.2192, allocations: 4 kB / 0.5892 GB, free: 15.61 MB / 0.4981 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.0005102/0.2197, allocations: 355.4 kB / 0.5895 GB, free: 15.22 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.476e-05/0.2198, allocations: 12.03 kB / 0.5895 GB, free: 15.21 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001251/0.2199, allocations: 4.938 kB / 0.5895 GB, free: 15.2 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001243/0.2201, allocations: 164.3 kB / 0.5897 GB, free: 15 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.45e-05/0.2201, allocations: 4.375 kB / 0.5897 GB, free: 15 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.859e-05/0.2201, allocations: 8.359 kB / 0.5897 GB, free: 14.99 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001493/0.2203, allocations: 61.75 kB / 0.5898 GB, free: 14.93 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.745e-06/0.2203, allocations: 0 / 0.5898 GB, free: 14.93 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.651e-05/0.2203, allocations: 7.984 kB / 0.5898 GB, free: 14.92 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.73e-06/0.2203, allocations: 0 / 0.5898 GB, free: 14.92 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.074e-05/0.2204, allocations: 15.98 kB / 0.5898 GB, free: 14.9 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002653/0.2207, allocations: 161.6 kB / 0.5899 GB, free: 14.7 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001013/0.2208, allocations: 54.55 kB / 0.59 GB, free: 14.63 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.255e-05/0.2208, allocations: 16.86 kB / 0.59 GB, free: 14.61 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008072/0.2216, allocations: 0.5987 MB / 0.5906 GB, free: 13.91 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.649e-05/0.2217, allocations: 38.55 kB / 0.5906 GB, free: 13.86 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=5): time 1.112e-06/0.2217, allocations: 0 / 0.5906 GB, free: 13.86 MB / 0.4981 GB Notification: Performance of matching and sorting (n=7): time 0.0006597/0.2224, allocations: 298.1 kB / 0.5909 GB, free: 13.52 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.897e-05/0.2224, allocations: 55.41 kB / 0.591 GB, free: 13.45 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001011/0.2225, allocations: 101.8 kB / 0.5911 GB, free: 13.34 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.015e-05/0.2225, allocations: 29.7 kB / 0.5911 GB, free: 13.3 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 5.012e-05/0.2226, allocations: 88.12 kB / 0.5912 GB, free: 13.21 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001042/0.2227, allocations: 27.56 kB / 0.5912 GB, free: 13.19 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.431e-05/0.2228, allocations: 25.7 kB / 0.5912 GB, free: 13.16 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001969/0.223, allocations: 318.8 kB / 0.5915 GB, free: 12.84 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.381e-05/0.223, allocations: 15.98 kB / 0.5915 GB, free: 12.82 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.633e-05/0.2231, allocations: 53.53 kB / 0.5916 GB, free: 12.75 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.999e-05/0.2232, allocations: 69.08 kB / 0.5917 GB, free: 12.66 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.896e-06/0.2232, allocations: 8 kB / 0.5917 GB, free: 12.66 MB / 0.4981 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001518/0.2233, allocations: 105.6 kB / 0.5918 GB, free: 12.55 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.695e-05/0.2234, allocations: 4 kB / 0.5918 GB, free: 12.54 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.844e-06/0.2234, allocations: 4 kB / 0.5918 GB, free: 12.54 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.43e-05/0.2234, allocations: 0 / 0.5918 GB, free: 12.54 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.13e-05/0.2235, allocations: 19.98 kB / 0.5918 GB, free: 12.52 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.067e-06/0.2235, allocations: 7.938 kB / 0.5918 GB, free: 12.51 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.222e-05/0.2235, allocations: 3.938 kB / 0.5918 GB, free: 12.51 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.247e-05/0.2236, allocations: 8.125 kB / 0.5918 GB, free: 12.5 MB / 0.4981 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001263/0.2237, allocations: 113.8 kB / 0.5919 GB, free: 12.38 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.159e-05/0.2238, allocations: 4 kB / 0.5919 GB, free: 12.38 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.062e-05/0.2238, allocations: 7.969 kB / 0.5919 GB, free: 12.37 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.294e-06/0.2238, allocations: 0 / 0.5919 GB, free: 12.37 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.412e-06/0.2238, allocations: 0 / 0.5919 GB, free: 12.37 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.342e-06/0.2238, allocations: 11.86 kB / 0.5919 GB, free: 12.36 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002658/0.2241, allocations: 173.7 kB / 0.5921 GB, free: 12.14 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.513e-06/0.2241, allocations: 0 / 0.5921 GB, free: 12.14 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.135e-05/0.2242, allocations: 27.92 kB / 0.5921 GB, free: 12.11 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.337e-06/0.2242, allocations: 0 / 0.5921 GB, free: 12.11 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.927e-06/0.2242, allocations: 0 / 0.5921 GB, free: 12.11 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.344e-06/0.2242, allocations: 0 / 0.5921 GB, free: 12.11 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.432e-06/0.2242, allocations: 0 / 0.5921 GB, free: 12.11 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002721/0.2245, allocations: 179.4 kB / 0.5923 GB, free: 11.92 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 4.996e-05/0.2246, allocations: 77.16 kB / 0.5924 GB, free: 11.82 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.975e-05/0.2246, allocations: 11.98 kB / 0.5924 GB, free: 11.81 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001069/0.2247, allocations: 4 kB / 0.5924 GB, free: 11.81 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.171e-05/0.2247, allocations: 4 kB / 0.5924 GB, free: 11.8 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.434e-06/0.2248, allocations: 3.938 kB / 0.5924 GB, free: 11.8 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 6.935e-05/0.2248, allocations: 87.27 kB / 0.5925 GB, free: 11.71 MB / 0.4981 GB Notification: Performance of sort global known variables: time 2.8e-07/0.2248, allocations: 0 / 0.5925 GB, free: 11.71 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002475/0.2251, allocations: 12 kB / 0.5925 GB, free: 11.7 MB / 0.4981 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 (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.0001356/0.2253, allocations: 107.1 kB / 0.5926 GB, free: 11.59 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0001413/0.2254, allocations: 51.91 kB / 0.5927 GB, free: 11.54 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 3.577e-06/0.2254, allocations: 0 / 0.5927 GB, free: 11.54 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 2.503e-05/0.2254, allocations: 11.98 kB / 0.5927 GB, free: 11.52 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003032/0.2258, allocations: 8 kB / 0.5927 GB, free: 11.52 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006596/0.2264, allocations: 326.8 kB / 0.593 GB, free: 11.17 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000315/0.2267, allocations: 0.6845 MB / 0.5937 GB, free: 10.46 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 5.561e-05/0.2268, allocations: 8 kB / 0.5937 GB, free: 10.45 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.918e-05/0.2268, allocations: 11.44 kB / 0.5937 GB, free: 10.44 MB / 0.4981 GB Notification: Performance of SimCode: time 2.2e-07/0.2269, allocations: 0 / 0.5937 GB, free: 10.44 MB / 0.4981 GB Notification: Performance of Templates: time 0.003389/0.2302, allocations: 0.614 MB / 0.5943 GB, free: 9.828 MB / 0.4981 GB 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)