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.0009345/0.0009345, allocations: 80.88 kB / 19.94 MB, free: 4.547 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.0009412/0.0009412, allocations: 181 kB / 23.36 MB, free: 1.133 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.9291/0.9291, allocations: 177.2 MB / 203.8 MB, free: 5.477 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.8345/0.8345, 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.383e-06/1.383e-06, allocations: 0 / 480.3 MB, free: 6.57 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.872e-05/2.01e-05, allocations: 4.547 kB / 480.3 MB, free: 6.566 MB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Media.Examples.WaterDerivativeCheck): time 0.001732/0.001753, allocations: 1.3 MB / 481.6 MB, free: 5.289 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.002684/0.004437, allocations: 3.37 MB / 485 MB, free: 1.941 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.746e-05/0.004464, allocations: 0.5938 kB / 485 MB, free: 1.941 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 2.124e-05/0.004486, allocations: 3.984 kB / 485 MB, free: 1.938 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 3.991e-05/0.004526, allocations: 9.375 kB / 485 MB, free: 1.93 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004094/0.004935, allocations: 112.1 kB / 485.1 MB, free: 1.82 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 6.441e-05/0.004999, allocations: 35.84 kB / 485.1 MB, free: 1.785 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.215e-05/0.005032, allocations: 9.438 kB / 485.2 MB, free: 1.777 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.216e-05/0.005084, allocations: 31.91 kB / 485.2 MB, free: 1.746 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.987e-05/0.005134, allocations: 11.97 kB / 485.2 MB, free: 1.734 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 1.012e-05/0.005144, allocations: 4 kB / 485.2 MB, free: 1.73 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001381/0.005282, allocations: 64.59 kB / 485.3 MB, free: 1.668 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 1.341e-05/0.005295, allocations: 12.7 kB / 485.3 MB, free: 1.656 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 1.822e-05/0.005313, allocations: 11.98 kB / 485.3 MB, free: 1.645 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001192/0.005433, allocations: 72.52 kB / 485.4 MB, free: 1.574 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.764e-06/0.005434, allocations: 0 / 485.4 MB, free: 1.574 MB / 442.7 MB Notification: Performance of FrontEnd: time 7.81e-07/0.005435, allocations: 0 / 485.4 MB, free: 1.574 MB / 442.7 MB Notification: Performance of Transformations before backend: time 3.126e-06/0.005438, allocations: 0.625 kB / 485.4 MB, free: 1.574 MB / 442.7 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.0002369/0.005675, allocations: 245.2 kB / 485.6 MB, free: 1.312 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.804e-05/0.005703, allocations: 13.03 kB / 485.6 MB, free: 1.301 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.683e-05/0.00578, allocations: 12.86 kB / 485.6 MB, free: 1.289 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.954e-05/0.00585, allocations: 106.9 kB / 485.7 MB, free: 1.16 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.626e-06/0.005858, allocations: 384 / 485.7 MB, free: 1.16 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.099e-05/0.005879, allocations: 12.67 kB / 485.7 MB, free: 1.148 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.522e-05/0.005974, allocations: 131.9 kB / 485.9 MB, free: 0.9961 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.132e-06/0.005981, allocations: 192 / 485.9 MB, free: 0.9961 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.927e-06/0.00599, allocations: 9.312 kB / 485.9 MB, free: 0.9883 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.619e-06/0.005994, allocations: 0 / 485.9 MB, free: 0.9883 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.589e-05/0.00602, allocations: 16.55 kB / 485.9 MB, free: 0.9727 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 8.012e-05/0.0061, allocations: 68.98 kB / 486 MB, free: 0.8906 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.584e-05/0.006156, allocations: 45.53 kB / 486 MB, free: 0.8398 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.356e-05/0.00617, allocations: 9.719 kB / 486 MB, free: 0.8281 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00032/0.00649, allocations: 220.9 kB / 486.2 MB, free: 0.5977 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.111e-05/0.006511, allocations: 38.48 kB / 486.3 MB, free: 0.5508 MB / 442.7 MB Notification: Performance of pre-optimization done (n=5): time 9.61e-07/0.006512, allocations: 0.7812 kB / 486.3 MB, free: 0.5508 MB / 442.7 MB Notification: Performance of matching and sorting (n=7): time 0.000361/0.006873, allocations: 243 kB / 486.5 MB, free: 288 kB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.323e-05/0.006896, allocations: 52.31 kB / 486.6 MB, free: 224 kB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.736e-05/0.006943, allocations: 106.7 kB / 486.7 MB, free: 104 kB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 8.917e-06/0.006952, allocations: 25.7 kB / 486.7 MB, free: 72 kB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.166e-05/0.006994, allocations: 93.08 kB / 486.8 MB, free: 15.98 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.299e-05/0.007007, allocations: 23.75 kB / 486.8 MB, free: 15.95 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.822e-05/0.007035, allocations: 30.31 kB / 486.8 MB, free: 15.92 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 6.549e-05/0.007101, allocations: 318.8 kB / 487.1 MB, free: 15.6 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.596e-06/0.007109, allocations: 4.656 kB / 487.2 MB, free: 15.59 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.847e-05/0.007138, allocations: 49.12 kB / 487.2 MB, free: 15.53 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.897e-05/0.007187, allocations: 70.67 kB / 487.3 MB, free: 15.44 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.72e-07/0.007188, allocations: 1.75 kB / 487.3 MB, free: 15.44 MB / 458.7 MB Notification: Performance of matching and sorting (n=12) (initialization): time 6.877e-05/0.007256, allocations: 78.42 kB / 487.3 MB, free: 15.36 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.128e-05/0.007268, allocations: 9.188 kB / 487.4 MB, free: 15.35 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.637e-06/0.007271, allocations: 0 / 487.4 MB, free: 15.35 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.009e-05/0.007281, allocations: 0 / 487.4 MB, free: 15.35 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.487e-05/0.007326, allocations: 23.98 kB / 487.4 MB, free: 15.33 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.348e-06/0.007331, allocations: 4.656 kB / 487.4 MB, free: 15.32 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.968e-05/0.00735, allocations: 8 kB / 487.4 MB, free: 15.32 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.657e-06/0.007354, allocations: 0.75 kB / 487.4 MB, free: 15.32 MB / 458.7 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.799e-05/0.007402, allocations: 115.8 kB / 487.5 MB, free: 15.2 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.538e-05/0.007417, allocations: 7.938 kB / 487.5 MB, free: 15.19 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.096e-05/0.007438, allocations: 17.08 kB / 487.5 MB, free: 15.17 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.747e-06/0.007442, allocations: 4 kB / 487.5 MB, free: 15.16 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.523e-06/0.007443, allocations: 0 / 487.5 MB, free: 15.16 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.324e-06/0.007446, allocations: 1.281 kB / 487.5 MB, free: 15.16 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001145/0.00756, allocations: 77.89 kB / 487.6 MB, free: 15.07 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.12e-07/0.007561, allocations: 448 / 487.6 MB, free: 15.07 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.188e-05/0.007603, allocations: 15.94 kB / 487.6 MB, free: 15.05 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.304e-06/0.007605, allocations: 4.828 kB / 487.6 MB, free: 15.05 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.913e-06/0.007612, allocations: 7.938 kB / 487.6 MB, free: 15.04 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.653e-06/0.007614, allocations: 4.5 kB / 487.6 MB, free: 15.04 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.82e-07/0.007615, allocations: 0.7188 kB / 487.6 MB, free: 15.04 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001014/0.007716, allocations: 159.5 kB / 487.8 MB, free: 14.87 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.728e-05/0.007733, allocations: 5.344 kB / 487.8 MB, free: 14.86 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.877e-06/0.007742, allocations: 5.016 kB / 487.8 MB, free: 14.86 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.274e-05/0.007785, allocations: 7.984 kB / 487.8 MB, free: 14.85 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.101e-05/0.007796, allocations: 4.5 kB / 487.8 MB, free: 14.85 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.697e-06/0.0078, allocations: 0 / 487.8 MB, free: 14.85 MB / 458.7 MB Notification: Performance of sorting global known variables: time 9.959e-06/0.00781, allocations: 17.42 kB / 487.8 MB, free: 14.83 MB / 458.7 MB Notification: Performance of sort global known variables: time 5e-08/0.00781, allocations: 1.438 kB / 487.8 MB, free: 14.83 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.0001245/0.007934, allocations: 12 kB / 487.9 MB, free: 14.82 MB / 458.7 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 7.734e-05/0.008011, allocations: 82.19 kB / 487.9 MB, free: 14.73 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 5.778e-05/0.008069, allocations: 41.5 kB / 488 MB, free: 14.69 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 2.415e-06/0.008072, allocations: 0.875 kB / 488 MB, free: 14.69 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 1.243e-05/0.008084, allocations: 16.86 kB / 488 MB, free: 14.67 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001078/0.008192, allocations: 15.95 kB / 488 MB, free: 14.66 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004248/0.008617, allocations: 230.3 kB / 488.2 MB, free: 14.43 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.18e-05/0.008648, allocations: 59.34 kB / 488.3 MB, free: 14.36 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 3.033e-05/0.008679, allocations: 7.469 kB / 488.3 MB, free: 14.35 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.021e-05/0.008729, allocations: 63.36 kB / 488.4 MB, free: 14.29 MB / 458.7 MB Notification: Performance of SimCode: time 4.91e-07/0.008729, allocations: 4.781 kB / 488.4 MB, free: 14.29 MB / 458.7 MB Notification: Performance of Templates: time 0.002024/0.01075, allocations: 0.702 MB / 489.1 MB, free: 13.63 MB / 458.7 MB " [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.5775408162735403]