Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Chemical_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.001433/0.001433, 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.001607/0.001607, allocations: 214.1 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.518/1.518, allocations: 230.6 MB / 256.8 MB, free: 7.785 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 2.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 2.0.0/package.mo): time 0.1519/0.1519, allocations: 23.88 MB / 337.1 MB, free: 10.96 MB / 270.1 MB " [Timeout remaining time 180] Using package Chemical with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 2.0.0/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_Chemical.Obsolete.Examples.ExothermicReaction") translateModel(Chemical.Obsolete.Examples.ExothermicReaction,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Chemical_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.00205/0.00205, allocations: 71.89 kB / 472.4 MB, free: 7.023 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3433/0.3454, allocations: 59.86 MB / 0.5197 GB, free: 9.781 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Chemical.Obsolete.Examples.ExothermicReaction): time 0.008256/0.3536, allocations: 7.581 MB / 0.5272 GB, free: 4.746 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.02756/0.3812, allocations: 20.51 MB / 0.5472 GB, free: 6.75 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001843/0.383, allocations: 30.22 kB / 0.5472 GB, free: 6.734 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001631/0.3847, allocations: 487.3 kB / 0.5477 GB, free: 6.48 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007368/0.392, allocations: 2.037 MB / 0.5497 GB, free: 5.234 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.009722/0.4018, allocations: 3.062 MB / 0.5527 GB, free: 3.18 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.004297/0.4061, allocations: 2.504 MB / 0.5551 GB, free: 1.676 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001781/0.4078, allocations: 1.156 MB / 0.5562 GB, free: 0.8086 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001658/0.4095, allocations: 1.248 MB / 0.5574 GB, free: 232 kB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002097/0.4116, allocations: 1.377 MB / 0.5588 GB, free: 15.39 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003563/0.4119, allocations: 215.8 kB / 0.559 GB, free: 15.39 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.007734/0.4197, allocations: 2.53 MB / 0.5615 GB, free: 14.52 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006126/0.4203, allocations: 0.5101 MB / 0.562 GB, free: 14.11 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001303/0.4216, allocations: 0.9271 MB / 0.5629 GB, free: 13.5 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01196/0.4335, allocations: 5.183 MB / 0.5679 GB, free: 8.297 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.552e-06/0.4336, allocations: 0 / 0.5679 GB, free: 8.297 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.244e-06/0.4336, allocations: 0 / 0.5679 GB, free: 8.297 MB / 414.1 MB Notification: Performance of Transformations before backend: time 2.579e-05/0.4336, allocations: 0 / 0.5679 GB, free: 8.297 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.005452/0.439, allocations: 2.643 MB / 0.5705 GB, free: 5.609 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.18e-05/0.4391, allocations: 8.031 kB / 0.5705 GB, free: 5.602 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001892/0.441, allocations: 426.9 kB / 0.5709 GB, free: 5.184 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001977/0.4429, allocations: 0.9099 MB / 0.5718 GB, free: 4.246 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002482/0.4432, allocations: 243 kB / 0.5721 GB, free: 3.984 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003573/0.4436, allocations: 188.3 kB / 0.5722 GB, free: 3.801 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003763/0.4473, allocations: 2.086 MB / 0.5743 GB, free: 1.684 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.319e-05/0.4474, allocations: 7.984 kB / 0.5743 GB, free: 1.676 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001917/0.4476, allocations: 76 kB / 0.5743 GB, free: 1.602 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.051e-05/0.4476, allocations: 44 kB / 0.5744 GB, free: 1.559 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004495/0.4521, allocations: 2.557 MB / 0.5769 GB, free: 15 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.01115/0.4632, allocations: 5.129 MB / 0.5819 GB, free: 9.766 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005647/0.4689, allocations: 2.161 MB / 0.584 GB, free: 7.582 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001389/0.4703, allocations: 0.7416 MB / 0.5847 GB, free: 6.836 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01043/0.4807, allocations: 4.183 MB / 0.5888 GB, free: 2.629 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.193e-05/0.4807, allocations: 43.56 kB / 0.5889 GB, free: 2.578 MB / 430.1 MB Notification: Performance of pre-optimization done (n=122): time 3.096e-06/0.4807, allocations: 0 / 0.5889 GB, free: 2.578 MB / 430.1 MB Notification: Performance of matching and sorting (n=150): time 0.03234/0.5131, allocations: 5.818 MB / 0.5945 GB, free: 12.68 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.491e-05/0.5132, allocations: 98.36 kB / 0.5946 GB, free: 12.57 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00123/0.5144, allocations: 0.8601 MB / 0.5955 GB, free: 11.69 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001514/0.5145, allocations: 49.7 kB / 0.5955 GB, free: 11.63 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007022/0.5152, allocations: 0.8667 MB / 0.5964 GB, free: 10.75 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005939/0.5158, allocations: 0.5422 MB / 0.5969 GB, free: 10.21 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006013/0.5164, allocations: 379.4 kB / 0.5973 GB, free: 9.828 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0002039/0.5166, allocations: 361.9 kB / 0.5976 GB, free: 9.469 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001047/0.5177, allocations: 0.5271 MB / 0.5981 GB, free: 8.938 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001719/0.5194, allocations: 1.239 MB / 0.5993 GB, free: 7.359 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.003229/0.5226, allocations: 1.973 MB / 0.6013 GB, free: 5.059 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.474e-05/0.5227, allocations: 8 kB / 0.6013 GB, free: 5.051 MB / 446.1 MB Notification: Performance of matching and sorting (n=258) (initialization): time 0.009688/0.5323, allocations: 2.53 MB / 0.6037 GB, free: 2.5 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.95e-05/0.5324, allocations: 20.12 kB / 0.6038 GB, free: 2.48 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.205e-05/0.5324, allocations: 24 kB / 0.6038 GB, free: 2.457 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006823/0.5393, allocations: 0.69 MB / 0.6044 GB, free: 1.754 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002331/0.5416, allocations: 0.5305 MB / 0.605 GB, free: 1.223 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01415/0.5557, allocations: 7.688 MB / 0.6125 GB, free: 9.125 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001564/0.5573, allocations: 75.98 kB / 0.6125 GB, free: 9.051 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002149/0.5575, allocations: 108 kB / 0.6126 GB, free: 8.945 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.0007881/0.5583, allocations: 381 kB / 0.613 GB, free: 8.562 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003174/0.5586, allocations: 131.2 kB / 0.6131 GB, free: 8.434 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01049/0.5691, allocations: 2.469 MB / 0.6155 GB, free: 5.906 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.543e-05/0.5691, allocations: 16 kB / 0.6156 GB, free: 5.891 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.23e-05/0.5692, allocations: 4 kB / 0.6156 GB, free: 5.887 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.169e-05/0.5692, allocations: 7.969 kB / 0.6156 GB, free: 5.879 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006353/0.5755, allocations: 2.136 MB / 0.6177 GB, free: 3.664 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.325e-05/0.5755, allocations: 4 kB / 0.6177 GB, free: 3.66 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001659/0.5772, allocations: 308 kB / 0.618 GB, free: 3.359 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.008102/0.5853, allocations: 0.7494 MB / 0.6187 GB, free: 2.594 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002754/0.5856, allocations: 39.98 kB / 0.6187 GB, free: 2.555 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01456/0.6001, allocations: 8.787 MB / 0.6273 GB, free: 9.258 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.159e-06/0.6001, allocations: 4 kB / 0.6273 GB, free: 9.254 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01106/0.6112, allocations: 2.803 MB / 0.6301 GB, free: 6.391 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004354/0.6116, allocations: 119.1 kB / 0.6302 GB, free: 6.273 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002127/0.6119, allocations: 32 kB / 0.6302 GB, free: 6.242 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008519/0.6127, allocations: 35.98 kB / 0.6302 GB, free: 6.207 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003404/0.613, allocations: 133 kB / 0.6304 GB, free: 6.078 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001295/0.6132, allocations: 51.98 kB / 0.6304 GB, free: 6.027 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.0008426/0.614, allocations: 0.5488 MB / 0.6309 GB, free: 5.469 MB / 478.1 MB Notification: Performance of sort global known variables: time 8e-08/0.614, allocations: 0 / 0.6309 GB, free: 5.469 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.00341/0.6174, allocations: 1.064 MB / 0.632 GB, free: 4.402 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.002455/0.6199, allocations: 1.121 MB / 0.6331 GB, free: 3.266 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.004259/0.6241, allocations: 1.991 MB / 0.635 GB, free: 1.227 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 5.811e-06/0.6241, allocations: 0 / 0.635 GB, free: 1.227 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002396/0.6265, allocations: 1.302 MB / 0.6363 GB, free: 15.86 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001644/0.6282, allocations: 298.3 kB / 0.6366 GB, free: 15.57 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005388/0.6336, allocations: 3.023 MB / 0.6395 GB, free: 12.49 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007869/0.6344, allocations: 0.6876 MB / 0.6402 GB, free: 11.76 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.001114/0.6355, allocations: 310.9 kB / 0.6405 GB, free: 11.45 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004753/0.636, allocations: 199.3 kB / 0.6407 GB, free: 11.26 MB / 494.1 MB Notification: Performance of SimCode: time 8.52e-07/0.636, allocations: 0 / 0.6407 GB, free: 11.26 MB / 494.1 MB Notification: Performance of Templates: time 0.06404/0.7, allocations: 40.34 MB / 0.6801 GB, free: 3.199 MB / 0.5137 GB " [Timeout remaining time 659] make -j1 -f Chemical_Chemical.Obsolete.Examples.ExothermicReaction.makefile [Timeout 660] (rm -f Chemical_Chemical.Obsolete.Examples.ExothermicReaction.pipe ; mkfifo Chemical_Chemical.Obsolete.Examples.ExothermicReaction.pipe ; head -c 1048576 < Chemical_Chemical.Obsolete.Examples.ExothermicReaction.pipe >> ../files/Chemical_Chemical.Obsolete.Examples.ExothermicReaction.sim & ./Chemical_Chemical.Obsolete.Examples.ExothermicReaction -abortSlowSimulation -alarm=480 -s gbode -lv LOG_STATS > Chemical_Chemical.Obsolete.Examples.ExothermicReaction.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.925168118003057] Failed to read output from testmodel.py, exit status != 0: 0.7095254309970187 0.723848239 0.287021093 Calling exit ...