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.001339/0.001339, 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.001579/0.001579, allocations: 211.2 kB / 22.99 MB, free: 4.984 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.483/1.483, allocations: 230.6 MB / 256.8 MB, free: 7.801 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.1556/0.1556, allocations: 23.94 MB / 337.1 MB, free: 10.93 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.001991/0.001991, allocations: 79.88 kB / 472.4 MB, free: 6.953 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.392/0.394, allocations: 59.87 MB / 0.5198 GB, free: 9.777 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Chemical.Obsolete.Examples.ExothermicReaction): time 0.00901/0.403, allocations: 7.594 MB / 0.5272 GB, free: 4.734 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.02989/0.4329, allocations: 20.51 MB / 0.5473 GB, free: 6.742 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002409/0.4353, allocations: 31.22 kB / 0.5473 GB, free: 6.727 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001803/0.4372, allocations: 478.7 kB / 0.5477 GB, free: 6.48 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.008109/0.4453, allocations: 2.041 MB / 0.5497 GB, free: 5.23 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.009845/0.4551, allocations: 3.054 MB / 0.5527 GB, free: 3.156 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.004799/0.4599, allocations: 2.501 MB / 0.5552 GB, free: 1.656 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001966/0.4619, allocations: 1.158 MB / 0.5563 GB, free: 0.7852 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00217/0.464, allocations: 1.252 MB / 0.5575 GB, free: 204 kB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002845/0.4669, allocations: 1.377 MB / 0.5589 GB, free: 15.37 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005105/0.4674, allocations: 215.2 kB / 0.5591 GB, free: 15.37 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.009506/0.4769, allocations: 2.529 MB / 0.5615 GB, free: 14.5 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001108/0.478, allocations: 0.5112 MB / 0.562 GB, free: 14.08 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002142/0.4802, allocations: 0.927 MB / 0.5629 GB, free: 13.41 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01371/0.4939, allocations: 5.179 MB / 0.568 GB, free: 8.211 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.622e-06/0.4939, allocations: 0 / 0.568 GB, free: 8.211 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.063e-06/0.4939, allocations: 0 / 0.568 GB, free: 8.211 MB / 414.1 MB Notification: Performance of Transformations before backend: time 4.301e-05/0.4939, allocations: 4 kB / 0.568 GB, free: 8.207 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.006677/0.5006, allocations: 2.647 MB / 0.5706 GB, free: 5.516 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.297e-05/0.5006, allocations: 12.03 kB / 0.5706 GB, free: 5.504 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002147/0.5028, allocations: 426.9 kB / 0.571 GB, free: 5.086 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002091/0.5049, allocations: 0.9138 MB / 0.5719 GB, free: 4.145 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002414/0.5051, allocations: 239 kB / 0.5721 GB, free: 3.887 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003297/0.5055, allocations: 188.3 kB / 0.5723 GB, free: 3.703 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003837/0.5093, allocations: 2.086 MB / 0.5743 GB, free: 1.586 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.645e-05/0.5093, allocations: 0 / 0.5743 GB, free: 1.586 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001835/0.5095, allocations: 72 kB / 0.5744 GB, free: 1.516 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.004e-05/0.5095, allocations: 44 kB / 0.5745 GB, free: 1.473 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004471/0.514, allocations: 2.557 MB / 0.577 GB, free: 14.91 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.01121/0.5252, allocations: 5.141 MB / 0.582 GB, free: 9.668 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005557/0.5308, allocations: 2.155 MB / 0.5841 GB, free: 7.488 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001487/0.5323, allocations: 0.7377 MB / 0.5848 GB, free: 6.746 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01037/0.5426, allocations: 4.187 MB / 0.5889 GB, free: 2.535 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.453e-05/0.5427, allocations: 43.56 kB / 0.5889 GB, free: 2.484 MB / 430.1 MB Notification: Performance of pre-optimization done (n=122): time 3.777e-06/0.5427, allocations: 0 / 0.5889 GB, free: 2.484 MB / 430.1 MB Notification: Performance of matching and sorting (n=150): time 0.03154/0.5742, allocations: 5.822 MB / 0.5946 GB, free: 12.59 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.861e-05/0.5743, allocations: 98.36 kB / 0.5947 GB, free: 12.47 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00131/0.5756, allocations: 0.8523 MB / 0.5955 GB, free: 11.6 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001774/0.5758, allocations: 49.7 kB / 0.5956 GB, free: 11.54 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007093/0.5765, allocations: 0.8667 MB / 0.5964 GB, free: 10.66 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005795/0.5771, allocations: 0.5423 MB / 0.597 GB, free: 10.12 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005607/0.5777, allocations: 375.5 kB / 0.5973 GB, free: 9.742 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0002079/0.5779, allocations: 357.9 kB / 0.5977 GB, free: 9.387 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001021/0.5789, allocations: 0.5272 MB / 0.5982 GB, free: 8.855 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001692/0.5806, allocations: 1.247 MB / 0.5994 GB, free: 7.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.003182/0.5838, allocations: 1.969 MB / 0.6013 GB, free: 4.973 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.6e-05/0.5838, allocations: 8 kB / 0.6013 GB, free: 4.965 MB / 446.1 MB Notification: Performance of matching and sorting (n=258) (initialization): time 0.009297/0.5931, allocations: 2.526 MB / 0.6038 GB, free: 2.418 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.967e-05/0.5931, allocations: 16 kB / 0.6038 GB, free: 2.402 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.649e-05/0.5932, allocations: 24 kB / 0.6038 GB, free: 2.379 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006666/0.5998, allocations: 0.6941 MB / 0.6045 GB, free: 1.672 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002272/0.6021, allocations: 0.5344 MB / 0.605 GB, free: 1.137 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01348/0.6156, allocations: 7.681 MB / 0.6125 GB, free: 9.043 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001539/0.6171, allocations: 72.05 kB / 0.6126 GB, free: 8.973 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002039/0.6173, allocations: 116 kB / 0.6127 GB, free: 8.859 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.0007781/0.6181, allocations: 394.7 kB / 0.6131 GB, free: 8.469 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003287/0.6184, allocations: 131.2 kB / 0.6132 GB, free: 8.34 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01009/0.6285, allocations: 2.477 MB / 0.6156 GB, free: 5.805 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.049e-05/0.6285, allocations: 16 kB / 0.6156 GB, free: 5.789 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.132e-05/0.6286, allocations: 4 kB / 0.6157 GB, free: 5.785 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.415e-05/0.6286, allocations: 7.969 kB / 0.6157 GB, free: 5.777 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005739/0.6343, allocations: 2.125 MB / 0.6177 GB, free: 3.574 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.135e-05/0.6343, allocations: 4 kB / 0.6177 GB, free: 3.57 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001588/0.6359, allocations: 311.6 kB / 0.618 GB, free: 3.266 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.007716/0.6436, allocations: 0.7496 MB / 0.6188 GB, free: 2.5 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002904/0.6439, allocations: 39.98 kB / 0.6188 GB, free: 2.461 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01376/0.6577, allocations: 8.771 MB / 0.6274 GB, free: 9.18 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.899e-06/0.6577, allocations: 8.062 kB / 0.6274 GB, free: 9.172 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01078/0.6685, allocations: 2.799 MB / 0.6301 GB, free: 6.312 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003969/0.6689, allocations: 119.1 kB / 0.6302 GB, free: 6.195 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002148/0.6691, allocations: 36 kB / 0.6303 GB, free: 6.16 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00083/0.6699, allocations: 32 kB / 0.6303 GB, free: 6.129 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003339/0.6702, allocations: 133.1 kB / 0.6304 GB, free: 6 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001136/0.6704, allocations: 51.98 kB / 0.6305 GB, free: 5.949 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.0007907/0.6711, allocations: 0.5526 MB / 0.631 GB, free: 5.387 MB / 478.1 MB Notification: Performance of sort global known variables: time 9e-08/0.6711, allocations: 0 / 0.631 GB, free: 5.387 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.00331/0.6745, allocations: 1.071 MB / 0.6321 GB, free: 4.312 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.002107/0.6766, allocations: 1.117 MB / 0.6331 GB, free: 3.18 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.003837/0.6804, allocations: 1.987 MB / 0.6351 GB, free: 1.145 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 3.977e-06/0.6804, allocations: 3.938 kB / 0.6351 GB, free: 1.141 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002218/0.6826, allocations: 1.302 MB / 0.6364 GB, free: 15.77 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00153/0.6841, allocations: 302.9 kB / 0.6366 GB, free: 15.48 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004982/0.6891, allocations: 3.015 MB / 0.6396 GB, free: 12.4 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007286/0.6899, allocations: 0.6798 MB / 0.6403 GB, free: 11.68 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.001088/0.6909, allocations: 326.8 kB / 0.6406 GB, free: 11.36 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004352/0.6914, allocations: 199.3 kB / 0.6408 GB, free: 11.16 MB / 494.1 MB Notification: Performance of SimCode: time 7.31e-07/0.6914, allocations: 0 / 0.6408 GB, free: 11.16 MB / 494.1 MB Notification: Performance of Templates: time 0.06138/0.7528, allocations: 40.33 MB / 0.6801 GB, free: 3.113 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 cvode -lv LOG_STATS > Chemical_master_Chemical.Obsolete.Examples.ExothermicReaction.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.737971644994104] Failed to read output from testmodel.py, exit status != 0: 0.7617647130100522 0.776709265 0.27942294500000003 Calling exit ...