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.001421/0.001421, allocations: 103.6 kB / 18.95 MB, free: 2.66 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.001656/0.001656, allocations: 218.6 kB / 22.24 MB, free: 5.258 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.515/1.515, allocations: 230.6 MB / 256 MB, free: 7.812 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.1711/0.1711, allocations: 23.92 MB / 336.3 MB, free: 10.95 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.00215/0.00215, allocations: 63.89 kB / 471.7 MB, free: 6.977 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3738/0.376, allocations: 59.89 MB / 0.5191 GB, free: 9.715 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Chemical.Obsolete.Examples.ExothermicReaction): time 0.008568/0.3846, allocations: 7.582 MB / 0.5265 GB, free: 4.684 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.03133/0.4159, allocations: 20.51 MB / 0.5465 GB, free: 6.684 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002107/0.418, allocations: 26.56 kB / 0.5466 GB, free: 6.672 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00225/0.4202, allocations: 490.1 kB / 0.547 GB, free: 6.418 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.008991/0.4292, allocations: 2.039 MB / 0.549 GB, free: 5.168 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01117/0.4404, allocations: 3.052 MB / 0.552 GB, free: 3.105 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.005124/0.4455, allocations: 2.505 MB / 0.5544 GB, free: 1.602 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002931/0.4485, allocations: 1.158 MB / 0.5556 GB, free: 0.7305 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003349/0.4518, allocations: 1.245 MB / 0.5568 GB, free: 156 kB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00389/0.4557, allocations: 1.376 MB / 0.5581 GB, free: 15.32 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001136/0.4568, allocations: 220.7 kB / 0.5583 GB, free: 15.32 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01254/0.4694, allocations: 2.533 MB / 0.5608 GB, free: 14.44 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001115/0.4705, allocations: 0.5109 MB / 0.5613 GB, free: 14.02 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002695/0.4732, allocations: 0.9241 MB / 0.5622 GB, free: 13.43 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01811/0.4913, allocations: 5.179 MB / 0.5673 GB, free: 8.234 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.21e-06/0.4913, allocations: 0 / 0.5673 GB, free: 8.234 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.423e-06/0.4913, allocations: 0 / 0.5673 GB, free: 8.234 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0001224/0.4914, allocations: 0 / 0.5673 GB, free: 8.234 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.008041/0.4995, allocations: 2.643 MB / 0.5699 GB, free: 5.547 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.092e-05/0.4995, allocations: 12.03 kB / 0.5699 GB, free: 5.535 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002653/0.5022, allocations: 426.9 kB / 0.5703 GB, free: 5.117 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002455/0.5046, allocations: 0.906 MB / 0.5712 GB, free: 4.184 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002867/0.5049, allocations: 250.9 kB / 0.5714 GB, free: 3.914 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005138/0.5054, allocations: 184.3 kB / 0.5716 GB, free: 3.734 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004598/0.51, allocations: 2.078 MB / 0.5736 GB, free: 1.625 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.454e-05/0.5101, allocations: 3.938 kB / 0.5736 GB, free: 1.621 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002211/0.5103, allocations: 76 kB / 0.5737 GB, free: 1.547 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.261e-05/0.5104, allocations: 47.94 kB / 0.5737 GB, free: 1.5 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005281/0.5156, allocations: 2.545 MB / 0.5762 GB, free: 14.95 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.01345/0.5291, allocations: 5.145 MB / 0.5812 GB, free: 9.703 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006098/0.5352, allocations: 2.159 MB / 0.5833 GB, free: 7.52 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00166/0.5369, allocations: 0.7415 MB / 0.5841 GB, free: 6.773 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01288/0.5497, allocations: 4.171 MB / 0.5881 GB, free: 2.578 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.945e-05/0.5498, allocations: 47.56 kB / 0.5882 GB, free: 2.523 MB / 430.1 MB Notification: Performance of pre-optimization done (n=122): time 5.5e-06/0.5498, allocations: 0 / 0.5882 GB, free: 2.523 MB / 430.1 MB Notification: Performance of matching and sorting (n=150): time 0.03511/0.5849, allocations: 5.818 MB / 0.5939 GB, free: 12.63 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.737e-05/0.585, allocations: 110.2 kB / 0.594 GB, free: 12.51 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001412/0.5864, allocations: 0.8601 MB / 0.5948 GB, free: 11.62 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002455/0.5867, allocations: 49.7 kB / 0.5949 GB, free: 11.57 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007464/0.5874, allocations: 0.8589 MB / 0.5957 GB, free: 10.7 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006736/0.5881, allocations: 0.5423 MB / 0.5962 GB, free: 10.15 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006773/0.5888, allocations: 375.4 kB / 0.5966 GB, free: 9.777 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001938/0.589, allocations: 357.9 kB / 0.5969 GB, free: 9.422 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001159/0.5901, allocations: 0.5311 MB / 0.5974 GB, free: 8.887 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001838/0.592, allocations: 1.236 MB / 0.5987 GB, free: 7.312 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.003445/0.5954, allocations: 1.977 MB / 0.6006 GB, free: 5.008 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.833e-05/0.5954, allocations: 8 kB / 0.6006 GB, free: 5 MB / 446.1 MB Notification: Performance of matching and sorting (n=258) (initialization): time 0.01022/0.6057, allocations: 2.526 MB / 0.6031 GB, free: 2.453 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.561e-05/0.6057, allocations: 16 kB / 0.6031 GB, free: 2.438 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.439e-05/0.6058, allocations: 24 kB / 0.6031 GB, free: 2.414 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006712/0.6125, allocations: 0.698 MB / 0.6038 GB, free: 1.703 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002437/0.6149, allocations: 0.5227 MB / 0.6043 GB, free: 1.18 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01451/0.6294, allocations: 7.693 MB / 0.6118 GB, free: 9.074 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001844/0.6313, allocations: 75.98 kB / 0.6119 GB, free: 9 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004499/0.6317, allocations: 108 kB / 0.612 GB, free: 8.895 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.001156/0.6329, allocations: 390.5 kB / 0.6124 GB, free: 8.504 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005505/0.6334, allocations: 131.2 kB / 0.6125 GB, free: 8.375 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01087/0.6443, allocations: 2.473 MB / 0.6149 GB, free: 5.844 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.718e-05/0.6443, allocations: 16 kB / 0.6149 GB, free: 5.828 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.873e-05/0.6443, allocations: 0 / 0.6149 GB, free: 5.828 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.256e-05/0.6444, allocations: 15.92 kB / 0.6149 GB, free: 5.812 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007407/0.6518, allocations: 2.129 MB / 0.617 GB, free: 3.605 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.788e-05/0.6518, allocations: 4 kB / 0.617 GB, free: 3.602 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001681/0.6535, allocations: 308 kB / 0.6173 GB, free: 3.301 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.007817/0.6613, allocations: 0.7533 MB / 0.618 GB, free: 2.531 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002844/0.6616, allocations: 39.98 kB / 0.6181 GB, free: 2.492 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01503/0.6766, allocations: 8.771 MB / 0.6266 GB, free: 9.211 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.71e-05/0.6766, allocations: 4.031 kB / 0.6266 GB, free: 9.207 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01199/0.6886, allocations: 2.795 MB / 0.6294 GB, free: 6.352 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004528/0.6891, allocations: 127.1 kB / 0.6295 GB, free: 6.227 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003757/0.6895, allocations: 31.98 kB / 0.6295 GB, free: 6.195 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001114/0.6906, allocations: 32 kB / 0.6296 GB, free: 6.164 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003883/0.691, allocations: 133 kB / 0.6297 GB, free: 6.035 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001557/0.6911, allocations: 51.98 kB / 0.6297 GB, free: 5.984 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.0009615/0.6921, allocations: 0.5527 MB / 0.6303 GB, free: 5.422 MB / 478.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.6921, allocations: 0 / 0.6303 GB, free: 5.422 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.003841/0.6959, allocations: 1.06 MB / 0.6313 GB, free: 4.359 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.002935/0.6989, allocations: 1.129 MB / 0.6324 GB, free: 3.215 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.004481/0.7033, allocations: 1.987 MB / 0.6343 GB, free: 1.18 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 6.913e-06/0.7033, allocations: 0 / 0.6343 GB, free: 1.18 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002586/0.7059, allocations: 1.306 MB / 0.6356 GB, free: 15.81 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002007/0.7079, allocations: 303.9 kB / 0.6359 GB, free: 15.51 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006598/0.7145, allocations: 3.026 MB / 0.6389 GB, free: 12.43 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001042/0.7156, allocations: 0.6837 MB / 0.6395 GB, free: 11.7 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.001593/0.7172, allocations: 318.8 kB / 0.6398 GB, free: 11.39 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006877/0.7179, allocations: 195.3 kB / 0.64 GB, free: 11.2 MB / 494.1 MB Notification: Performance of SimCode: time 2.454e-06/0.7179, allocations: 0 / 0.64 GB, free: 11.2 MB / 494.1 MB Notification: Performance of Templates: time 0.06898/0.7868, allocations: 40.32 MB / 0.6794 GB, free: 3.152 MB / 0.5138 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 -lv LOG_STATS > Chemical_master_Chemical.Obsolete.Examples.ExothermicReaction.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.96413140790537] Failed to read output from testmodel.py, exit status != 0: 0.7971984148025513 0.813113611 0.31835348700000005 Calling exit ...