Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Chemical_Chemical.Obsolete.Examples.ExothermicReaction.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.001162/0.001162, allocations: 81.05 kB / 9.981 MB, free: 0.707 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001979/0.003141, allocations: 440 kB / 10.41 MB, free: 284 kB / 10.45 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.001381/0.001381, allocations: 157.1 kB / 11.33 MB, free: 2.844 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001874/0.003255, allocations: 475.6 kB / 11.79 MB, free: 2.375 MB / 13.93 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.988/0.988, allocations: 177.2 MB / 189.7 MB, free: 5.246 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09503/1.083, allocations: 53.67 MB / 243.4 MB, free: 15.5 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 2.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 2.0.0/package.mo): time 0.09593/0.09593, allocations: 17.37 MB / 261.5 MB, free: 13.36 MB / 266.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.01183/0.1078, allocations: 6.944 MB / 268.5 MB, free: 6.402 MB / 266.7 MB " [Timeout remaining time 180] Using package Chemical with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 2.0.0/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(Chemical.Obsolete.Examples.ExothermicReaction,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Chemical_Chemical.Obsolete.Examples.ExothermicReaction") translateModel(Chemical.Obsolete.Examples.ExothermicReaction,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Chemical_Chemical.Obsolete.Examples.ExothermicReaction") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.973e-06/1.973e-06, allocations: 3.984 kB / 269.7 MB, free: 5.109 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.78e-05/1.978e-05, allocations: 2.312 kB / 269.7 MB, free: 5.105 MB / 266.7 MB Notification: Performance of NFInst.instantiate(Chemical.Obsolete.Examples.ExothermicReaction): time 0.1348/0.1348, allocations: 8.518 MB / 278.3 MB, free: 1.336 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.02257/0.1574, allocations: 23.39 MB / 301.7 MB, free: 1.906 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001485/0.1588, allocations: 30.25 kB / 301.7 MB, free: 1.891 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001597/0.1604, allocations: 495.8 kB / 302.2 MB, free: 1.512 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00714/0.1676, allocations: 2.073 MB / 304.2 MB, free: 15.87 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00889/0.1765, allocations: 3.129 MB / 307.4 MB, free: 12.86 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.003155/0.1796, allocations: 2.573 MB / 309.9 MB, free: 10.27 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001505/0.1811, allocations: 1.206 MB / 311.1 MB, free: 9.008 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002135/0.1833, allocations: 1.834 MB / 313 MB, free: 7.156 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001995/0.1853, allocations: 1.126 MB / 314.1 MB, free: 6.027 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0005391/0.1858, allocations: 216 kB / 314.3 MB, free: 5.816 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00705/0.1929, allocations: 2.597 MB / 316.9 MB, free: 3.215 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0005261/0.1934, allocations: 378.8 kB / 317.3 MB, free: 2.844 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001025/0.1944, allocations: 0.6239 MB / 317.9 MB, free: 2.219 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01012/0.2045, allocations: 4.284 MB / 322.2 MB, free: 13.91 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.731e-05/0.2045, allocations: 0 / 322.2 MB, free: 13.91 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.934e-06/0.2045, allocations: 0 / 322.2 MB, free: 13.91 MB / 314.7 MB Notification: Performance of Transformations before backend: time 6.815e-05/0.2046, allocations: 0 / 322.2 MB, free: 13.91 MB / 314.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 455 * Number of variables: 455 Notification: Performance of Generate backend data structure: time 0.004038/0.2086, allocations: 3.341 MB / 325.5 MB, free: 10.54 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.825e-05/0.2087, allocations: 11.97 kB / 325.5 MB, free: 10.52 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001386/0.2101, allocations: 0.7181 MB / 326.3 MB, free: 9.785 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001011/0.2111, allocations: 0.7076 MB / 327 MB, free: 9.051 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001343/0.2112, allocations: 243 kB / 327.2 MB, free: 8.789 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001984/0.2114, allocations: 192.3 kB / 327.4 MB, free: 8.602 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001696/0.2131, allocations: 1.537 MB / 328.9 MB, free: 7.027 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.384e-05/0.2131, allocations: 192 / 328.9 MB, free: 7.027 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001027/0.2132, allocations: 76.12 kB / 329 MB, free: 6.953 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.261e-05/0.2133, allocations: 44 kB / 329 MB, free: 6.91 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001257/0.2145, allocations: 1.309 MB / 330.4 MB, free: 5.598 MB / 314.7 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005047/0.2196, allocations: 4.207 MB / 334.6 MB, free: 1.293 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002499/0.2221, allocations: 1.993 MB / 336.6 MB, free: 15.27 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003842/0.2225, allocations: 399.4 kB / 336.9 MB, free: 14.88 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004945/0.2274, allocations: 3.677 MB / 340.6 MB, free: 11.18 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.246e-05/0.2274, allocations: 47.56 kB / 340.7 MB, free: 11.13 MB / 330.7 MB Notification: Performance of pre-optimization done (n=122): time 3.556e-06/0.2274, allocations: 4 kB / 340.7 MB, free: 11.12 MB / 330.7 MB Notification: Performance of matching and sorting (n=150): time 0.01306/0.2405, allocations: 5.393 MB / 346.1 MB, free: 5.652 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.553e-05/0.2405, allocations: 94.42 kB / 346.2 MB, free: 5.543 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006339/0.2412, allocations: 0.7914 MB / 347 MB, free: 4.73 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 6.902e-05/0.2412, allocations: 49.7 kB / 347 MB, free: 4.676 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003448/0.2416, allocations: 0.7708 MB / 347.8 MB, free: 3.895 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002907/0.2419, allocations: 0.5422 MB / 348.3 MB, free: 3.348 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003017/0.2422, allocations: 375.3 kB / 348.7 MB, free: 2.973 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 9.839e-05/0.2423, allocations: 361.8 kB / 349 MB, free: 2.613 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002784/0.2426, allocations: 238.8 kB / 349.3 MB, free: 2.375 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009568/0.2435, allocations: 0.9619 MB / 350.2 MB, free: 1.07 MB / 330.7 MB Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: solution_at_constant_temperature.temperature = solution_at_constant_temperature.temperature_start (fixedTemperature.T = solution_at_constant_temperature.temperature_start) Notification: Performance of analyzeInitialSystem (initialization): time 0.001168/0.2447, allocations: 1.524 MB / 351.8 MB, free: 15.22 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.775e-06/0.2447, allocations: 4 kB / 351.8 MB, free: 15.21 MB / 346.7 MB Notification: Performance of matching and sorting (n=258) (initialization): time 0.002905/0.2476, allocations: 1.677 MB / 353.4 MB, free: 13.52 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.777e-05/0.2476, allocations: 19.94 kB / 353.5 MB, free: 13.5 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.969e-05/0.2476, allocations: 24 kB / 353.5 MB, free: 13.47 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003485/0.2511, allocations: 1.09 MB / 354.6 MB, free: 12.37 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001136/0.2523, allocations: 0.6202 MB / 355.2 MB, free: 11.75 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005406/0.2577, allocations: 6.322 MB / 361.5 MB, free: 5.094 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008905/0.2586, allocations: 71.95 kB / 361.6 MB, free: 5.023 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001256/0.2587, allocations: 99.97 kB / 361.7 MB, free: 4.926 MB / 346.7 MB Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization system: solution_at_constant_temperature.temperature = solution_at_constant_temperature.temperature_start. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 107 * 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 (241): * Single equations (assignments): 237 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(3,6,77.8%), (1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,3), (1,3)} Notification: Performance of prepare postOptimizeDAE: time 0.0004824/0.2592, allocations: 252.5 kB / 361.9 MB, free: 4.668 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002194/0.2594, allocations: 123.9 kB / 362 MB, free: 4.547 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003833/0.2632, allocations: 1.817 MB / 363.9 MB, free: 2.688 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.072e-05/0.2632, allocations: 16 kB / 363.9 MB, free: 2.672 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.97e-06/0.2632, allocations: 4 kB / 363.9 MB, free: 2.668 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.222e-05/0.2633, allocations: 11.97 kB / 363.9 MB, free: 2.656 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002333/0.2656, allocations: 1.605 MB / 365.5 MB, free: 0.9805 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.162e-06/0.2656, allocations: 4.312 kB / 365.5 MB, free: 0.9766 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007771/0.2664, allocations: 363.6 kB / 365.9 MB, free: 0.6211 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002285/0.2666, allocations: 107.2 kB / 366 MB, free: 0.5156 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004097/0.2707, allocations: 1.198 MB / 367.2 MB, free: 15.3 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000109/0.2708, allocations: 39.97 kB / 367.2 MB, free: 15.26 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005683/0.2765, allocations: 7.362 MB / 374.6 MB, free: 7.469 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.011e-06/0.2765, allocations: 7.938 kB / 374.6 MB, free: 7.461 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003389/0.2799, allocations: 1.822 MB / 376.4 MB, free: 5.578 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002316/0.2801, allocations: 39.94 kB / 376.4 MB, free: 5.539 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004263/0.2805, allocations: 28 kB / 376.5 MB, free: 5.512 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002304/0.2808, allocations: 133 kB / 376.6 MB, free: 5.383 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.783e-05/0.2808, allocations: 39.98 kB / 376.6 MB, free: 5.344 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0003268/0.2812, allocations: 367.9 kB / 377 MB, free: 4.973 MB / 362.7 MB Notification: Performance of sort global known variables: time 5.1e-08/0.2812, allocations: 0 / 377 MB, free: 4.973 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.002855/0.284, allocations: 1.068 MB / 378.1 MB, free: 3.902 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * Number of states: 7 (A1.logn,B1.logn,H2O.logn,A.logn,B.logn,H2O1.amountOfBonds,H2O1.logn) * 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 (137): * Single equations (assignments): 132 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,3,100.0%), (2,7,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 3 systems {(1,3), (1,1), (2,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001861/0.2859, allocations: 1.215 MB / 379.3 MB, free: 2.676 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.001882/0.2878, allocations: 1.563 MB / 380.8 MB, free: 1.051 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 5.241e-05/0.2878, allocations: 26.47 kB / 380.9 MB, free: 1.027 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001066/0.2889, allocations: 1.194 MB / 382.1 MB, free: 15.77 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00155/0.2904, allocations: 1.91 MB / 384 MB, free: 13.55 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01147/0.3019, allocations: 2.766 MB / 386.7 MB, free: 10.7 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003026/0.3022, allocations: 292.5 kB / 387 MB, free: 10.39 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.000996/0.3032, allocations: 313.6 kB / 387.3 MB, free: 10.09 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007594/0.304, allocations: 429 kB / 387.7 MB, free: 9.672 MB / 378.7 MB Notification: Performance of SimCode: time 3.006e-06/0.304, allocations: 4 kB / 387.7 MB, free: 9.668 MB / 378.7 MB Notification: Performance of Templates: time 0.1737/0.4777, allocations: 43.16 MB / 430.9 MB, free: 111.2 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f Chemical_Chemical.Obsolete.Examples.ExothermicReaction.makefile [Timeout 660] (rm -f Chemical_Chemical.Obsolete.Examples.ExothermicReaction.pipe ; mkfifo Chemical_Chemical.Obsolete.Examples.ExothermicReaction.pipe ; head -c 1048576 < Chemical_Chemical.Obsolete.Examples.ExothermicReaction.pipe >> ../files/Chemical_Chemical.Obsolete.Examples.ExothermicReaction.sim & ./Chemical_Chemical.Obsolete.Examples.ExothermicReaction -abortSlowSimulation -alarm=240 -lv LOG_STATS > Chemical_Chemical.Obsolete.Examples.ExothermicReaction.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.9956559827551246]