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.001449/0.001449, allocations: 92.7 kB / 19.44 MB, free: 324 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.001847/0.001847, allocations: 165.3 kB / 22.76 MB, free: 1.652 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 1.521/1.521, allocations: 177.1 MB / 203.1 MB, free: 5.578 MB / 186.7 MB " [Timeout remaining time 178] 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.152/0.152, allocations: 17.37 MB / 276.9 MB, free: 11.65 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.743e-06/1.743e-06, allocations: 0 / 352.7 MB, free: 10.32 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.454e-05/3.629e-05, allocations: 8.781 kB / 352.7 MB, free: 10.31 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Chemical.Obsolete.Examples.ExothermicReaction): time 0.01154/0.01157, allocations: 7.565 MB / 360.3 MB, free: 2.715 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.03336/0.04494, allocations: 20.5 MB / 380.8 MB, free: 14.13 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001282/0.04622, allocations: 31.75 kB / 380.8 MB, free: 14.1 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001875/0.04809, allocations: 492 kB / 381.3 MB, free: 13.62 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.007493/0.05559, allocations: 2.105 MB / 383.4 MB, free: 11.5 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00981/0.0654, allocations: 3.153 MB / 386.5 MB, free: 8.324 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.004676/0.07007, allocations: 2.588 MB / 389.1 MB, free: 5.723 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002404/0.07248, allocations: 1.19 MB / 390.3 MB, free: 4.488 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00317/0.07565, allocations: 1.712 MB / 392 MB, free: 2.773 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002412/0.07806, allocations: 1.103 MB / 393.1 MB, free: 1.668 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.000637/0.07869, allocations: 216 kB / 393.3 MB, free: 1.457 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.007355/0.08605, allocations: 2.491 MB / 395.8 MB, free: 14.96 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0008658/0.08692, allocations: 0.5178 MB / 396.3 MB, free: 14.44 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001577/0.08849, allocations: 0.7951 MB / 397.1 MB, free: 13.64 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01316/0.1017, allocations: 5.503 MB / 402.6 MB, free: 8.121 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.943e-06/0.1017, allocations: 4 kB / 402.6 MB, free: 8.117 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.823e-06/0.1017, allocations: 0 / 402.6 MB, free: 8.117 MB / 330.7 MB Notification: Performance of Transformations before backend: time 0.0001311/0.1018, allocations: 0 / 402.6 MB, free: 8.117 MB / 330.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.007862/0.1097, allocations: 2.627 MB / 405.3 MB, free: 5.445 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.317e-05/0.1097, allocations: 8.031 kB / 405.3 MB, free: 5.438 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00304/0.1127, allocations: 0.6925 MB / 406 MB, free: 4.742 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002362/0.1151, allocations: 0.9131 MB / 406.9 MB, free: 3.797 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002843/0.1154, allocations: 250.9 kB / 407.1 MB, free: 3.527 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004896/0.1159, allocations: 184.3 kB / 407.3 MB, free: 3.348 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004474/0.1203, allocations: 2.078 MB / 409.4 MB, free: 1.238 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.66e-05/0.1204, allocations: 8.188 kB / 409.4 MB, free: 1.23 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002217/0.1206, allocations: 72.12 kB / 409.5 MB, free: 1.16 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.678e-05/0.1207, allocations: 47.94 kB / 409.5 MB, free: 1.113 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.137/0.2576, allocations: 2.554 MB / 412.1 MB, free: 64.31 MB / 330.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.009768/0.2674, allocations: 5.182 MB / 417.3 MB, free: 61.84 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005083/0.2725, allocations: 2.149 MB / 419.4 MB, free: 61.08 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001269/0.2737, allocations: 0.7405 MB / 420.1 MB, free: 60.78 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.008452/0.2822, allocations: 4.334 MB / 424.5 MB, free: 59.16 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.619e-05/0.2822, allocations: 49.02 kB / 424.5 MB, free: 59.12 MB / 330.7 MB Notification: Performance of pre-optimization done (n=122): time 3.316e-06/0.2822, allocations: 4.562 kB / 424.5 MB, free: 59.12 MB / 330.7 MB Notification: Performance of matching and sorting (n=150): time 0.02588/0.3081, allocations: 5.856 MB / 430.4 MB, free: 54.3 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.023e-05/0.3082, allocations: 90.42 kB / 430.5 MB, free: 54.2 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009125/0.3091, allocations: 0.8684 MB / 431.3 MB, free: 53.33 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001124/0.3092, allocations: 53.7 kB / 431.4 MB, free: 53.27 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003977/0.3096, allocations: 0.8555 MB / 432.2 MB, free: 52.52 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003957/0.31, allocations: 0.5318 MB / 432.8 MB, free: 52.06 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004873/0.3105, allocations: 376.1 kB / 433.1 MB, free: 51.69 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 7.795e-05/0.3105, allocations: 353.9 kB / 433.5 MB, free: 51.34 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008787/0.3114, allocations: 0.5326 MB / 434 MB, free: 50.8 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001115/0.3125, allocations: 1.248 MB / 435.3 MB, free: 49.21 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.002265/0.3148, allocations: 1.978 MB / 437.3 MB, free: 46.93 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.976e-05/0.3148, allocations: 8 kB / 437.3 MB, free: 46.93 MB / 330.7 MB Notification: Performance of matching and sorting (n=258) (initialization): time 0.007965/0.3228, allocations: 2.624 MB / 439.9 MB, free: 44.29 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.395e-05/0.3228, allocations: 12 kB / 439.9 MB, free: 44.28 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.398e-05/0.3228, allocations: 24 kB / 439.9 MB, free: 44.25 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.009335/0.3322, allocations: 1.169 MB / 441.1 MB, free: 43.07 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002048/0.3342, allocations: 0.5214 MB / 441.6 MB, free: 42.55 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01054/0.3448, allocations: 7.707 MB / 449.3 MB, free: 34.45 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001636/0.3464, allocations: 72 kB / 449.4 MB, free: 34.38 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003201/0.3467, allocations: 112 kB / 449.5 MB, free: 34.27 MB / 330.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.0008945/0.3476, allocations: 376.7 kB / 449.9 MB, free: 33.91 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005194/0.3481, allocations: 187 kB / 450 MB, free: 33.72 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008962/0.3571, allocations: 2.47 MB / 452.5 MB, free: 31.21 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.818e-05/0.3571, allocations: 12 kB / 452.5 MB, free: 31.2 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.884e-05/0.3571, allocations: 4 kB / 452.5 MB, free: 31.19 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.864e-05/0.3572, allocations: 7.969 kB / 452.5 MB, free: 31.18 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005144/0.3623, allocations: 2.145 MB / 454.7 MB, free: 29 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.502e-05/0.3623, allocations: 0 / 454.7 MB, free: 29 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001411/0.3637, allocations: 319.9 kB / 455 MB, free: 28.69 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01099/0.3747, allocations: 1.268 MB / 456.3 MB, free: 27.41 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002909/0.375, allocations: 43.98 kB / 456.3 MB, free: 27.36 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01104/0.386, allocations: 8.804 MB / 465.1 MB, free: 18.07 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.738e-06/0.386, allocations: 4 kB / 465.1 MB, free: 18.07 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009075/0.3951, allocations: 2.834 MB / 467.9 MB, free: 15.17 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004086/0.3955, allocations: 116.5 kB / 468.1 MB, free: 15.05 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003473/0.3959, allocations: 31.98 kB / 468.1 MB, free: 15.02 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001008/0.3969, allocations: 32 kB / 468.1 MB, free: 14.99 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003587/0.3972, allocations: 137 kB / 468.3 MB, free: 14.86 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001093/0.3974, allocations: 47.98 kB / 468.3 MB, free: 14.81 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0007662/0.3981, allocations: 0.5566 MB / 468.9 MB, free: 14.25 MB / 330.7 MB Notification: Performance of sort global known variables: time 7.1e-08/0.3981, allocations: 0 / 468.9 MB, free: 14.25 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.003573/0.4017, allocations: 1.067 MB / 469.9 MB, free: 13.19 MB / 330.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.002594/0.4043, allocations: 1.162 MB / 471.1 MB, free: 12.15 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.003776/0.4081, allocations: 1.991 MB / 473.1 MB, free: 10.12 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 6.673e-06/0.4081, allocations: 0 / 473.1 MB, free: 10.12 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002034/0.4101, allocations: 1.305 MB / 474.4 MB, free: 8.758 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001914/0.412, allocations: 347.8 kB / 474.7 MB, free: 8.422 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005031/0.417, allocations: 2.959 MB / 477.7 MB, free: 5.391 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008141/0.4179, allocations: 0.6837 MB / 478.4 MB, free: 4.668 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.001268/0.4191, allocations: 315 kB / 478.7 MB, free: 4.355 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004751/0.4196, allocations: 196.4 kB / 478.9 MB, free: 4.164 MB / 330.7 MB Notification: Performance of SimCode: time 1.623e-06/0.4196, allocations: 0 / 478.9 MB, free: 4.164 MB / 330.7 MB Notification: Performance of Templates: time 0.07005/0.4897, allocations: 37.73 MB / 0.5045 GB, free: 14.73 MB / 378.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=480 -lv LOG_STATS > Chemical_Chemical.Obsolete.Examples.ExothermicReaction.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.755677163950168]