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.001374/0.001374, allocations: 79.36 kB / 19.18 MB, free: 2.52 MB / 14.72 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.002028/0.002028, allocations: 166.8 kB / 22.46 MB, free: 5.375 MB / 14.72 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.49/1.49, allocations: 177.2 MB / 202.8 MB, free: 9.168 MB / 190.1 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.1369/0.1369, allocations: 17.44 MB / 276.6 MB, free: 15.21 MB / 270.1 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.453e-06/1.453e-06, allocations: 0 / 412.1 MB, free: 4.297 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.556e-05/2.701e-05, allocations: 9.656 kB / 412.1 MB, free: 4.289 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Chemical.Obsolete.Examples.ExothermicReaction): time 0.009702/0.009729, allocations: 7.557 MB / 419.7 MB, free: 12.7 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.02821/0.03794, allocations: 20.51 MB / 440.2 MB, free: 8.105 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001473/0.03941, allocations: 31.75 kB / 440.2 MB, free: 8.074 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001662/0.04107, allocations: 495.8 kB / 440.7 MB, free: 7.586 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006647/0.04772, allocations: 2.102 MB / 442.8 MB, free: 5.469 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.009065/0.05679, allocations: 3.145 MB / 445.9 MB, free: 2.305 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.1926/0.2494, allocations: 2.589 MB / 448.5 MB, free: 17.44 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001967/0.2514, allocations: 1.145 MB / 449.7 MB, free: 17.32 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002406/0.2538, allocations: 1.715 MB / 451.4 MB, free: 17.32 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002012/0.2558, allocations: 1.104 MB / 452.5 MB, free: 17.32 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000493/0.2563, allocations: 216.3 kB / 452.7 MB, free: 17.32 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.008041/0.2643, allocations: 2.494 MB / 455.2 MB, free: 17.32 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007352/0.265, allocations: 0.5141 MB / 455.7 MB, free: 17.32 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001411/0.2665, allocations: 0.7962 MB / 456.5 MB, free: 17.32 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01524/0.2817, allocations: 5.501 MB / 462 MB, free: 16.81 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.737e-06/0.2817, allocations: 0 / 462 MB, free: 16.81 MB / 366.1 MB Notification: Performance of FrontEnd: time 9.72e-07/0.2817, allocations: 0 / 462 MB, free: 16.81 MB / 366.1 MB Notification: Performance of Transformations before backend: time 5.319e-05/0.2818, allocations: 1.375 kB / 462 MB, free: 16.81 MB / 366.1 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.00567/0.2874, allocations: 2.63 MB / 464.6 MB, free: 15.62 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.737e-05/0.2875, allocations: 9.688 kB / 464.6 MB, free: 15.62 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001886/0.2894, allocations: 428.6 kB / 465.1 MB, free: 15.5 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001837/0.2912, allocations: 0.8954 MB / 465.9 MB, free: 15.21 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002215/0.2914, allocations: 248.8 kB / 466.2 MB, free: 15.08 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003227/0.2917, allocations: 187.9 kB / 466.4 MB, free: 15.07 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003664/0.2954, allocations: 2.085 MB / 468.5 MB, free: 14.27 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.691e-05/0.2954, allocations: 192 / 468.5 MB, free: 14.27 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001973/0.2956, allocations: 71.5 kB / 468.5 MB, free: 14.21 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.48e-05/0.2957, allocations: 53.44 kB / 468.6 MB, free: 14.21 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003633/0.2993, allocations: 2.55 MB / 471.1 MB, free: 13.46 MB / 366.1 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.008988/0.3083, allocations: 5.12 MB / 476.3 MB, free: 10.86 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0045/0.3128, allocations: 2.168 MB / 478.4 MB, free: 10.01 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00105/0.3138, allocations: 0.7381 MB / 479.2 MB, free: 9.641 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.008361/0.3222, allocations: 4.185 MB / 483.3 MB, free: 6.402 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.526e-05/0.3222, allocations: 43.56 kB / 483.4 MB, free: 6.352 MB / 366.1 MB Notification: Performance of pre-optimization done (n=122): time 3.066e-06/0.3222, allocations: 0 / 483.4 MB, free: 6.352 MB / 366.1 MB Notification: Performance of matching and sorting (n=150): time 0.02623/0.3485, allocations: 5.803 MB / 489.2 MB, free: 0.5117 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.244e-05/0.3485, allocations: 98.42 kB / 489.3 MB, free: 408 kB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00102/0.3495, allocations: 0.8601 MB / 490.1 MB, free: 15.52 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001145/0.3496, allocations: 49.7 kB / 490.2 MB, free: 15.46 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006418/0.3503, allocations: 0.8557 MB / 491 MB, free: 14.6 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005079/0.3508, allocations: 0.5369 MB / 491.6 MB, free: 14.07 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005778/0.3514, allocations: 371.4 kB / 491.9 MB, free: 13.7 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001958/0.3516, allocations: 365.8 kB / 492.3 MB, free: 13.34 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001098/0.3526, allocations: 0.5272 MB / 492.8 MB, free: 12.8 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001877/0.3545, allocations: 1.245 MB / 494.1 MB, free: 11.24 MB / 382.1 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.003476/0.358, allocations: 1.975 MB / 496.1 MB, free: 9.031 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.823e-05/0.358, allocations: 8 kB / 496.1 MB, free: 9.023 MB / 382.1 MB Notification: Performance of matching and sorting (n=258) (initialization): time 0.009044/0.3671, allocations: 2.521 MB / 498.6 MB, free: 6.633 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.368e-05/0.3671, allocations: 16 kB / 498.6 MB, free: 6.617 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.276e-05/0.3671, allocations: 27.06 kB / 498.6 MB, free: 6.594 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005987/0.3731, allocations: 0.7065 MB / 499.3 MB, free: 5.883 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002199/0.3753, allocations: 0.5251 MB / 499.9 MB, free: 5.391 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01354/0.3889, allocations: 7.679 MB / 0.4956 GB, free: 13.37 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001631/0.3905, allocations: 72.03 kB / 0.4957 GB, free: 13.3 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002118/0.3907, allocations: 108 kB / 0.4958 GB, free: 13.2 MB / 398.1 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.0008584/0.3916, allocations: 389.1 kB / 0.4962 GB, free: 12.84 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003439/0.3919, allocations: 135.1 kB / 0.4963 GB, free: 12.71 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009818/0.4017, allocations: 2.472 MB / 0.4987 GB, free: 10.2 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.611e-05/0.4017, allocations: 12 kB / 0.4987 GB, free: 10.18 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.128e-05/0.4018, allocations: 7.984 kB / 0.4987 GB, free: 10.18 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.974e-05/0.4018, allocations: 3.984 kB / 0.4987 GB, free: 10.17 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005775/0.4076, allocations: 2.132 MB / 0.5008 GB, free: 8.023 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.705e-06/0.4076, allocations: 0 / 0.5008 GB, free: 8.023 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001644/0.4092, allocations: 313.7 kB / 0.5011 GB, free: 7.73 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.007205/0.4164, allocations: 0.7516 MB / 0.5019 GB, free: 6.969 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001781/0.4166, allocations: 39.98 kB / 0.5019 GB, free: 6.93 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01411/0.4307, allocations: 8.774 MB / 0.5105 GB, free: 13.7 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.833e-06/0.4307, allocations: 4 kB / 0.5105 GB, free: 13.69 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01027/0.441, allocations: 2.798 MB / 0.5132 GB, free: 10.85 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000505/0.4415, allocations: 127.1 kB / 0.5133 GB, free: 10.73 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002357/0.4417, allocations: 28 kB / 0.5134 GB, free: 10.7 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008326/0.4425, allocations: 35.98 kB / 0.5134 GB, free: 10.66 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003769/0.4429, allocations: 128.5 kB / 0.5135 GB, free: 10.54 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001197/0.443, allocations: 51.98 kB / 0.5136 GB, free: 10.49 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0008982/0.4439, allocations: 0.5527 MB / 0.5141 GB, free: 9.93 MB / 414.1 MB Notification: Performance of sort global known variables: time 1e-07/0.4439, allocations: 0 / 0.5141 GB, free: 9.93 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.004055/0.448, allocations: 1.064 MB / 0.5151 GB, free: 8.863 MB / 414.1 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.002797/0.4508, allocations: 1.163 MB / 0.5163 GB, free: 7.832 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.004225/0.455, allocations: 1.982 MB / 0.5182 GB, free: 5.883 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 5.35e-06/0.455, allocations: 0 / 0.5182 GB, free: 5.883 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002428/0.4574, allocations: 1.298 MB / 0.5195 GB, free: 4.555 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001774/0.4592, allocations: 306.6 kB / 0.5198 GB, free: 4.258 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005518/0.4647, allocations: 2.922 MB / 0.5226 GB, free: 1.289 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008045/0.4655, allocations: 0.6799 MB / 0.5233 GB, free: 0.5742 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.00116/0.4667, allocations: 322.9 kB / 0.5236 GB, free: 260 kB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004692/0.4672, allocations: 200.4 kB / 0.5238 GB, free: 56 kB / 414.1 MB Notification: Performance of SimCode: time 7.91e-07/0.4672, allocations: 0 / 0.5238 GB, free: 56 kB / 414.1 MB Notification: Performance of Templates: time 0.062/0.5292, allocations: 37.51 MB / 0.5604 GB, free: 10.91 MB / 462.1 MB " [Timeout remaining time 659] 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=480 -lv LOG_STATS > Chemical_master_Chemical.Obsolete.Examples.ExothermicReaction.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.5291952937841415] Failed to read output from testmodel.py, exit status != 0: 0.5384108908474445 0.552800847 0.267880428 Calling exit ...