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.001677/0.001677, allocations: 116.4 kB / 17.13 MB, free: 6.004 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.001836/0.001836, allocations: 215.2 kB / 20.1 MB, free: 3.051 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.486/1.486, allocations: 230.6 MB / 253.5 MB, free: 15.08 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.1366/0.1366, allocations: 23.9 MB / 333.4 MB, free: 1.16 MB / 254.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.002043/0.002043, allocations: 74.81 kB / 467.2 MB, free: 30.42 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08856/0.0906, allocations: 59.85 MB / 0.5147 GB, free: 12.27 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Chemical.Obsolete.Examples.ExothermicReaction): time 0.01049/0.1011, allocations: 8.631 MB / 0.5231 GB, free: 3.594 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.02918/0.1303, allocations: 23.37 MB / 0.546 GB, free: 12.14 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001114/0.1314, allocations: 31.75 kB / 0.546 GB, free: 12.11 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00144/0.1328, allocations: 0.5157 MB / 0.5465 GB, free: 11.59 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005434/0.1383, allocations: 2.017 MB / 0.5485 GB, free: 9.555 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.007609/0.1459, allocations: 3.033 MB / 0.5514 GB, free: 6.504 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.003448/0.1493, allocations: 2.504 MB / 0.5539 GB, free: 3.988 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001499/0.1508, allocations: 1.165 MB / 0.555 GB, free: 2.773 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001521/0.1523, allocations: 1.255 MB / 0.5562 GB, free: 1.516 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001895/0.1542, allocations: 1.363 MB / 0.5576 GB, free: 152 kB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004086/0.1546, allocations: 216 kB / 0.5578 GB, free: 15.93 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.007283/0.1619, allocations: 2.629 MB / 0.5603 GB, free: 13.3 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006404/0.1626, allocations: 0.5141 MB / 0.5608 GB, free: 12.79 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001258/0.1638, allocations: 1.085 MB / 0.5619 GB, free: 11.7 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009651/0.1735, allocations: 5.198 MB / 0.567 GB, free: 6.48 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.258e-06/0.1735, allocations: 0 / 0.567 GB, free: 6.48 MB / 430.1 MB Notification: Performance of FrontEnd: time 3.797e-06/0.1735, allocations: 3.984 kB / 0.567 GB, free: 6.477 MB / 430.1 MB Notification: Performance of Transformations before backend: time 3.227e-05/0.1735, allocations: 4 kB / 0.567 GB, free: 6.473 MB / 430.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.005222/0.1787, allocations: 2.718 MB / 0.5696 GB, free: 3.691 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.261e-05/0.1788, allocations: 8.031 kB / 0.5696 GB, free: 3.684 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001904/0.1807, allocations: 434.9 kB / 0.5701 GB, free: 3.258 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001668/0.1824, allocations: 0.9677 MB / 0.571 GB, free: 2.246 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001912/0.1826, allocations: 195.5 kB / 0.5712 GB, free: 2.043 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003201/0.1829, allocations: 184.3 kB / 0.5714 GB, free: 1.863 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003669/0.1866, allocations: 2.086 MB / 0.5734 GB, free: 15.75 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.235e-05/0.1866, allocations: 0 / 0.5734 GB, free: 15.75 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002175/0.1868, allocations: 76 kB / 0.5735 GB, free: 15.67 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.944e-05/0.1869, allocations: 44 kB / 0.5735 GB, free: 15.63 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00442/0.1913, allocations: 2.577 MB / 0.576 GB, free: 13.05 MB / 446.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.01125/0.2025, allocations: 6.367 MB / 0.5823 GB, free: 6.461 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005503/0.208, allocations: 2.41 MB / 0.5846 GB, free: 3.977 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001346/0.2094, allocations: 0.7496 MB / 0.5853 GB, free: 3.223 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.2154/0.4248, allocations: 8.078 MB / 0.5932 GB, free: 62.94 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.019e-05/0.4248, allocations: 47.53 kB / 0.5933 GB, free: 62.9 MB / 446.1 MB Notification: Performance of pre-optimization done (n=122): time 2.755e-06/0.4248, allocations: 0.9688 kB / 0.5933 GB, free: 62.9 MB / 446.1 MB Notification: Performance of matching and sorting (n=150): time 0.02749/0.4523, allocations: 6.213 MB / 0.5993 GB, free: 60.54 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.842e-05/0.4524, allocations: 95.36 kB / 0.5994 GB, free: 60.45 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001342/0.4537, allocations: 0.9421 MB / 0.6004 GB, free: 60.06 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001506/0.4539, allocations: 51.55 kB / 0.6004 GB, free: 60.01 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004239/0.4543, allocations: 0.8543 MB / 0.6012 GB, free: 59.43 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003771/0.4547, allocations: 0.5453 MB / 0.6018 GB, free: 59.07 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005224/0.4552, allocations: 376.4 kB / 0.6021 GB, free: 58.89 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 3.417e-05/0.4552, allocations: 301.6 kB / 0.6024 GB, free: 58.59 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009933/0.4562, allocations: 0.5295 MB / 0.6029 GB, free: 58.39 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001277/0.4575, allocations: 1.246 MB / 0.6041 GB, free: 57.27 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.002571/0.4601, allocations: 2.045 MB / 0.6061 GB, free: 55.68 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.376e-05/0.4601, allocations: 7.156 kB / 0.6062 GB, free: 55.68 MB / 446.1 MB Notification: Performance of matching and sorting (n=258) (initialization): time 0.008419/0.4685, allocations: 2.532 MB / 0.6086 GB, free: 54.73 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.094e-05/0.4685, allocations: 22 kB / 0.6086 GB, free: 54.72 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.841e-05/0.4685, allocations: 23.66 kB / 0.6087 GB, free: 54.72 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005624/0.4742, allocations: 0.6983 MB / 0.6093 GB, free: 54.59 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002067/0.4762, allocations: 0.522 MB / 0.6099 GB, free: 54.54 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01076/0.487, allocations: 8.277 MB / 0.6179 GB, free: 47.38 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00158/0.4886, allocations: 79.27 kB / 0.618 GB, free: 47.34 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001669/0.4887, allocations: 109.7 kB / 0.6181 GB, free: 47.32 MB / 446.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.0006689/0.4894, allocations: 386.7 kB / 0.6185 GB, free: 47.05 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002968/0.4897, allocations: 146.1 kB / 0.6186 GB, free: 46.97 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008443/0.4981, allocations: 2.463 MB / 0.621 GB, free: 45.86 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.044e-05/0.4982, allocations: 15.75 kB / 0.6211 GB, free: 45.86 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.725e-06/0.4982, allocations: 3.969 kB / 0.6211 GB, free: 45.86 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.707e-05/0.4982, allocations: 13.61 kB / 0.6211 GB, free: 45.85 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004679/0.5029, allocations: 2.532 MB / 0.6235 GB, free: 44.14 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.947e-06/0.5029, allocations: 0 / 0.6235 GB, free: 44.14 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001471/0.5043, allocations: 316.1 kB / 0.6238 GB, free: 44.07 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.006549/0.5109, allocations: 0.7475 MB / 0.6246 GB, free: 43.7 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001043/0.511, allocations: 39.77 kB / 0.6246 GB, free: 43.68 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01051/0.5215, allocations: 9.495 MB / 0.6339 GB, free: 34.71 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.436e-06/0.5215, allocations: 5.953 kB / 0.6339 GB, free: 34.71 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008552/0.5301, allocations: 2.81 MB / 0.6366 GB, free: 32.54 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002839/0.5303, allocations: 214.3 kB / 0.6368 GB, free: 32.31 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001955/0.5305, allocations: 39.94 kB / 0.6369 GB, free: 32.27 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008457/0.5314, allocations: 32 kB / 0.6369 GB, free: 32.24 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002553/0.5316, allocations: 121 kB / 0.637 GB, free: 32.12 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001283/0.5318, allocations: 51.98 kB / 0.6371 GB, free: 32.07 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0006461/0.5324, allocations: 0.6342 MB / 0.6377 GB, free: 31.43 MB / 446.1 MB Notification: Performance of sort global known variables: time 9e-08/0.5324, allocations: 4 kB / 0.6377 GB, free: 31.43 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.002879/0.5353, allocations: 1.062 MB / 0.6387 GB, free: 30.41 MB / 446.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.00159/0.5369, allocations: 1.122 MB / 0.6398 GB, free: 29.41 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.003062/0.5399, allocations: 1.991 MB / 0.6418 GB, free: 27.38 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.827e-06/0.5399, allocations: 4 kB / 0.6418 GB, free: 27.37 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001703/0.5417, allocations: 1.3 MB / 0.643 GB, free: 26.01 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001526/0.5432, allocations: 317.7 kB / 0.6433 GB, free: 25.71 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003953/0.5471, allocations: 3.086 MB / 0.6464 GB, free: 22.57 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005463/0.5477, allocations: 1.264 MB / 0.6476 GB, free: 21.28 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005301/0.5482, allocations: 263.3 kB / 0.6478 GB, free: 21.02 MB / 446.1 MB Notification: Performance of SimCode: time 4.81e-07/0.5482, allocations: 4 kB / 0.6478 GB, free: 21.02 MB / 446.1 MB Notification: Performance of Templates: time 0.05867/0.6069, allocations: 57.61 MB / 0.7041 GB, free: 11.48 MB / 494.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: 11.051237525010947] Failed to read output from testmodel.py, exit status != 0: 0.6149344300210942 0.629425553 0.45290249 Calling exit ...