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.0009693/0.0009693, allocations: 93.06 kB / 19.65 MB, free: 280 kB / 13.93 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.0009175/0.0009175, allocations: 169 kB / 23.02 MB, free: 1.547 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.946/0.946, allocations: 177.1 MB / 203.4 MB, free: 5.633 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.7618/0.7618, allocations: 154.9 MB / 414.8 MB, free: 408 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.252e-06/1.252e-06, allocations: 0 / 0.5206 GB, free: 1.875 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.036e-05/2.161e-05, allocations: 4.281 kB / 0.5206 GB, free: 1.871 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Media.Examples.WaterDerivativeCheck): time 0.001634/0.001655, allocations: 1.297 MB / 0.5219 GB, free: 0.5859 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.003021/0.004676, allocations: 3.378 MB / 0.5252 GB, free: 13.2 MB / 0.4948 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.637e-05/0.004713, allocations: 1.469 kB / 0.5252 GB, free: 13.2 MB / 0.4948 GB Notification: Performance of NFTyping.typeComponents: time 2.523e-05/0.004738, allocations: 3.938 kB / 0.5252 GB, free: 13.2 MB / 0.4948 GB Notification: Performance of NFTyping.typeBindings: time 4.839e-05/0.004786, allocations: 3.938 kB / 0.5252 GB, free: 13.19 MB / 0.4948 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005611/0.005347, allocations: 112.7 kB / 0.5253 GB, free: 13.08 MB / 0.4948 GB Notification: Performance of NFFlatten.flatten: time 8.481e-05/0.005432, allocations: 31.91 kB / 0.5253 GB, free: 13.05 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 3.738e-05/0.00547, allocations: 4.906 kB / 0.5254 GB, free: 13.05 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 6.503e-05/0.005535, allocations: 27.91 kB / 0.5254 GB, free: 13.02 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 6.129e-05/0.005596, allocations: 14.98 kB / 0.5254 GB, free: 13.01 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 1.41e-05/0.00561, allocations: 4 kB / 0.5254 GB, free: 13 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001829/0.005793, allocations: 67.73 kB / 0.5255 GB, free: 12.94 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 1.411e-05/0.005807, allocations: 8 kB / 0.5255 GB, free: 12.93 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 2.324e-05/0.00583, allocations: 11.98 kB / 0.5255 GB, free: 12.92 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.0001553/0.005986, allocations: 79.66 kB / 0.5256 GB, free: 12.84 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 2.545e-06/0.005988, allocations: 0 / 0.5256 GB, free: 12.84 MB / 0.4948 GB Notification: Performance of FrontEnd: time 5.81e-07/0.005989, allocations: 0 / 0.5256 GB, free: 12.84 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 3.907e-06/0.005993, allocations: 0.5625 kB / 0.5256 GB, free: 12.84 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.0003501/0.006343, allocations: 368.8 kB / 0.5259 GB, free: 12.45 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 3.986e-05/0.006383, allocations: 12.81 kB / 0.5259 GB, free: 12.43 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001224/0.006505, allocations: 13.17 kB / 0.5259 GB, free: 12.42 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.526e-05/0.00657, allocations: 109.2 kB / 0.526 GB, free: 12.29 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.146e-05/0.006582, allocations: 5.844 kB / 0.526 GB, free: 12.29 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.149e-05/0.006603, allocations: 4.375 kB / 0.526 GB, free: 12.28 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000123/0.006726, allocations: 135.3 kB / 0.5262 GB, free: 12.12 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.663e-06/0.006733, allocations: 192 / 0.5262 GB, free: 12.12 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.23e-05/0.006745, allocations: 9.062 kB / 0.5262 GB, free: 12.12 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.394e-06/0.006753, allocations: 4 kB / 0.5262 GB, free: 12.11 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.549e-05/0.006788, allocations: 18.88 kB / 0.5262 GB, free: 12.1 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001207/0.006909, allocations: 120.6 kB / 0.5263 GB, free: 11.95 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 7.552e-05/0.006984, allocations: 51.05 kB / 0.5264 GB, free: 11.88 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.19e-05/0.007006, allocations: 23.61 kB / 0.5264 GB, free: 11.86 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004332/0.007439, allocations: 296.8 kB / 0.5267 GB, free: 11.54 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.305e-05/0.007462, allocations: 33.39 kB / 0.5267 GB, free: 11.5 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=5): time 1.232e-06/0.007464, allocations: 0 / 0.5267 GB, free: 11.5 MB / 0.4948 GB Notification: Performance of matching and sorting (n=7): time 0.0004356/0.007899, allocations: 240.4 kB / 0.5269 GB, free: 11.23 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.783e-05/0.007927, allocations: 51.41 kB / 0.527 GB, free: 11.17 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.324e-05/0.008, allocations: 157.9 kB / 0.5271 GB, free: 11 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 1.132e-05/0.008012, allocations: 29.7 kB / 0.5272 GB, free: 10.96 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 4.634e-05/0.008058, allocations: 134.8 kB / 0.5273 GB, free: 10.82 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 1.401e-05/0.008072, allocations: 23.78 kB / 0.5273 GB, free: 10.8 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.131e-05/0.008103, allocations: 35.95 kB / 0.5274 GB, free: 10.76 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.000112/0.008215, allocations: 0.4922 MB / 0.5278 GB, free: 10.25 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.75e-05/0.008233, allocations: 9.219 kB / 0.5278 GB, free: 10.25 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.363e-05/0.008276, allocations: 66.55 kB / 0.5279 GB, free: 10.16 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.778e-05/0.008344, allocations: 92.53 kB / 0.528 GB, free: 10.04 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.012e-06/0.008345, allocations: 0 / 0.528 GB, free: 10.04 MB / 0.4948 GB Notification: Performance of matching and sorting (n=12) (initialization): time 9.147e-05/0.008437, allocations: 99.98 kB / 0.5281 GB, free: 9.941 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.176e-05/0.008448, allocations: 4 kB / 0.5281 GB, free: 9.938 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.422e-06/0.008455, allocations: 4 kB / 0.5281 GB, free: 9.934 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.12e-05/0.008466, allocations: 0 / 0.5281 GB, free: 9.934 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.143e-05/0.008517, allocations: 23.92 kB / 0.5281 GB, free: 9.91 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.853e-06/0.008524, allocations: 4 kB / 0.5281 GB, free: 9.906 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.92e-05/0.008543, allocations: 0 / 0.5281 GB, free: 9.906 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.582e-06/0.00855, allocations: 14.47 kB / 0.5281 GB, free: 9.895 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 7.221e-05/0.008622, allocations: 164.5 kB / 0.5283 GB, free: 9.723 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.931e-05/0.008642, allocations: 11.95 kB / 0.5283 GB, free: 9.711 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.452e-05/0.008666, allocations: 8.125 kB / 0.5283 GB, free: 9.703 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.454e-06/0.008669, allocations: 4 kB / 0.5283 GB, free: 9.699 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.917e-06/0.008672, allocations: 0 / 0.5283 GB, free: 9.699 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.806e-06/0.008675, allocations: 1 kB / 0.5283 GB, free: 9.699 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001378/0.008813, allocations: 132.6 kB / 0.5284 GB, free: 9.535 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.238e-06/0.008817, allocations: 8.953 kB / 0.5285 GB, free: 9.527 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.586e-05/0.008863, allocations: 12 kB / 0.5285 GB, free: 9.516 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.683e-06/0.008865, allocations: 0 / 0.5285 GB, free: 9.516 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.665e-06/0.008873, allocations: 2.656 kB / 0.5285 GB, free: 9.516 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.052e-06/0.008874, allocations: 0 / 0.5285 GB, free: 9.516 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.008875, allocations: 0 / 0.5285 GB, free: 9.516 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001774/0.009052, allocations: 223.8 kB / 0.5287 GB, free: 9.277 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 2.214e-05/0.009074, allocations: 7.953 kB / 0.5287 GB, free: 9.27 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.295e-05/0.009087, allocations: 7.984 kB / 0.5287 GB, free: 9.262 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.447e-05/0.009132, allocations: 0 / 0.5287 GB, free: 9.262 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.335e-05/0.009155, allocations: 7.781 kB / 0.5287 GB, free: 9.258 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.999e-06/0.00916, allocations: 0 / 0.5287 GB, free: 9.258 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 4.271e-05/0.009203, allocations: 131.2 kB / 0.5288 GB, free: 9.129 MB / 0.4948 GB Notification: Performance of sort global known variables: time 5e-08/0.009203, allocations: 0 / 0.5288 GB, free: 9.129 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0001601/0.009363, allocations: 8 kB / 0.5288 GB, free: 9.121 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.0001055/0.009468, allocations: 99.28 kB / 0.5289 GB, free: 9.012 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0001157/0.009584, allocations: 57.23 kB / 0.529 GB, free: 8.957 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.503e-06/0.009586, allocations: 0 / 0.529 GB, free: 8.957 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 2.19e-05/0.009607, allocations: 23.62 kB / 0.529 GB, free: 8.93 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001727/0.00978, allocations: 11.94 kB / 0.529 GB, free: 8.918 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005721/0.01035, allocations: 265.6 kB / 0.5293 GB, free: 8.684 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.376e-05/0.0104, allocations: 63.22 kB / 0.5293 GB, free: 8.602 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 3.324e-05/0.01043, allocations: 10.95 kB / 0.5293 GB, free: 8.594 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.411e-05/0.01045, allocations: 13.56 kB / 0.5294 GB, free: 8.578 MB / 0.4948 GB Notification: Performance of SimCode: time 6.52e-07/0.01045, allocations: 0 / 0.5294 GB, free: 8.578 MB / 0.4948 GB Notification: Performance of Templates: time 0.002381/0.01284, allocations: 0.6967 MB / 0.53 GB, free: 7.922 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.6138690561056137]