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.001618/0.001618, allocations: 96.42 kB / 19.7 MB, free: 2.133 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.002011/0.002011, allocations: 211.5 kB / 22.99 MB, free: 4.957 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.396/1.396, allocations: 230.6 MB / 256.8 MB, free: 7.789 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.1325/0.1325, allocations: 23.92 MB / 337.1 MB, free: 10.92 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.001993/0.001993, allocations: 63.91 kB / 472.4 MB, free: 6.953 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2763/0.2783, allocations: 59.87 MB / 0.5198 GB, free: 9.812 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Chemical.Obsolete.Examples.ExothermicReaction): time 0.007282/0.2856, allocations: 7.592 MB / 0.5272 GB, free: 4.77 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.02485/0.3105, allocations: 20.51 MB / 0.5473 GB, free: 6.777 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001342/0.3118, allocations: 26.09 kB / 0.5473 GB, free: 6.766 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001376/0.3132, allocations: 482.5 kB / 0.5478 GB, free: 6.516 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006011/0.3192, allocations: 2.037 MB / 0.5497 GB, free: 5.27 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.008707/0.3279, allocations: 3.064 MB / 0.5527 GB, free: 3.207 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.003787/0.3317, allocations: 2.501 MB / 0.5552 GB, free: 1.707 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001537/0.3332, allocations: 1.159 MB / 0.5563 GB, free: 0.8359 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001456/0.3347, allocations: 1.248 MB / 0.5575 GB, free: 260 kB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001851/0.3365, allocations: 1.377 MB / 0.5589 GB, free: 15.42 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003277/0.3369, allocations: 215.9 kB / 0.5591 GB, free: 15.42 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.007377/0.3442, allocations: 2.526 MB / 0.5615 GB, free: 14.55 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005257/0.3448, allocations: 0.5179 MB / 0.562 GB, free: 14.13 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001117/0.3459, allocations: 0.9269 MB / 0.563 GB, free: 13.37 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009893/0.3558, allocations: 5.179 MB / 0.568 GB, free: 8.172 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.899e-06/0.3558, allocations: 0 / 0.568 GB, free: 8.172 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.653e-06/0.3558, allocations: 0 / 0.568 GB, free: 8.172 MB / 414.1 MB Notification: Performance of Transformations before backend: time 2.626e-05/0.3558, allocations: 0 / 0.568 GB, free: 8.172 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.005165/0.361, allocations: 2.647 MB / 0.5706 GB, free: 5.48 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.415e-05/0.361, allocations: 8.031 kB / 0.5706 GB, free: 5.473 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001836/0.3628, allocations: 430.9 kB / 0.571 GB, free: 5.051 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001705/0.3646, allocations: 0.9021 MB / 0.5719 GB, free: 4.121 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002104/0.3648, allocations: 246.9 kB / 0.5721 GB, free: 3.855 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003264/0.3651, allocations: 192.3 kB / 0.5723 GB, free: 3.668 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003471/0.3686, allocations: 2.082 MB / 0.5743 GB, free: 1.555 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.755e-05/0.3686, allocations: 4 kB / 0.5744 GB, free: 1.551 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001801/0.3688, allocations: 71.94 kB / 0.5744 GB, free: 1.48 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.647e-05/0.3688, allocations: 44 kB / 0.5745 GB, free: 1.438 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004074/0.3729, allocations: 2.557 MB / 0.577 GB, free: 14.88 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.009853/0.3827, allocations: 5.125 MB / 0.582 GB, free: 9.648 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005364/0.3881, allocations: 2.168 MB / 0.5841 GB, free: 7.457 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001219/0.3893, allocations: 0.7416 MB / 0.5848 GB, free: 6.711 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.009526/0.3989, allocations: 4.183 MB / 0.5889 GB, free: 2.504 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.841e-05/0.3989, allocations: 47.56 kB / 0.5889 GB, free: 2.449 MB / 430.1 MB Notification: Performance of pre-optimization done (n=122): time 2.836e-06/0.3989, allocations: 0 / 0.5889 GB, free: 2.449 MB / 430.1 MB Notification: Performance of matching and sorting (n=150): time 0.03024/0.4291, allocations: 5.807 MB / 0.5946 GB, free: 12.56 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.585e-05/0.4292, allocations: 98.36 kB / 0.5947 GB, free: 12.45 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001064/0.4303, allocations: 0.864 MB / 0.5955 GB, free: 11.56 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000111/0.4304, allocations: 57.7 kB / 0.5956 GB, free: 11.5 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006152/0.431, allocations: 0.8628 MB / 0.5964 GB, free: 10.62 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004681/0.4315, allocations: 0.5345 MB / 0.597 GB, free: 10.09 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005316/0.432, allocations: 379.4 kB / 0.5973 GB, free: 9.707 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001729/0.4322, allocations: 357.9 kB / 0.5977 GB, free: 9.352 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009754/0.4331, allocations: 0.5272 MB / 0.5982 GB, free: 8.82 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00157/0.4347, allocations: 1.239 MB / 0.5994 GB, free: 7.242 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.00286/0.4376, allocations: 1.977 MB / 0.6013 GB, free: 4.938 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.372e-05/0.4376, allocations: 8 kB / 0.6013 GB, free: 4.93 MB / 446.1 MB Notification: Performance of matching and sorting (n=258) (initialization): time 0.009053/0.4466, allocations: 2.526 MB / 0.6038 GB, free: 2.383 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.822e-05/0.4467, allocations: 16 kB / 0.6038 GB, free: 2.367 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.442e-05/0.4467, allocations: 24 kB / 0.6038 GB, free: 2.344 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00658/0.4533, allocations: 0.7018 MB / 0.6045 GB, free: 1.629 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002091/0.4554, allocations: 0.5188 MB / 0.605 GB, free: 1.109 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01275/0.4681, allocations: 7.685 MB / 0.6125 GB, free: 9.012 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001421/0.4695, allocations: 80.02 kB / 0.6126 GB, free: 8.934 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001903/0.4697, allocations: 115.9 kB / 0.6127 GB, free: 8.82 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.0006834/0.4704, allocations: 389 kB / 0.6131 GB, free: 8.43 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002934/0.4707, allocations: 135.2 kB / 0.6132 GB, free: 8.297 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009827/0.4805, allocations: 2.465 MB / 0.6156 GB, free: 5.773 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.647e-05/0.4806, allocations: 12 kB / 0.6156 GB, free: 5.762 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.334e-06/0.4806, allocations: 7.938 kB / 0.6156 GB, free: 5.754 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.321e-05/0.4806, allocations: 3.984 kB / 0.6157 GB, free: 5.75 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005269/0.4858, allocations: 2.125 MB / 0.6177 GB, free: 3.547 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.205e-06/0.4859, allocations: 4 kB / 0.6177 GB, free: 3.543 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0015/0.4874, allocations: 308 kB / 0.618 GB, free: 3.242 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.007688/0.495, allocations: 0.7494 MB / 0.6188 GB, free: 2.477 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001223/0.4952, allocations: 39.98 kB / 0.6188 GB, free: 2.438 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01322/0.5084, allocations: 8.779 MB / 0.6274 GB, free: 9.148 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.775e-06/0.5084, allocations: 352 / 0.6274 GB, free: 9.148 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0101/0.5185, allocations: 2.806 MB / 0.6301 GB, free: 6.281 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003445/0.5188, allocations: 123 kB / 0.6302 GB, free: 6.16 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001949/0.519, allocations: 35.98 kB / 0.6303 GB, free: 6.125 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008288/0.5199, allocations: 36 kB / 0.6303 GB, free: 6.09 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002973/0.5202, allocations: 129 kB / 0.6304 GB, free: 5.965 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001102/0.5203, allocations: 51.98 kB / 0.6305 GB, free: 5.914 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.0007406/0.521, allocations: 0.5566 MB / 0.631 GB, free: 5.348 MB / 478.1 MB Notification: Performance of sort global known variables: time 9e-08/0.521, allocations: 0 / 0.631 GB, free: 5.348 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.003296/0.5243, allocations: 1.056 MB / 0.632 GB, free: 4.289 MB / 478.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.002038/0.5263, allocations: 1.125 MB / 0.6331 GB, free: 3.148 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.00369/0.53, allocations: 1.991 MB / 0.6351 GB, free: 1.109 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 4.048e-06/0.53, allocations: 0 / 0.6351 GB, free: 1.109 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002128/0.5322, allocations: 1.302 MB / 0.6364 GB, free: 15.74 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001471/0.5336, allocations: 305.9 kB / 0.6366 GB, free: 15.45 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004877/0.5385, allocations: 3.029 MB / 0.6396 GB, free: 12.36 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007428/0.5393, allocations: 0.6876 MB / 0.6403 GB, free: 11.63 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.001077/0.5403, allocations: 315 kB / 0.6406 GB, free: 11.32 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004284/0.5408, allocations: 191.3 kB / 0.6408 GB, free: 11.13 MB / 494.1 MB Notification: Performance of SimCode: time 9.12e-07/0.5408, allocations: 0 / 0.6408 GB, free: 11.13 MB / 494.1 MB Notification: Performance of Templates: time 0.0594/0.6002, allocations: 40.34 MB / 0.6801 GB, free: 3.078 MB / 0.5137 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 -s gbode -lv LOG_STATS > Chemical_master_Chemical.Obsolete.Examples.ExothermicReaction.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.367209402000299] Failed to read output from testmodel.py, exit status != 0: 0.6086029650032287 0.622373249 0.26357685000000003 Calling exit ...