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.001673/0.001673, allocations: 114.3 kB / 18.94 MB, free: 2.934 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.001622/0.001622, allocations: 215.1 kB / 22.25 MB, free: 5.082 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.454/1.454, allocations: 230.6 MB / 256 MB, free: 8.031 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.1447/0.1447, allocations: 23.89 MB / 336.3 MB, free: 11.19 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.00208/0.00208, allocations: 59.91 kB / 471.7 MB, free: 7.172 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3294/0.3315, allocations: 59.87 MB / 0.5191 GB, free: 9.809 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Chemical.Obsolete.Examples.ExothermicReaction): time 0.008284/0.3398, allocations: 8.675 MB / 0.5276 GB, free: 3.617 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.02932/0.3691, allocations: 23.42 MB / 0.5505 GB, free: 2.52 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001778/0.3709, allocations: 30.62 kB / 0.5505 GB, free: 2.504 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001757/0.3726, allocations: 0.518 MB / 0.551 GB, free: 2.207 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007295/0.3799, allocations: 2.042 MB / 0.553 GB, free: 0.957 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01067/0.3906, allocations: 3.055 MB / 0.556 GB, free: 14.91 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.004815/0.3954, allocations: 2.51 MB / 0.5584 GB, free: 13.41 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002179/0.3976, allocations: 1.155 MB / 0.5596 GB, free: 12.54 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002345/0.4, allocations: 1.252 MB / 0.5608 GB, free: 11.95 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003036/0.403, allocations: 1.372 MB / 0.5621 GB, free: 11.13 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005051/0.4035, allocations: 215.8 kB / 0.5623 GB, free: 11.13 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01089/0.4144, allocations: 2.631 MB / 0.5649 GB, free: 10.15 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001078/0.4155, allocations: 0.5074 MB / 0.5654 GB, free: 9.738 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002224/0.4177, allocations: 1.091 MB / 0.5665 GB, free: 9.008 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01404/0.4317, allocations: 5.198 MB / 0.5715 GB, free: 4.137 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.141e-06/0.4317, allocations: 4 kB / 0.5715 GB, free: 4.133 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.483e-06/0.4317, allocations: 0 / 0.5715 GB, free: 4.133 MB / 414.1 MB Notification: Performance of Transformations before backend: time 4.507e-05/0.4318, allocations: 0 / 0.5715 GB, free: 4.133 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.005786/0.4376, allocations: 2.65 MB / 0.5741 GB, free: 1.441 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.441e-05/0.4376, allocations: 8.031 kB / 0.5741 GB, free: 1.434 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001997/0.4396, allocations: 434.9 kB / 0.5745 GB, free: 1.008 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001991/0.4416, allocations: 0.906 MB / 0.5754 GB, free: 76 kB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002494/0.4418, allocations: 243 kB / 0.5757 GB, free: 15.81 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003245/0.4422, allocations: 188.3 kB / 0.5758 GB, free: 15.63 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003699/0.4459, allocations: 2.086 MB / 0.5779 GB, free: 13.51 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.521e-05/0.4459, allocations: 0 / 0.5779 GB, free: 13.51 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000182/0.4461, allocations: 72 kB / 0.578 GB, free: 13.44 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.77e-05/0.4461, allocations: 44 kB / 0.578 GB, free: 13.4 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004443/0.4506, allocations: 2.581 MB / 0.5805 GB, free: 10.82 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.01176/0.4623, allocations: 6.301 MB / 0.5867 GB, free: 4.285 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005343/0.4677, allocations: 2.189 MB / 0.5888 GB, free: 2.074 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001338/0.469, allocations: 0.7455 MB / 0.5895 GB, free: 1.324 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01025/0.4793, allocations: 4.432 MB / 0.5939 GB, free: 12.86 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.436e-05/0.4793, allocations: 47.5 kB / 0.5939 GB, free: 12.81 MB / 446.1 MB Notification: Performance of pre-optimization done (n=122): time 3.075e-06/0.4793, allocations: 4 kB / 0.5939 GB, free: 12.8 MB / 446.1 MB Notification: Performance of matching and sorting (n=150): time 0.02947/0.5088, allocations: 5.827 MB / 0.5996 GB, free: 6.898 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.337e-05/0.5089, allocations: 94.42 kB / 0.5997 GB, free: 6.789 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001468/0.5103, allocations: 0.9375 MB / 0.6006 GB, free: 5.836 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001827/0.5105, allocations: 53.7 kB / 0.6007 GB, free: 5.777 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007157/0.5112, allocations: 0.8628 MB / 0.6015 GB, free: 4.902 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006321/0.5119, allocations: 0.5345 MB / 0.602 GB, free: 4.363 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006637/0.5125, allocations: 383.3 kB / 0.6024 GB, free: 3.98 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001334/0.5127, allocations: 301.1 kB / 0.6027 GB, free: 3.684 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001096/0.5138, allocations: 0.5272 MB / 0.6032 GB, free: 3.152 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001744/0.5155, allocations: 1.243 MB / 0.6044 GB, free: 1.574 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.003251/0.5188, allocations: 1.973 MB / 0.6063 GB, free: 15.27 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.205e-05/0.5188, allocations: 8 kB / 0.6063 GB, free: 15.26 MB / 462.1 MB Notification: Performance of matching and sorting (n=258) (initialization): time 0.009216/0.528, allocations: 2.526 MB / 0.6088 GB, free: 12.71 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.34e-05/0.528, allocations: 16 kB / 0.6088 GB, free: 12.7 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.611e-05/0.5281, allocations: 24 kB / 0.6088 GB, free: 12.67 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006132/0.5342, allocations: 0.698 MB / 0.6095 GB, free: 11.96 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00224/0.5365, allocations: 0.5227 MB / 0.61 GB, free: 11.44 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01388/0.5503, allocations: 7.862 MB / 0.6177 GB, free: 3.121 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001589/0.5519, allocations: 71.98 kB / 0.6178 GB, free: 3.051 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000356/0.5523, allocations: 120 kB / 0.6179 GB, free: 2.934 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.0009713/0.5533, allocations: 377.1 kB / 0.6183 GB, free: 2.555 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004869/0.5537, allocations: 147.3 kB / 0.6184 GB, free: 2.41 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009893/0.5636, allocations: 2.474 MB / 0.6208 GB, free: 15.88 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.033e-05/0.5637, allocations: 16.14 kB / 0.6208 GB, free: 15.86 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.215e-05/0.5637, allocations: 0 / 0.6208 GB, free: 15.86 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.914e-05/0.5637, allocations: 15.89 kB / 0.6208 GB, free: 15.84 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006304/0.57, allocations: 2.517 MB / 0.6233 GB, free: 13.24 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.021e-05/0.57, allocations: 4 kB / 0.6233 GB, free: 13.23 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001508/0.5715, allocations: 311.6 kB / 0.6236 GB, free: 12.93 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.007365/0.5789, allocations: 0.7495 MB / 0.6243 GB, free: 12.16 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001886/0.5791, allocations: 47.92 kB / 0.6244 GB, free: 12.12 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01405/0.5931, allocations: 8.975 MB / 0.6331 GB, free: 2.57 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.464e-06/0.5931, allocations: 11.88 kB / 0.6332 GB, free: 2.559 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0102/0.6033, allocations: 2.8 MB / 0.6359 GB, free: 15.7 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004816/0.6038, allocations: 134.9 kB / 0.636 GB, free: 15.57 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003438/0.6042, allocations: 32 kB / 0.636 GB, free: 15.54 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009985/0.6052, allocations: 35.98 kB / 0.6361 GB, free: 15.5 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003672/0.6055, allocations: 137 kB / 0.6362 GB, free: 15.37 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001208/0.6056, allocations: 47.98 kB / 0.6363 GB, free: 15.32 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.001069/0.6067, allocations: 0.6344 MB / 0.6369 GB, free: 14.68 MB / 494.1 MB Notification: Performance of sort global known variables: time 9e-08/0.6067, allocations: 0 / 0.6369 GB, free: 14.68 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.003733/0.6105, allocations: 1.064 MB / 0.6379 GB, free: 13.61 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.00279/0.6132, allocations: 1.125 MB / 0.639 GB, free: 12.47 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.004161/0.6174, allocations: 1.983 MB / 0.641 GB, free: 10.45 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 8.305e-06/0.6174, allocations: 0 / 0.641 GB, free: 10.45 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002487/0.6199, allocations: 1.309 MB / 0.6422 GB, free: 9.07 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002114/0.622, allocations: 324.2 kB / 0.6425 GB, free: 8.758 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006573/0.6286, allocations: 3.053 MB / 0.6455 GB, free: 5.645 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001336/0.6299, allocations: 1.264 MB / 0.6468 GB, free: 4.348 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.001329/0.6313, allocations: 323.9 kB / 0.6471 GB, free: 4.027 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005775/0.6318, allocations: 199.3 kB / 0.6473 GB, free: 3.832 MB / 494.1 MB Notification: Performance of SimCode: time 1.202e-06/0.6318, allocations: 0 / 0.6473 GB, free: 3.832 MB / 494.1 MB Notification: Performance of Templates: time 0.0686/0.7004, allocations: 39.78 MB / 0.6861 GB, free: 12.2 MB / 0.5294 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: 6.78066470194608] Failed to read output from testmodel.py, exit status != 0: 0.7103769569657743 0.7265488959999999 0.291288894 Calling exit ...