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.001074/0.001074, allocations: 72.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001405/0.002479, allocations: 435.8 kB / 10.33 MB, free: 368 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.00104/0.00104, allocations: 161.1 kB / 11.23 MB, free: 2.941 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001295/0.002335, allocations: 463.6 kB / 11.68 MB, free: 2.484 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.9705/0.9705, allocations: 177.2 MB / 189.6 MB, free: 5.312 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08239/1.053, allocations: 53.66 MB / 243.2 MB, free: 15.59 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.08483/0.08483, allocations: 17.36 MB / 261.3 MB, free: 13.46 MB / 266.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.01013/0.09497, allocations: 6.929 MB / 268.3 MB, free: 6.516 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.162e-06/1.162e-06, allocations: 0 / 269.5 MB, free: 5.254 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 8.055e-06/9.217e-06, allocations: 2.312 kB / 269.5 MB, free: 5.25 MB / 266.7 MB Notification: Performance of NFInst.instantiate(Chemical.Obsolete.Examples.ExothermicReaction): time 0.1286/0.1286, allocations: 8.527 MB / 278.1 MB, free: 1.426 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.02107/0.1497, allocations: 23.39 MB / 301.4 MB, free: 2.059 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001328/0.151, allocations: 28.56 kB / 301.5 MB, free: 2.043 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001031/0.152, allocations: 492.8 kB / 301.9 MB, free: 1.668 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.005561/0.1576, allocations: 2.071 MB / 304 MB, free: 24 kB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.008099/0.1657, allocations: 3.133 MB / 307.2 MB, free: 13.07 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.003764/0.1695, allocations: 2.573 MB / 309.7 MB, free: 10.48 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001803/0.1713, allocations: 1.206 MB / 310.9 MB, free: 9.219 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002075/0.1733, allocations: 1.83 MB / 312.8 MB, free: 7.371 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001421/0.1748, allocations: 1.13 MB / 313.9 MB, free: 6.238 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003697/0.1751, allocations: 216 kB / 314.1 MB, free: 6.027 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006272/0.1814, allocations: 2.593 MB / 316.7 MB, free: 3.43 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003245/0.1817, allocations: 370.8 kB / 317.1 MB, free: 3.066 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0007536/0.1825, allocations: 0.6239 MB / 317.7 MB, free: 2.441 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.008616/0.1911, allocations: 4.292 MB / 322 MB, free: 14.13 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.663e-05/0.1911, allocations: 0 / 322 MB, free: 14.13 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.342e-06/0.1911, allocations: 0 / 322 MB, free: 14.13 MB / 314.7 MB Notification: Performance of Transformations before backend: time 4.777e-05/0.1912, allocations: 8 kB / 322 MB, free: 14.12 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.003443/0.1946, allocations: 3.341 MB / 325.3 MB, free: 10.74 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.092e-05/0.1946, allocations: 12.03 kB / 325.3 MB, free: 10.73 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001192/0.1958, allocations: 0.7181 MB / 326.1 MB, free: 9.992 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009416/0.1968, allocations: 0.7076 MB / 326.8 MB, free: 9.258 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001378/0.1969, allocations: 242.9 kB / 327 MB, free: 8.996 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001847/0.1971, allocations: 184.3 kB / 327.2 MB, free: 8.816 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001492/0.1986, allocations: 1.548 MB / 328.7 MB, free: 7.23 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.711e-05/0.1986, allocations: 192 / 328.7 MB, free: 7.23 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001054/0.1987, allocations: 76.12 kB / 328.8 MB, free: 7.156 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.671e-05/0.1987, allocations: 44 kB / 328.8 MB, free: 7.113 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001419/0.2002, allocations: 1.298 MB / 330.1 MB, free: 5.812 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.005196/0.2054, allocations: 4.209 MB / 334.3 MB, free: 1.504 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002371/0.2077, allocations: 1.99 MB / 336.3 MB, free: 15.49 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004262/0.2081, allocations: 397.5 kB / 336.7 MB, free: 15.09 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00492/0.2131, allocations: 3.687 MB / 340.4 MB, free: 11.38 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.376e-05/0.2131, allocations: 50.12 kB / 340.5 MB, free: 11.33 MB / 330.7 MB Notification: Performance of pre-optimization done (n=122): time 2.575e-06/0.2131, allocations: 3.938 kB / 340.5 MB, free: 11.32 MB / 330.7 MB Notification: Performance of matching and sorting (n=150): time 0.01142/0.2245, allocations: 4.6 MB / 345.1 MB, free: 6.656 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.122e-05/0.2246, allocations: 94.42 kB / 345.2 MB, free: 6.547 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005491/0.2251, allocations: 0.7914 MB / 345.9 MB, free: 5.734 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 6.374e-05/0.2252, allocations: 49.7 kB / 346 MB, free: 5.68 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003505/0.2255, allocations: 0.7708 MB / 346.8 MB, free: 4.898 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000322/0.2258, allocations: 0.5461 MB / 347.3 MB, free: 4.348 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003074/0.2262, allocations: 367.3 kB / 347.7 MB, free: 3.98 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.00012/0.2263, allocations: 369.7 kB / 348 MB, free: 3.613 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003154/0.2266, allocations: 234.8 kB / 348.3 MB, free: 3.379 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006929/0.2273, allocations: 0.958 MB / 349.2 MB, free: 2.078 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.00141/0.2287, allocations: 1.465 MB / 350.7 MB, free: 292 kB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.24e-05/0.2287, allocations: 8 kB / 350.7 MB, free: 284 kB / 330.7 MB Notification: Performance of matching and sorting (n=258) (initialization): time 0.003171/0.2319, allocations: 1.673 MB / 352.4 MB, free: 14.58 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.595e-05/0.2319, allocations: 19.94 kB / 352.4 MB, free: 14.56 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.592e-05/0.2319, allocations: 24 kB / 352.4 MB, free: 14.54 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003543/0.2355, allocations: 1.069 MB / 353.5 MB, free: 13.46 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001175/0.2366, allocations: 0.6319 MB / 354.1 MB, free: 12.82 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005704/0.2423, allocations: 6.308 MB / 360.4 MB, free: 6.176 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009249/0.2433, allocations: 79.95 kB / 360.5 MB, free: 6.098 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001306/0.2434, allocations: 95.97 kB / 360.6 MB, free: 6.004 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.0004752/0.2439, allocations: 251.8 kB / 360.8 MB, free: 5.746 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002105/0.2441, allocations: 123.9 kB / 361 MB, free: 5.625 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003687/0.2478, allocations: 1.825 MB / 362.8 MB, free: 3.762 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.768e-06/0.2478, allocations: 19.94 kB / 362.8 MB, free: 3.742 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.792e-06/0.2478, allocations: 0 / 362.8 MB, free: 3.742 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.235e-05/0.2478, allocations: 11.97 kB / 362.8 MB, free: 3.73 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002676/0.2505, allocations: 1.593 MB / 364.4 MB, free: 2.066 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.244e-06/0.2505, allocations: 4 kB / 364.4 MB, free: 2.062 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008075/0.2513, allocations: 363.9 kB / 364.8 MB, free: 1.707 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001727/0.2515, allocations: 115.2 kB / 364.9 MB, free: 1.594 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004108/0.2556, allocations: 1.179 MB / 366.1 MB, free: 408 kB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.924e-05/0.2557, allocations: 39.98 kB / 366.1 MB, free: 368 kB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005517/0.2612, allocations: 7.368 MB / 373.5 MB, free: 8.559 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.771e-06/0.2612, allocations: 7.938 kB / 373.5 MB, free: 8.551 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003293/0.2645, allocations: 1.822 MB / 375.3 MB, free: 6.664 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001756/0.2647, allocations: 31.94 kB / 375.3 MB, free: 6.633 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00039/0.2651, allocations: 32 kB / 375.4 MB, free: 6.602 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002043/0.2653, allocations: 125 kB / 375.5 MB, free: 6.48 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.207e-05/0.2653, allocations: 47.91 kB / 375.5 MB, free: 6.434 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0003128/0.2656, allocations: 367.9 kB / 375.9 MB, free: 6.062 MB / 362.7 MB Notification: Performance of sort global known variables: time 8e-08/0.2656, allocations: 0 / 375.9 MB, free: 6.062 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.002443/0.2681, allocations: 1.068 MB / 377 MB, free: 4.992 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.001521/0.2696, allocations: 1.219 MB / 378.2 MB, free: 3.762 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.001639/0.2712, allocations: 1.539 MB / 379.7 MB, free: 2.16 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 4.319e-05/0.2713, allocations: 26.47 kB / 379.7 MB, free: 2.137 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008451/0.2721, allocations: 1.106 MB / 380.8 MB, free: 0.9648 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008865/0.273, allocations: 0.4919 MB / 381.3 MB, free: 496 kB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01121/0.2842, allocations: 2.779 MB / 384.1 MB, free: 13.63 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002465/0.2845, allocations: 292.5 kB / 384.4 MB, free: 13.32 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0008932/0.2854, allocations: 321.6 kB / 384.7 MB, free: 13.01 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000625/0.286, allocations: 433 kB / 385.1 MB, free: 12.59 MB / 378.7 MB Notification: Performance of SimCode: time 1.723e-06/0.286, allocations: 0 / 385.1 MB, free: 12.59 MB / 378.7 MB Notification: Performance of Templates: time 0.04458/0.3306, allocations: 43.59 MB / 428.7 MB, free: 1.227 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.8633235646411777]