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.001425/0.001425, allocations: 110.2 kB / 19.69 MB, free: 2.254 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.001865/0.001865, allocations: 214.9 kB / 23.01 MB, free: 4.566 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.586/1.586, allocations: 230.6 MB / 256.8 MB, free: 8.004 MB / 206.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.1426/0.1426, allocations: 23.88 MB / 337.1 MB, free: 11.16 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: Chemical requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002059/0.002059, allocations: 67.91 kB / 472.5 MB, free: 7.137 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3682/0.3703, allocations: 59.88 MB / 0.5199 GB, free: 9.824 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Chemical.Obsolete.Examples.ExothermicReaction): time 0.008647/0.3789, allocations: 8.669 MB / 0.5283 GB, free: 3.637 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.03144/0.4103, allocations: 23.43 MB / 0.5512 GB, free: 2.535 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002564/0.4129, allocations: 30.31 kB / 0.5513 GB, free: 2.52 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00216/0.4151, allocations: 0.5145 MB / 0.5518 GB, free: 2.227 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.009154/0.4242, allocations: 2.05 MB / 0.5538 GB, free: 0.9688 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0114/0.4356, allocations: 3.052 MB / 0.5567 GB, free: 14.92 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.005253/0.4409, allocations: 2.507 MB / 0.5592 GB, free: 13.41 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002067/0.4429, allocations: 1.162 MB / 0.5603 GB, free: 12.54 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00263/0.4456, allocations: 1.243 MB / 0.5615 GB, free: 11.96 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003371/0.4489, allocations: 1.373 MB / 0.5629 GB, free: 11.14 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0006062/0.4496, allocations: 216.2 kB / 0.5631 GB, free: 11.14 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01209/0.4616, allocations: 2.627 MB / 0.5656 GB, free: 10.16 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001174/0.4628, allocations: 0.5067 MB / 0.5661 GB, free: 9.75 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002394/0.4652, allocations: 1.098 MB / 0.5672 GB, free: 9.012 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0166/0.4818, allocations: 5.196 MB / 0.5723 GB, free: 4.113 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.254e-06/0.4818, allocations: 4 kB / 0.5723 GB, free: 4.109 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.174e-06/0.4818, allocations: 0 / 0.5723 GB, free: 4.109 MB / 414.1 MB Notification: Performance of Transformations before backend: time 6.472e-05/0.4819, allocations: 0 / 0.5723 GB, free: 4.109 MB / 414.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.006694/0.4886, allocations: 2.646 MB / 0.5749 GB, free: 1.422 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.37e-05/0.4886, allocations: 15.97 kB / 0.5749 GB, free: 1.406 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002028/0.4906, allocations: 434.8 kB / 0.5753 GB, free: 0.9805 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002069/0.4927, allocations: 0.8982 MB / 0.5762 GB, free: 56 kB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002765/0.493, allocations: 251 kB / 0.5764 GB, free: 15.78 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003347/0.4933, allocations: 184.3 kB / 0.5766 GB, free: 15.6 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003836/0.4972, allocations: 2.086 MB / 0.5786 GB, free: 13.48 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.555e-05/0.4972, allocations: 0 / 0.5786 GB, free: 13.48 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001803/0.4974, allocations: 72 kB / 0.5787 GB, free: 13.41 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.925e-05/0.4974, allocations: 44 kB / 0.5787 GB, free: 13.37 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004445/0.5019, allocations: 2.581 MB / 0.5813 GB, free: 10.79 MB / 430.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.01216/0.514, allocations: 6.294 MB / 0.5874 GB, free: 4.27 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005259/0.5193, allocations: 2.193 MB / 0.5896 GB, free: 2.055 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001445/0.5207, allocations: 0.7416 MB / 0.5903 GB, free: 1.309 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01034/0.5311, allocations: 4.432 MB / 0.5946 GB, free: 12.85 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.841e-05/0.5311, allocations: 47.56 kB / 0.5947 GB, free: 12.79 MB / 446.1 MB Notification: Performance of pre-optimization done (n=122): time 3.537e-06/0.5311, allocations: 0 / 0.5947 GB, free: 12.79 MB / 446.1 MB Notification: Performance of matching and sorting (n=150): time 0.02849/0.5596, allocations: 5.832 MB / 0.6003 GB, free: 6.883 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.514e-05/0.5597, allocations: 94.42 kB / 0.6004 GB, free: 6.773 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001486/0.5612, allocations: 0.9375 MB / 0.6014 GB, free: 5.82 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002428/0.5614, allocations: 53.7 kB / 0.6014 GB, free: 5.762 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006862/0.5621, allocations: 0.8589 MB / 0.6022 GB, free: 4.891 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006175/0.5628, allocations: 0.5384 MB / 0.6028 GB, free: 4.348 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005231/0.5633, allocations: 375.4 kB / 0.6031 GB, free: 3.973 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001324/0.5634, allocations: 305.1 kB / 0.6034 GB, free: 3.672 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009976/0.5644, allocations: 0.5271 MB / 0.6039 GB, free: 3.141 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001721/0.5661, allocations: 1.247 MB / 0.6051 GB, free: 1.559 MB / 446.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.003158/0.5693, allocations: 1.973 MB / 0.6071 GB, free: 15.25 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.703e-05/0.5693, allocations: 8 kB / 0.6071 GB, free: 15.25 MB / 462.1 MB Notification: Performance of matching and sorting (n=258) (initialization): time 0.008927/0.5782, allocations: 2.526 MB / 0.6096 GB, free: 12.7 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.556e-05/0.5783, allocations: 16 kB / 0.6096 GB, free: 12.68 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.239e-05/0.5783, allocations: 24 kB / 0.6096 GB, free: 12.66 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005863/0.5842, allocations: 0.7019 MB / 0.6103 GB, free: 11.94 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00227/0.5865, allocations: 0.5266 MB / 0.6108 GB, free: 11.41 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01294/0.5994, allocations: 7.862 MB / 0.6185 GB, free: 3.098 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001795/0.6012, allocations: 75.95 kB / 0.6185 GB, free: 3.023 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002393/0.6014, allocations: 116 kB / 0.6186 GB, free: 2.91 MB / 462.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.0008592/0.6023, allocations: 381 kB / 0.619 GB, free: 2.527 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004048/0.6027, allocations: 147.3 kB / 0.6192 GB, free: 2.383 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009382/0.6121, allocations: 2.474 MB / 0.6216 GB, free: 15.85 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.351e-05/0.6121, allocations: 12 kB / 0.6216 GB, free: 15.84 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.445e-05/0.6121, allocations: 4 kB / 0.6216 GB, free: 15.83 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.723e-05/0.6121, allocations: 11.91 kB / 0.6216 GB, free: 15.82 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006033/0.6182, allocations: 2.517 MB / 0.6241 GB, free: 13.21 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.415e-05/0.6182, allocations: 8 kB / 0.6241 GB, free: 13.21 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001458/0.6196, allocations: 315.8 kB / 0.6244 GB, free: 12.9 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.006695/0.6263, allocations: 0.7416 MB / 0.6251 GB, free: 12.14 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002957/0.6266, allocations: 43.92 kB / 0.6251 GB, free: 12.1 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01339/0.64, allocations: 8.975 MB / 0.6339 GB, free: 2.551 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.646e-06/0.64, allocations: 11.88 kB / 0.6339 GB, free: 2.539 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009937/0.65, allocations: 2.8 MB / 0.6366 GB, free: 15.68 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005065/0.6505, allocations: 138.9 kB / 0.6368 GB, free: 15.54 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002405/0.6507, allocations: 32 kB / 0.6368 GB, free: 15.51 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000797/0.6515, allocations: 28 kB / 0.6368 GB, free: 15.48 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000347/0.6519, allocations: 141 kB / 0.637 GB, free: 15.34 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001108/0.652, allocations: 51.97 kB / 0.637 GB, free: 15.29 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0009438/0.6529, allocations: 0.6266 MB / 0.6376 GB, free: 14.66 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.6529, allocations: 4 kB / 0.6376 GB, free: 14.66 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.003811/0.6567, allocations: 1.068 MB / 0.6387 GB, free: 13.59 MB / 494.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.002541/0.6593, allocations: 1.117 MB / 0.6398 GB, free: 12.46 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.004266/0.6635, allocations: 1.995 MB / 0.6417 GB, free: 10.42 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 7.544e-06/0.6635, allocations: 0 / 0.6417 GB, free: 10.42 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002382/0.6659, allocations: 1.298 MB / 0.643 GB, free: 9.055 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001883/0.6678, allocations: 327.9 kB / 0.6433 GB, free: 8.738 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005926/0.6737, allocations: 3.087 MB / 0.6463 GB, free: 5.582 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00105/0.6748, allocations: 1.256 MB / 0.6475 GB, free: 4.293 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008248/0.6756, allocations: 271.3 kB / 0.6478 GB, free: 4.027 MB / 494.1 MB Notification: Performance of SimCode: time 1.663e-06/0.6756, allocations: 0 / 0.6478 GB, free: 4.027 MB / 494.1 MB Notification: Performance of Templates: time 0.07683/0.7524, allocations: 57.61 MB / 0.7041 GB, free: 10.48 MB / 0.545 GB " [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: 11.7560393140011] Failed to read output from testmodel.py, exit status != 0: 0.7632376179972198 0.778401859 0.293035091 Calling exit ...