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.0009477/0.0009477, allocations: 88.22 kB / 19.65 MB, free: 272 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.001078/0.001078, allocations: 173 kB / 23.02 MB, free: 1.539 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.992/0.992, allocations: 177.1 MB / 203.4 MB, free: 5.621 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.8267/0.8267, allocations: 154.8 MB / 414.7 MB, free: 488 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.5205 GB, free: 2.035 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.049e-05/2.239e-05, allocations: 6.031 kB / 0.5205 GB, free: 2.031 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Media.Examples.WaterDerivativeCheck): time 0.001764/0.001786, allocations: 1.299 MB / 0.5218 GB, free: 0.7461 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.002912/0.004698, allocations: 3.374 MB / 0.5251 GB, free: 13.36 MB / 0.4948 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.92e-05/0.004728, allocations: 0 / 0.5251 GB, free: 13.36 MB / 0.4948 GB Notification: Performance of NFTyping.typeComponents: time 2.219e-05/0.00475, allocations: 4.953 kB / 0.5251 GB, free: 13.36 MB / 0.4948 GB Notification: Performance of NFTyping.typeBindings: time 5.026e-05/0.0048, allocations: 15.86 kB / 0.5251 GB, free: 13.34 MB / 0.4948 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004799/0.00528, allocations: 100.5 kB / 0.5252 GB, free: 13.25 MB / 0.4948 GB Notification: Performance of NFFlatten.flatten: time 6.866e-05/0.005349, allocations: 40.66 kB / 0.5252 GB, free: 13.21 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 3.057e-05/0.005379, allocations: 0 / 0.5252 GB, free: 13.21 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 5.419e-05/0.005433, allocations: 28.88 kB / 0.5253 GB, free: 13.18 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 6.471e-05/0.005498, allocations: 15.97 kB / 0.5253 GB, free: 13.16 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 1.341e-05/0.005512, allocations: 1.031 kB / 0.5253 GB, free: 13.16 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001638/0.005675, allocations: 71.7 kB / 0.5253 GB, free: 13.09 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 1.498e-05/0.00569, allocations: 11.97 kB / 0.5254 GB, free: 13.08 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 2.348e-05/0.005714, allocations: 13.2 kB / 0.5254 GB, free: 13.07 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.000152/0.005866, allocations: 67.73 kB / 0.5254 GB, free: 13 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 3.116e-06/0.005869, allocations: 4 kB / 0.5254 GB, free: 13 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.403e-06/0.00587, allocations: 0.625 kB / 0.5254 GB, free: 13 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 4.428e-06/0.005875, allocations: 1.625 kB / 0.5254 GB, free: 13 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.0003464/0.006221, allocations: 368.2 kB / 0.5258 GB, free: 12.61 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 3.71e-05/0.006258, allocations: 8.031 kB / 0.5258 GB, free: 12.6 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001091/0.006367, allocations: 21.17 kB / 0.5258 GB, free: 12.58 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.78e-05/0.006435, allocations: 109.7 kB / 0.5259 GB, free: 12.45 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.28e-05/0.006448, allocations: 4.375 kB / 0.5259 GB, free: 12.44 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.792e-05/0.006476, allocations: 8.375 kB / 0.5259 GB, free: 12.43 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001292/0.006605, allocations: 136.1 kB / 0.5261 GB, free: 12.28 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.533e-06/0.006612, allocations: 192 / 0.5261 GB, free: 12.28 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.038e-05/0.006622, allocations: 5.375 kB / 0.5261 GB, free: 12.27 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.796e-06/0.006631, allocations: 0 / 0.5261 GB, free: 12.27 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.725e-05/0.006668, allocations: 15.92 kB / 0.5261 GB, free: 12.26 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001273/0.006795, allocations: 125.3 kB / 0.5262 GB, free: 12.1 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 7.116e-05/0.006866, allocations: 51.05 kB / 0.5263 GB, free: 12.04 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.384e-05/0.00689, allocations: 20.3 kB / 0.5263 GB, free: 12.02 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004599/0.00735, allocations: 297.4 kB / 0.5266 GB, free: 11.7 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.485e-05/0.007375, allocations: 41.39 kB / 0.5266 GB, free: 11.65 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=5): time 9.81e-07/0.007376, allocations: 0.5 kB / 0.5266 GB, free: 11.65 MB / 0.4948 GB Notification: Performance of matching and sorting (n=7): time 0.0004372/0.007813, allocations: 227 kB / 0.5268 GB, free: 11.39 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.524e-05/0.007838, allocations: 56.16 kB / 0.5269 GB, free: 11.33 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.226e-05/0.007911, allocations: 165.9 kB / 0.527 GB, free: 11.15 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 9.598e-06/0.00792, allocations: 27.42 kB / 0.5271 GB, free: 11.12 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 4.436e-05/0.007965, allocations: 138.8 kB / 0.5272 GB, free: 10.98 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 1.283e-05/0.007977, allocations: 19.86 kB / 0.5272 GB, free: 10.96 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.36e-05/0.008011, allocations: 35.31 kB / 0.5272 GB, free: 10.91 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001088/0.00812, allocations: 497.6 kB / 0.5277 GB, free: 10.42 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.002e-05/0.00814, allocations: 16.05 kB / 0.5277 GB, free: 10.4 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.373e-05/0.008184, allocations: 70.05 kB / 0.5278 GB, free: 10.31 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.246e-05/0.008246, allocations: 84.75 kB / 0.5279 GB, free: 10.2 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.163e-06/0.008247, allocations: 0 / 0.5279 GB, free: 10.2 MB / 0.4948 GB Notification: Performance of matching and sorting (n=12) (initialization): time 9.411e-05/0.008341, allocations: 93.77 kB / 0.528 GB, free: 10.11 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.325e-05/0.008355, allocations: 10.19 kB / 0.528 GB, free: 10.1 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.829e-06/0.008359, allocations: 0 / 0.528 GB, free: 10.1 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.545e-05/0.008375, allocations: 4 kB / 0.528 GB, free: 10.09 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.315e-05/0.008428, allocations: 23.92 kB / 0.528 GB, free: 10.07 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.029e-06/0.008433, allocations: 0 / 0.528 GB, free: 10.07 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.277e-05/0.008456, allocations: 8 kB / 0.528 GB, free: 10.06 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.131e-06/0.008462, allocations: 4.875 kB / 0.528 GB, free: 10.06 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.572e-05/0.008528, allocations: 168.5 kB / 0.5282 GB, free: 9.883 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.825e-05/0.008546, allocations: 8.734 kB / 0.5282 GB, free: 9.875 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.365e-05/0.00857, allocations: 12.11 kB / 0.5282 GB, free: 9.863 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.232e-06/0.008571, allocations: 0.875 kB / 0.5282 GB, free: 9.863 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.956e-06/0.008574, allocations: 0 / 0.5282 GB, free: 9.863 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.445e-06/0.008576, allocations: 0.6562 kB / 0.5282 GB, free: 9.863 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001345/0.008711, allocations: 136.5 kB / 0.5283 GB, free: 9.695 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.12e-07/0.008711, allocations: 7.344 kB / 0.5283 GB, free: 9.691 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.554e-05/0.008757, allocations: 15.98 kB / 0.5283 GB, free: 9.676 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.214e-06/0.008759, allocations: 4 kB / 0.5283 GB, free: 9.672 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.604e-06/0.008767, allocations: 4 kB / 0.5284 GB, free: 9.668 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.81e-07/0.008768, allocations: 0 / 0.5284 GB, free: 9.668 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.61e-07/0.008768, allocations: 0 / 0.5284 GB, free: 9.668 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001362/0.008904, allocations: 223.8 kB / 0.5286 GB, free: 9.43 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 2.007e-05/0.008924, allocations: 7.953 kB / 0.5286 GB, free: 9.422 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.739e-06/0.008934, allocations: 0 / 0.5286 GB, free: 9.422 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.676e-05/0.008981, allocations: 7 kB / 0.5286 GB, free: 9.418 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.863e-05/0.009, allocations: 11.92 kB / 0.5286 GB, free: 9.406 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.039e-06/0.009005, allocations: 4 kB / 0.5286 GB, free: 9.402 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 3.478e-05/0.009039, allocations: 119.2 kB / 0.5287 GB, free: 9.285 MB / 0.4948 GB Notification: Performance of sort global known variables: time 6e-08/0.009039, allocations: 4 kB / 0.5287 GB, free: 9.281 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0001523/0.009192, allocations: 12 kB / 0.5287 GB, free: 9.27 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 9.387e-05/0.009286, allocations: 102 kB / 0.5288 GB, free: 9.16 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 9.003e-05/0.009376, allocations: 43.61 kB / 0.5289 GB, free: 9.113 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.593e-06/0.009377, allocations: 0 / 0.5289 GB, free: 9.113 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 2.143e-05/0.009399, allocations: 31.61 kB / 0.5289 GB, free: 9.078 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001741/0.009573, allocations: 11.94 kB / 0.5289 GB, free: 9.066 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005688/0.01014, allocations: 263.9 kB / 0.5292 GB, free: 8.836 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.598e-05/0.01018, allocations: 63.34 kB / 0.5292 GB, free: 8.754 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 3.062e-05/0.01021, allocations: 6.625 kB / 0.5292 GB, free: 8.75 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.344e-05/0.01023, allocations: 13.94 kB / 0.5292 GB, free: 8.738 MB / 0.4948 GB Notification: Performance of SimCode: time 6.92e-07/0.01023, allocations: 0 / 0.5292 GB, free: 8.738 MB / 0.4948 GB Notification: Performance of Templates: time 0.00214/0.01237, allocations: 0.6358 MB / 0.5299 GB, free: 8.141 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.9613316799513996]