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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001149/0.001149, allocations: 82.05 kB / 19.87 MB, free: 4.617 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001173/0.001173, allocations: 170 kB / 23.27 MB, free: 1.223 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.945/0.945, allocations: 177.1 MB / 203.7 MB, free: 5.516 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-535:34:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-535:42:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo): time 0.7795/0.7795, allocations: 154.9 MB / 415.1 MB, free: 248 kB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Utilities/Cryptographics/BaseClasses/sha.mo:2:1-19:8:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Utilities/File/sha2.mo:2:1-9:9:writable] Warning: External function annotation should occur on the external-clause, not on the function. " [Timeout remaining time 179] Using package IDEAS with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(IDEAS.Media.Examples.WaterDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Media.Examples.WaterDerivativeCheck") translateModel(IDEAS.Media.Examples.WaterDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Media.Examples.WaterDerivativeCheck") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.904e-06/1.904e-06, allocations: 0 / 0.5211 GB, free: 1.566 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.11e-05/2.3e-05, allocations: 4.922 kB / 0.5211 GB, free: 1.562 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Media.Examples.WaterDerivativeCheck): time 0.001707/0.00173, allocations: 1.298 MB / 0.5223 GB, free: 284 kB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.003214/0.004944, allocations: 3.348 MB / 0.5256 GB, free: 12.92 MB / 0.4948 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.883e-05/0.004983, allocations: 0 / 0.5256 GB, free: 12.92 MB / 0.4948 GB Notification: Performance of NFTyping.typeComponents: time 2.019e-05/0.005003, allocations: 1.031 kB / 0.5256 GB, free: 12.92 MB / 0.4948 GB Notification: Performance of NFTyping.typeBindings: time 4.717e-05/0.00505, allocations: 0 / 0.5256 GB, free: 12.92 MB / 0.4948 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005309/0.005581, allocations: 116.7 kB / 0.5257 GB, free: 12.81 MB / 0.4948 GB Notification: Performance of NFFlatten.flatten: time 7.6e-05/0.005657, allocations: 35.84 kB / 0.5258 GB, free: 12.77 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 3.067e-05/0.005687, allocations: 11.2 kB / 0.5258 GB, free: 12.77 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 5.545e-05/0.005743, allocations: 19.98 kB / 0.5258 GB, free: 12.75 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 5.659e-05/0.005799, allocations: 19.97 kB / 0.5258 GB, free: 12.73 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 1.037e-05/0.00581, allocations: 0 / 0.5258 GB, free: 12.73 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001697/0.00598, allocations: 63.77 kB / 0.5259 GB, free: 12.66 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 1.514e-05/0.005995, allocations: 11.97 kB / 0.5259 GB, free: 12.65 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 1.908e-05/0.006014, allocations: 11.94 kB / 0.5259 GB, free: 12.64 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.0001444/0.006158, allocations: 71.78 kB / 0.526 GB, free: 12.57 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 2.154e-06/0.00616, allocations: 0.875 kB / 0.526 GB, free: 12.57 MB / 0.4948 GB Notification: Performance of FrontEnd: time 7.92e-07/0.006161, allocations: 0 / 0.526 GB, free: 12.57 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 4.959e-06/0.006166, allocations: 0.5625 kB / 0.526 GB, free: 12.57 MB / 0.4948 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.0003035/0.00647, allocations: 369.2 kB / 0.5263 GB, free: 12.18 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 3.94e-05/0.006509, allocations: 16.02 kB / 0.5263 GB, free: 12.16 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.057e-05/0.0066, allocations: 14.77 kB / 0.5263 GB, free: 12.15 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.32e-05/0.006663, allocations: 112.6 kB / 0.5265 GB, free: 12.01 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.087e-06/0.006672, allocations: 384 / 0.5265 GB, free: 12.01 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.024e-05/0.006692, allocations: 16.36 kB / 0.5265 GB, free: 12 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001076/0.0068, allocations: 124.2 kB / 0.5266 GB, free: 11.85 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.781e-06/0.006805, allocations: 192 / 0.5266 GB, free: 11.85 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.137e-06/0.006815, allocations: 8.125 kB / 0.5266 GB, free: 11.84 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.017e-06/0.006819, allocations: 2.031 kB / 0.5266 GB, free: 11.84 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.514e-05/0.006844, allocations: 11.98 kB / 0.5266 GB, free: 11.83 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001119/0.006956, allocations: 113.2 kB / 0.5267 GB, free: 11.7 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 6.5e-05/0.007021, allocations: 54.98 kB / 0.5268 GB, free: 11.63 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.747e-05/0.007038, allocations: 15.67 kB / 0.5268 GB, free: 11.61 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004168/0.007455, allocations: 293.5 kB / 0.5271 GB, free: 11.3 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.464e-05/0.00748, allocations: 42.11 kB / 0.5271 GB, free: 11.25 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=5): time 1.122e-06/0.007481, allocations: 0 / 0.5271 GB, free: 11.25 MB / 0.4948 GB Notification: Performance of matching and sorting (n=7): time 0.0003993/0.00788, allocations: 226.9 kB / 0.5273 GB, free: 10.99 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.204e-05/0.007912, allocations: 55.41 kB / 0.5274 GB, free: 10.93 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.657e-05/0.007999, allocations: 163.3 kB / 0.5275 GB, free: 10.75 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 1.503e-05/0.008014, allocations: 29.7 kB / 0.5276 GB, free: 10.71 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 5.755e-05/0.008071, allocations: 130.8 kB / 0.5277 GB, free: 10.58 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 2.158e-05/0.008093, allocations: 35.72 kB / 0.5277 GB, free: 10.55 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.325e-05/0.008126, allocations: 28.94 kB / 0.5277 GB, free: 10.51 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001235/0.008249, allocations: 496.1 kB / 0.5282 GB, free: 10.02 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.508e-05/0.008265, allocations: 11.98 kB / 0.5282 GB, free: 10 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.117e-05/0.008306, allocations: 61.72 kB / 0.5283 GB, free: 9.922 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.402e-05/0.00837, allocations: 88.73 kB / 0.5284 GB, free: 9.812 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.463e-06/0.008371, allocations: 0 / 0.5284 GB, free: 9.812 MB / 0.4948 GB Notification: Performance of matching and sorting (n=12) (initialization): time 9.374e-05/0.008465, allocations: 99.47 kB / 0.5285 GB, free: 9.711 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.238e-05/0.008477, allocations: 4 kB / 0.5285 GB, free: 9.707 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.703e-06/0.008484, allocations: 4 kB / 0.5285 GB, free: 9.703 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.899e-06/0.008494, allocations: 0 / 0.5285 GB, free: 9.703 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.067e-05/0.008545, allocations: 19.98 kB / 0.5285 GB, free: 9.684 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.53e-06/0.00855, allocations: 8.062 kB / 0.5285 GB, free: 9.676 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.996e-05/0.00857, allocations: 5.156 kB / 0.5285 GB, free: 9.672 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.731e-06/0.008576, allocations: 8 kB / 0.5285 GB, free: 9.664 MB / 0.4948 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 6.999e-05/0.008646, allocations: 157.3 kB / 0.5287 GB, free: 9.5 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.874e-05/0.008665, allocations: 12.59 kB / 0.5287 GB, free: 9.488 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.472e-05/0.008689, allocations: 16.09 kB / 0.5287 GB, free: 9.473 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.733e-06/0.008691, allocations: 3.312 kB / 0.5287 GB, free: 9.473 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.934e-06/0.008693, allocations: 4 kB / 0.5287 GB, free: 9.469 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.605e-06/0.008696, allocations: 0 / 0.5287 GB, free: 9.469 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001341/0.00883, allocations: 109.2 kB / 0.5288 GB, free: 9.336 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.212e-06/0.008831, allocations: 0 / 0.5288 GB, free: 9.336 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.499e-05/0.008876, allocations: 20 kB / 0.5288 GB, free: 9.316 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.727e-06/0.00888, allocations: 7.922 kB / 0.5288 GB, free: 9.309 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.758e-06/0.008884, allocations: 0 / 0.5288 GB, free: 9.309 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.663e-06/0.008886, allocations: 448 / 0.5288 GB, free: 9.309 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/0.008887, allocations: 7.031 kB / 0.5288 GB, free: 9.305 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001463/0.009033, allocations: 211.9 kB / 0.529 GB, free: 9.078 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 2.15e-05/0.009055, allocations: 7.984 kB / 0.529 GB, free: 9.07 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.16e-05/0.009067, allocations: 11.94 kB / 0.5291 GB, free: 9.059 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.487e-05/0.009111, allocations: 4 kB / 0.5291 GB, free: 9.055 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.239e-05/0.009124, allocations: 3.984 kB / 0.5291 GB, free: 9.051 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.619e-06/0.009128, allocations: 4 kB / 0.5291 GB, free: 9.047 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 3.658e-05/0.009165, allocations: 119.2 kB / 0.5292 GB, free: 8.93 MB / 0.4948 GB Notification: Performance of sort global known variables: time 5e-08/0.009165, allocations: 1.812 kB / 0.5292 GB, free: 8.93 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0001505/0.009316, allocations: 16 kB / 0.5292 GB, free: 8.914 MB / 0.4948 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.000105/0.009421, allocations: 104.1 kB / 0.5293 GB, free: 8.801 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 6.99e-05/0.00949, allocations: 42 kB / 0.5293 GB, free: 8.758 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 2.004e-06/0.009492, allocations: 0 / 0.5293 GB, free: 8.758 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 1.718e-05/0.00951, allocations: 27.66 kB / 0.5294 GB, free: 8.727 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001539/0.009664, allocations: 8 kB / 0.5294 GB, free: 8.719 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008953/0.01056, allocations: 274.4 kB / 0.5296 GB, free: 8.477 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.301e-05/0.0106, allocations: 67.14 kB / 0.5297 GB, free: 8.391 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 3.71e-05/0.01064, allocations: 7.438 kB / 0.5297 GB, free: 8.387 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.59e-05/0.0107, allocations: 86.19 kB / 0.5298 GB, free: 8.301 MB / 0.4948 GB Notification: Performance of SimCode: time 8.72e-07/0.01071, allocations: 0.5625 kB / 0.5298 GB, free: 8.301 MB / 0.4948 GB Notification: Performance of Templates: time 0.002686/0.01339, allocations: 0.6934 MB / 0.5305 GB, free: 7.645 MB / 0.4948 GB " [Timeout remaining time 660] make -j1 -f IDEAS_dev_IDEAS.Media.Examples.WaterDerivativeCheck.makefile [Timeout 660] (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=240 -lv LOG_STATS > IDEAS_dev_IDEAS.Media.Examples.WaterDerivativeCheck.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.6010218700394034]