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.001128/0.001128, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.00135/0.001349, allocations: 198.1 kB / 16.14 MB, free: 6.711 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.353/1.353, allocations: 222.9 MB / 239.8 MB, free: 4.621 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9194/0.9194, allocations: 135.1 MB / 425.1 MB, free: 11.88 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001319/0.001319, allocations: 68.39 kB / 0.5047 GB, free: 5.809 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2096/0.2109, allocations: 80.92 MB / 0.5837 GB, free: 5.055 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Media.Examples.WaterDerivativeCheck): time 0.002424/0.2134, allocations: 1.321 MB / 0.585 GB, free: 3.715 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.003511/0.2169, allocations: 3.239 MB / 0.5881 GB, free: 468 kB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.209e-05/0.217, allocations: 0 / 0.5881 GB, free: 468 kB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 2.294e-05/0.217, allocations: 0 / 0.5881 GB, free: 468 kB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 5.316e-05/0.2171, allocations: 7.969 kB / 0.5882 GB, free: 460 kB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004738/0.2175, allocations: 99.61 kB / 0.5882 GB, free: 360 kB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 6.233e-05/0.2176, allocations: 31.86 kB / 0.5883 GB, free: 328 kB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.157e-05/0.2177, allocations: 4 kB / 0.5883 GB, free: 324 kB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.336e-05/0.2177, allocations: 19.97 kB / 0.5883 GB, free: 304 kB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.776e-05/0.2178, allocations: 19.92 kB / 0.5883 GB, free: 284 kB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.183e-05/0.2178, allocations: 0 / 0.5883 GB, free: 284 kB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002201/0.218, allocations: 75.8 kB / 0.5884 GB, free: 208 kB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.47e-05/0.218, allocations: 4 kB / 0.5884 GB, free: 204 kB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 3.406e-05/0.2181, allocations: 15.92 kB / 0.5884 GB, free: 188 kB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001882/0.2183, allocations: 76.08 kB / 0.5885 GB, free: 112 kB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.308e-06/0.2183, allocations: 0 / 0.5885 GB, free: 112 kB / 494.1 MB Notification: Performance of FrontEnd: time 1.022e-06/0.2183, allocations: 0 / 0.5885 GB, free: 112 kB / 494.1 MB Notification: Performance of Transformations before backend: time 5.69e-06/0.2183, allocations: 0 / 0.5885 GB, free: 112 kB / 494.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.0004456/0.2188, allocations: 351.4 kB / 0.5888 GB, free: 15.72 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.251e-05/0.2188, allocations: 8.031 kB / 0.5888 GB, free: 15.71 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001258/0.2189, allocations: 8.938 kB / 0.5888 GB, free: 15.7 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001266/0.2191, allocations: 172.3 kB / 0.589 GB, free: 15.5 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.388e-05/0.2191, allocations: 4.375 kB / 0.589 GB, free: 15.49 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.519e-05/0.2191, allocations: 8.375 kB / 0.589 GB, free: 15.48 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001452/0.2193, allocations: 57.8 kB / 0.5891 GB, free: 15.42 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.165e-06/0.2193, allocations: 3.938 kB / 0.5891 GB, free: 15.42 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.259e-05/0.2193, allocations: 0 / 0.5891 GB, free: 15.42 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.796e-06/0.2193, allocations: 4 kB / 0.5891 GB, free: 15.41 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.113e-05/0.2194, allocations: 27.89 kB / 0.5891 GB, free: 15.39 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000196/0.2196, allocations: 169.5 kB / 0.5893 GB, free: 15.17 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000103/0.2197, allocations: 54.56 kB / 0.5893 GB, free: 15.11 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.05e-05/0.2197, allocations: 16.84 kB / 0.5893 GB, free: 15.09 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006988/0.2204, allocations: 0.5869 MB / 0.5899 GB, free: 14.39 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.538e-05/0.2205, allocations: 38.5 kB / 0.5899 GB, free: 14.35 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=5): time 1.032e-06/0.2205, allocations: 0 / 0.5899 GB, free: 14.35 MB / 0.4981 GB Notification: Performance of matching and sorting (n=7): time 0.0005913/0.2211, allocations: 310.4 kB / 0.5902 GB, free: 13.99 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.74e-05/0.2211, allocations: 51.41 kB / 0.5903 GB, free: 13.93 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.213e-05/0.2212, allocations: 97.86 kB / 0.5904 GB, free: 13.82 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.51e-05/0.2212, allocations: 25.7 kB / 0.5904 GB, free: 13.79 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 4.336e-05/0.2213, allocations: 84.14 kB / 0.5905 GB, free: 13.71 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.436e-05/0.2213, allocations: 31.55 kB / 0.5905 GB, free: 13.68 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.716e-05/0.2214, allocations: 25.7 kB / 0.5905 GB, free: 13.64 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001063/0.2215, allocations: 326.8 kB / 0.5909 GB, free: 13.32 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.651e-05/0.2215, allocations: 8 kB / 0.5909 GB, free: 13.31 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.465e-05/0.2216, allocations: 53.14 kB / 0.5909 GB, free: 13.24 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.895e-05/0.2217, allocations: 77.02 kB / 0.591 GB, free: 13.14 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.12e-07/0.2217, allocations: 0 / 0.591 GB, free: 13.14 MB / 0.4981 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001297/0.2218, allocations: 101.7 kB / 0.5911 GB, free: 13.04 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.649e-05/0.2218, allocations: 9.969 kB / 0.5911 GB, free: 13.03 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.41e-06/0.2218, allocations: 0 / 0.5911 GB, free: 13.03 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.351e-05/0.2218, allocations: 4 kB / 0.5911 GB, free: 13.03 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.174e-05/0.2219, allocations: 19.98 kB / 0.5911 GB, free: 13.01 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.758e-06/0.2219, allocations: 8.125 kB / 0.5911 GB, free: 13 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.17e-05/0.222, allocations: 11.86 kB / 0.5911 GB, free: 12.99 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.233e-06/0.222, allocations: 4.438 kB / 0.5911 GB, free: 12.98 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 8.236e-05/0.2221, allocations: 113.8 kB / 0.5912 GB, free: 12.86 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.49e-05/0.2221, allocations: 0 / 0.5912 GB, free: 12.86 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.147e-05/0.2222, allocations: 11.97 kB / 0.5913 GB, free: 12.85 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.342e-06/0.2222, allocations: 0 / 0.5913 GB, free: 12.85 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.779e-06/0.2222, allocations: 0 / 0.5913 GB, free: 12.85 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.272e-06/0.2222, allocations: 7.938 kB / 0.5913 GB, free: 12.84 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000229/0.2224, allocations: 177.7 kB / 0.5914 GB, free: 12.62 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.142e-06/0.2224, allocations: 0 / 0.5914 GB, free: 12.62 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.292e-05/0.2225, allocations: 19.98 kB / 0.5915 GB, free: 12.6 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.993e-06/0.2225, allocations: 0 / 0.5915 GB, free: 12.6 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.746e-06/0.2225, allocations: 0 / 0.5915 GB, free: 12.6 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.413e-06/0.2225, allocations: 0 / 0.5915 GB, free: 12.6 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.836e-06/0.2225, allocations: 3.938 kB / 0.5915 GB, free: 12.6 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001743/0.2227, allocations: 183.3 kB / 0.5916 GB, free: 12.4 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 4.99e-05/0.2228, allocations: 81.11 kB / 0.5917 GB, free: 12.3 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.606e-05/0.2228, allocations: 8.031 kB / 0.5917 GB, free: 12.3 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001027/0.2229, allocations: 4 kB / 0.5917 GB, free: 12.29 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.065e-05/0.2229, allocations: 4 kB / 0.5917 GB, free: 12.29 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.133e-06/0.223, allocations: 3.938 kB / 0.5917 GB, free: 12.29 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 4.244e-05/0.223, allocations: 87.27 kB / 0.5918 GB, free: 12.2 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.51e-07/0.223, allocations: 0 / 0.5918 GB, free: 12.2 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002273/0.2232, allocations: 8 kB / 0.5918 GB, free: 12.19 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.0001348/0.2234, allocations: 107.2 kB / 0.5919 GB, free: 12.07 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0001109/0.2235, allocations: 39.86 kB / 0.592 GB, free: 12.04 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.425e-06/0.2235, allocations: 0 / 0.592 GB, free: 12.04 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 3.231e-05/0.2235, allocations: 19.98 kB / 0.592 GB, free: 12.02 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003153/0.2239, allocations: 9.266 kB / 0.592 GB, free: 12.01 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000579/0.2245, allocations: 332.3 kB / 0.5923 GB, free: 11.66 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002319/0.2247, allocations: 0.6888 MB / 0.593 GB, free: 10.94 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 5.013e-05/0.2248, allocations: 0 / 0.593 GB, free: 10.94 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.297e-05/0.2248, allocations: 15.44 kB / 0.593 GB, free: 10.93 MB / 0.4981 GB Notification: Performance of SimCode: time 2.21e-07/0.2248, allocations: 0 / 0.593 GB, free: 10.93 MB / 0.4981 GB Notification: Performance of Templates: time 0.002854/0.2276, allocations: 0.5964 MB / 0.5936 GB, free: 10.33 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)