Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Chemical_master_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.001846/0.001846, allocations: 85.48 kB / 19.44 MB, free: 344 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.001926/0.001926, allocations: 173.2 kB / 22.76 MB, free: 1.664 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.639/1.639, allocations: 177.1 MB / 203.1 MB, free: 5.605 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical master/package.mo): time 0.179/0.179, allocations: 17.45 MB / 277 MB, free: 11.59 MB / 266.7 MB " [Timeout remaining time 180] Using package Chemical with version 2.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 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(Chemical.Obsolete.Examples.ExothermicReaction,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Chemical_master_Chemical.Obsolete.Examples.ExothermicReaction") translateModel(Chemical.Obsolete.Examples.ExothermicReaction,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Chemical_master_Chemical.Obsolete.Examples.ExothermicReaction") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.913e-06/1.913e-06, allocations: 0 / 352.8 MB, free: 10.21 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.515e-05/3.706e-05, allocations: 6.25 kB / 352.8 MB, free: 10.2 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Chemical.Obsolete.Examples.ExothermicReaction): time 0.01542/0.01545, allocations: 8.46 MB / 361.3 MB, free: 1.703 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.03537/0.05082, allocations: 23.37 MB / 384.6 MB, free: 10.25 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001439/0.05226, allocations: 31.75 kB / 384.7 MB, free: 10.21 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001616/0.05388, allocations: 484 kB / 385.1 MB, free: 9.738 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00723/0.06111, allocations: 2.113 MB / 387.3 MB, free: 7.609 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.009522/0.07063, allocations: 3.141 MB / 390.4 MB, free: 4.449 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.004473/0.0751, allocations: 2.592 MB / 393 MB, free: 1.844 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002055/0.07716, allocations: 1.194 MB / 394.2 MB, free: 0.6055 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002962/0.08012, allocations: 1.728 MB / 395.9 MB, free: 14.88 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00216/0.08228, allocations: 1.138 MB / 397.1 MB, free: 13.73 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0004511/0.08273, allocations: 216 kB / 397.3 MB, free: 13.52 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.008942/0.09167, allocations: 2.495 MB / 399.8 MB, free: 11.02 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001047/0.09272, allocations: 0.5178 MB / 400.3 MB, free: 10.5 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001709/0.09443, allocations: 0.799 MB / 401.1 MB, free: 9.703 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01329/0.1077, allocations: 5.507 MB / 406.6 MB, free: 4.176 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.821e-06/0.1077, allocations: 0 / 406.6 MB, free: 4.176 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.092e-06/0.1077, allocations: 0 / 406.6 MB, free: 4.176 MB / 330.7 MB Notification: Performance of Transformations before backend: time 5.814e-05/0.1078, allocations: 0 / 406.6 MB, free: 4.176 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.005846/0.1136, allocations: 2.877 MB / 409.5 MB, free: 1.246 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.23e-05/0.1137, allocations: 12.03 kB / 409.5 MB, free: 1.234 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002292/0.116, allocations: 0.6886 MB / 410.2 MB, free: 0.543 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.1255/0.2415, allocations: 0.9121 MB / 411.1 MB, free: 64.58 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001774/0.2417, allocations: 241.9 kB / 411.3 MB, free: 64.45 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003487/0.242, allocations: 185.1 kB / 411.5 MB, free: 64.45 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004226/0.2462, allocations: 2.146 MB / 413.6 MB, free: 63.82 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.224e-05/0.2463, allocations: 192 / 413.6 MB, free: 63.82 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001809/0.2465, allocations: 73.47 kB / 413.7 MB, free: 63.77 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.288e-05/0.2465, allocations: 43.62 kB / 413.8 MB, free: 63.77 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005114/0.2516, allocations: 2.504 MB / 416.3 MB, free: 63.2 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.01159/0.2632, allocations: 6.048 MB / 422.3 MB, free: 60.09 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004576/0.2678, allocations: 2.157 MB / 424.5 MB, free: 59.39 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001141/0.2689, allocations: 0.7464 MB / 425.2 MB, free: 59 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.008755/0.2777, allocations: 4.567 MB / 429.8 MB, free: 54.63 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.28e-05/0.2777, allocations: 54.33 kB / 429.8 MB, free: 54.56 MB / 330.7 MB Notification: Performance of pre-optimization done (n=122): time 3.947e-06/0.2777, allocations: 2.688 kB / 429.8 MB, free: 54.56 MB / 330.7 MB Notification: Performance of matching and sorting (n=150): time 0.02622/0.304, allocations: 5.949 MB / 435.8 MB, free: 48.68 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.849e-05/0.304, allocations: 94.42 kB / 435.9 MB, free: 48.57 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001073/0.3051, allocations: 1.093 MB / 437 MB, free: 47.48 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001408/0.3052, allocations: 49.7 kB / 437 MB, free: 47.43 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003911/0.3056, allocations: 0.9519 MB / 438 MB, free: 46.57 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000368/0.306, allocations: 0.569 MB / 438.5 MB, free: 46.08 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004519/0.3064, allocations: 429.1 kB / 439 MB, free: 45.65 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001364/0.3066, allocations: 0.5551 MB / 439.5 MB, free: 45.09 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007848/0.3074, allocations: 0.5323 MB / 440 MB, free: 44.55 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001145/0.3085, allocations: 1.583 MB / 441.6 MB, free: 42.51 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.002277/0.3108, allocations: 2.352 MB / 444 MB, free: 39.73 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.143e-05/0.3108, allocations: 8 kB / 444 MB, free: 39.72 MB / 330.7 MB Notification: Performance of matching and sorting (n=258) (initialization): time 0.007529/0.3183, allocations: 2.639 MB / 446.6 MB, free: 37.05 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.288e-05/0.3183, allocations: 16 kB / 446.6 MB, free: 37.04 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.694e-05/0.3184, allocations: 26.81 kB / 446.7 MB, free: 37.02 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.009603/0.328, allocations: 1.195 MB / 447.9 MB, free: 35.81 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002079/0.3301, allocations: 0.5188 MB / 448.4 MB, free: 35.29 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01084/0.3409, allocations: 10.17 MB / 458.5 MB, free: 24.65 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001646/0.3425, allocations: 71.95 kB / 458.6 MB, free: 24.58 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000199/0.3427, allocations: 119.9 kB / 458.7 MB, free: 24.46 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.0007296/0.3435, allocations: 420.1 kB / 459.1 MB, free: 24.05 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004154/0.3439, allocations: 175.2 kB / 459.3 MB, free: 23.88 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008515/0.3524, allocations: 2.659 MB / 462 MB, free: 21.15 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.564e-05/0.3524, allocations: 16 kB / 462 MB, free: 21.14 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.308e-06/0.3524, allocations: 4 kB / 462 MB, free: 21.13 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.114e-05/0.3524, allocations: 11.91 kB / 462 MB, free: 21.12 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004956/0.3574, allocations: 2.439 MB / 464.4 MB, free: 18.63 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.915e-06/0.3574, allocations: 0 / 464.4 MB, free: 18.63 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00135/0.3588, allocations: 307.7 kB / 464.7 MB, free: 18.33 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.011/0.3698, allocations: 1.307 MB / 466.1 MB, free: 17.01 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002757/0.37, allocations: 39.98 kB / 466.1 MB, free: 16.97 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01144/0.3815, allocations: 11.79 MB / 477.9 MB, free: 4.586 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.509e-06/0.3815, allocations: 4.094 kB / 477.9 MB, free: 4.582 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009034/0.3905, allocations: 2.974 MB / 480.9 MB, free: 1.523 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000489/0.391, allocations: 119.1 kB / 481 MB, free: 1.406 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002174/0.3912, allocations: 28 kB / 481 MB, free: 1.379 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007513/0.392, allocations: 32 kB / 481 MB, free: 1.348 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003346/0.3923, allocations: 140.8 kB / 481.2 MB, free: 1.211 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.084e-05/0.3924, allocations: 51.92 kB / 481.2 MB, free: 1.16 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0006945/0.3931, allocations: 0.6346 MB / 481.9 MB, free: 0.5156 MB / 330.7 MB Notification: Performance of sort global known variables: time 6e-08/0.3931, allocations: 0 / 481.9 MB, free: 0.5156 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.00351/0.3966, allocations: 1.064 MB / 482.9 MB, free: 15.45 MB / 346.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.002627/0.3992, allocations: 1.167 MB / 484.1 MB, free: 14.39 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.005015/0.4042, allocations: 2.351 MB / 486.4 MB, free: 11.98 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 8.857e-06/0.4043, allocations: 4 kB / 486.4 MB, free: 11.98 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002757/0.407, allocations: 1.647 MB / 488.1 MB, free: 10.24 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001807/0.4088, allocations: 350.1 kB / 488.4 MB, free: 9.906 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005831/0.4146, allocations: 3.02 MB / 491.4 MB, free: 6.805 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008877/0.4155, allocations: 0.6799 MB / 492.1 MB, free: 6.082 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.001186/0.4167, allocations: 303 kB / 492.4 MB, free: 5.781 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004834/0.4172, allocations: 200.4 kB / 492.6 MB, free: 5.586 MB / 346.7 MB Notification: Performance of SimCode: time 1.423e-06/0.4172, allocations: 0 / 492.6 MB, free: 5.586 MB / 346.7 MB Notification: Performance of Templates: time 0.06789/0.4851, allocations: 38.29 MB / 0.5185 GB, free: 15.57 MB / 394.7 MB " [Timeout remaining time 660] make -j1 -f Chemical_master_Chemical.Obsolete.Examples.ExothermicReaction.makefile [Timeout 660] (rm -f Chemical_master_Chemical.Obsolete.Examples.ExothermicReaction.pipe ; mkfifo Chemical_master_Chemical.Obsolete.Examples.ExothermicReaction.pipe ; head -c 1048576 < Chemical_master_Chemical.Obsolete.Examples.ExothermicReaction.pipe >> ../files/Chemical_master_Chemical.Obsolete.Examples.ExothermicReaction.sim & ./Chemical_master_Chemical.Obsolete.Examples.ExothermicReaction -abortSlowSimulation -alarm=240 -lv LOG_STATS > Chemical_master_Chemical.Obsolete.Examples.ExothermicReaction.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 6.796929265954532]