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.001578/0.001578, allocations: 104.3 kB / 19.7 MB, free: 2.156 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.001866/0.001866, allocations: 213 kB / 22.99 MB, free: 4.98 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.599/1.599, allocations: 230.6 MB / 256.8 MB, free: 7.809 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.1585/0.1585, allocations: 23.87 MB / 337.1 MB, free: 11.01 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.002283/0.002283, allocations: 67.02 kB / 472.4 MB, free: 7.047 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3471/0.3494, allocations: 59.86 MB / 0.5197 GB, free: 9.773 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Chemical.Obsolete.Examples.ExothermicReaction): time 0.00861/0.358, allocations: 7.583 MB / 0.5272 GB, free: 4.734 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.02792/0.386, allocations: 20.52 MB / 0.5472 GB, free: 6.734 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002068/0.388, allocations: 26.91 kB / 0.5472 GB, free: 6.723 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001847/0.3899, allocations: 483.5 kB / 0.5477 GB, free: 6.473 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.008053/0.3979, allocations: 2.04 MB / 0.5497 GB, free: 5.223 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01062/0.4086, allocations: 3.054 MB / 0.5527 GB, free: 3.184 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0049/0.4135, allocations: 2.508 MB / 0.5551 GB, free: 1.676 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001993/0.4154, allocations: 1.155 MB / 0.5562 GB, free: 0.8086 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002276/0.4177, allocations: 1.249 MB / 0.5574 GB, free: 232 kB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002738/0.4205, allocations: 1.377 MB / 0.5588 GB, free: 15.39 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004117/0.4209, allocations: 215.8 kB / 0.559 GB, free: 15.39 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01115/0.432, allocations: 2.533 MB / 0.5615 GB, free: 14.52 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0009893/0.433, allocations: 0.5096 MB / 0.562 GB, free: 14.1 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002151/0.4352, allocations: 0.9282 MB / 0.5629 GB, free: 13.5 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0164/0.4516, allocations: 5.179 MB / 0.5679 GB, free: 8.305 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.608e-06/0.4516, allocations: 0 / 0.5679 GB, free: 8.305 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.715e-06/0.4516, allocations: 0 / 0.5679 GB, free: 8.305 MB / 414.1 MB Notification: Performance of Transformations before backend: time 4.562e-05/0.4516, allocations: 0 / 0.5679 GB, free: 8.305 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.005684/0.4573, allocations: 2.643 MB / 0.5705 GB, free: 5.617 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.226e-05/0.4573, allocations: 12.03 kB / 0.5705 GB, free: 5.605 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001884/0.4592, allocations: 426.9 kB / 0.5709 GB, free: 5.188 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001988/0.4612, allocations: 0.906 MB / 0.5718 GB, free: 4.254 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000248/0.4615, allocations: 246.9 kB / 0.5721 GB, free: 3.988 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003293/0.4618, allocations: 188.3 kB / 0.5722 GB, free: 3.805 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00351/0.4653, allocations: 2.078 MB / 0.5743 GB, free: 1.695 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.771e-05/0.4653, allocations: 0 / 0.5743 GB, free: 1.695 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000191/0.4655, allocations: 76 kB / 0.5743 GB, free: 1.621 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.029e-05/0.4656, allocations: 47.94 kB / 0.5744 GB, free: 1.574 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00417/0.4697, allocations: 2.553 MB / 0.5769 GB, free: 15.02 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.01055/0.4803, allocations: 5.145 MB / 0.5819 GB, free: 9.77 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00503/0.4853, allocations: 2.158 MB / 0.584 GB, free: 7.59 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001289/0.4866, allocations: 0.7453 MB / 0.5847 GB, free: 6.84 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0112/0.4978, allocations: 4.171 MB / 0.5888 GB, free: 2.645 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.757e-05/0.4979, allocations: 47.56 kB / 0.5889 GB, free: 2.59 MB / 430.1 MB Notification: Performance of pre-optimization done (n=122): time 5.18e-06/0.4979, allocations: 0 / 0.5889 GB, free: 2.59 MB / 430.1 MB Notification: Performance of matching and sorting (n=150): time 0.02607/0.5239, allocations: 5.819 MB / 0.5945 GB, free: 12.69 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001017/0.524, allocations: 102.3 kB / 0.5946 GB, free: 12.57 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001358/0.5254, allocations: 0.8601 MB / 0.5955 GB, free: 11.69 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002879/0.5257, allocations: 49.7 kB / 0.5955 GB, free: 11.64 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007487/0.5264, allocations: 0.8589 MB / 0.5964 GB, free: 10.77 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005796/0.527, allocations: 0.5423 MB / 0.5969 GB, free: 10.22 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005797/0.5276, allocations: 371.5 kB / 0.5972 GB, free: 9.848 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0002044/0.5278, allocations: 361.9 kB / 0.5976 GB, free: 9.488 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009864/0.5288, allocations: 0.5349 MB / 0.5981 GB, free: 8.949 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001688/0.5305, allocations: 1.239 MB / 0.5993 GB, free: 7.371 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.003159/0.5336, allocations: 1.973 MB / 0.6012 GB, free: 5.07 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.721e-05/0.5337, allocations: 8 kB / 0.6013 GB, free: 5.062 MB / 446.1 MB Notification: Performance of matching and sorting (n=258) (initialization): time 0.0081/0.5418, allocations: 2.526 MB / 0.6037 GB, free: 2.516 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.88e-05/0.5418, allocations: 16 kB / 0.6037 GB, free: 2.5 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.402e-05/0.5418, allocations: 24 kB / 0.6038 GB, free: 2.477 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00513/0.547, allocations: 0.698 MB / 0.6044 GB, free: 1.766 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002229/0.5492, allocations: 0.5266 MB / 0.605 GB, free: 1.238 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01249/0.5617, allocations: 7.692 MB / 0.6125 GB, free: 9.141 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001685/0.5634, allocations: 72 kB / 0.6125 GB, free: 9.07 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00022/0.5636, allocations: 116 kB / 0.6126 GB, free: 8.957 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.0008825/0.5645, allocations: 385 kB / 0.613 GB, free: 8.57 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003733/0.5649, allocations: 131.2 kB / 0.6131 GB, free: 8.441 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008406/0.5733, allocations: 2.465 MB / 0.6155 GB, free: 5.918 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.292e-05/0.5733, allocations: 16 kB / 0.6156 GB, free: 5.902 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.314e-05/0.5733, allocations: 4 kB / 0.6156 GB, free: 5.898 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.966e-05/0.5733, allocations: 7.969 kB / 0.6156 GB, free: 5.891 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005559/0.5789, allocations: 2.137 MB / 0.6177 GB, free: 3.676 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.108e-05/0.5789, allocations: 4 kB / 0.6177 GB, free: 3.672 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001495/0.5804, allocations: 303.6 kB / 0.618 GB, free: 3.375 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.006076/0.5865, allocations: 0.7611 MB / 0.6187 GB, free: 2.598 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002699/0.5867, allocations: 39.98 kB / 0.6187 GB, free: 2.559 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01268/0.5994, allocations: 8.775 MB / 0.6273 GB, free: 9.273 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.699e-06/0.5994, allocations: 4.094 kB / 0.6273 GB, free: 9.27 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009157/0.6086, allocations: 2.803 MB / 0.63 GB, free: 6.406 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004743/0.6091, allocations: 119.1 kB / 0.6302 GB, free: 6.289 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002166/0.6093, allocations: 28 kB / 0.6302 GB, free: 6.262 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007508/0.61, allocations: 35.98 kB / 0.6302 GB, free: 6.227 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003419/0.6104, allocations: 133 kB / 0.6303 GB, free: 6.098 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001145/0.6105, allocations: 51.98 kB / 0.6304 GB, free: 6.047 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.0008493/0.6113, allocations: 0.5488 MB / 0.6309 GB, free: 5.488 MB / 478.1 MB Notification: Performance of sort global known variables: time 6.1e-08/0.6113, allocations: 0 / 0.6309 GB, free: 5.488 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.003811/0.6151, allocations: 1.068 MB / 0.632 GB, free: 4.418 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.002547/0.6177, allocations: 1.123 MB / 0.6331 GB, free: 3.281 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.004208/0.6219, allocations: 1.987 MB / 0.635 GB, free: 1.246 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 6.322e-06/0.6219, allocations: 0 / 0.635 GB, free: 1.246 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002486/0.6244, allocations: 1.302 MB / 0.6363 GB, free: 15.88 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00171/0.6261, allocations: 296.8 kB / 0.6366 GB, free: 15.59 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005658/0.6318, allocations: 3.071 MB / 0.6396 GB, free: 12.45 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008669/0.6326, allocations: 0.6798 MB / 0.6402 GB, free: 11.73 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008133/0.6334, allocations: 259.3 kB / 0.6405 GB, free: 11.47 MB / 494.1 MB Notification: Performance of SimCode: time 1.382e-06/0.6334, allocations: 0 / 0.6405 GB, free: 11.47 MB / 494.1 MB Notification: Performance of Templates: time 0.07493/0.7084, allocations: 57.78 MB / 0.6969 GB, free: 1.754 MB / 0.5294 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 -lv LOG_STATS > Chemical_Chemical.Obsolete.Examples.ExothermicReaction.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 11.893888819031417] Failed to read output from testmodel.py, exit status != 0: 0.718131905014161 0.733510157 0.278398294 Calling exit ...