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.001449/0.001449, allocations: 77.94 kB / 19.76 MB, free: 2.035 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.001423/0.001423, allocations: 160.4 kB / 23.01 MB, free: 4.945 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.348/1.348, allocations: 177.2 MB / 203.4 MB, free: 8.945 MB / 190.1 MB " [Timeout remaining time 179] 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.1246/0.1246, allocations: 17.45 MB / 277.2 MB, free: 15.16 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.001984/0.001984, allocations: 63.91 kB / 412.6 MB, free: 5.551 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1029/0.1049, allocations: 59.88 MB / 472.5 MB, free: 9.555 MB / 446.1 MB Notification: Performance of NFInst.instantiate(Chemical.Obsolete.Examples.ExothermicReaction): time 0.009312/0.1142, allocations: 7.599 MB / 480.1 MB, free: 1.918 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.213/0.3272, allocations: 20.5 MB / 0.4888 GB, free: 34.95 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001092/0.3283, allocations: 31.44 kB / 0.4888 GB, free: 34.93 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001294/0.3296, allocations: 481.6 kB / 0.4893 GB, free: 34.68 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005136/0.3347, allocations: 2.035 MB / 0.4913 GB, free: 33.45 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.007184/0.3419, allocations: 3.058 MB / 0.4943 GB, free: 31.65 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.003326/0.3452, allocations: 2.5 MB / 0.4967 GB, free: 30.41 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001166/0.3464, allocations: 1.137 MB / 0.4978 GB, free: 29.85 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001269/0.3477, allocations: 1.246 MB / 0.499 GB, free: 29.41 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001763/0.3494, allocations: 1.229 MB / 0.5002 GB, free: 29 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003143/0.3497, allocations: 216 kB / 0.5005 GB, free: 29 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005993/0.3557, allocations: 2.47 MB / 0.5029 GB, free: 28.45 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004211/0.3562, allocations: 0.504 MB / 0.5034 GB, free: 28.13 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008553/0.357, allocations: 0.925 MB / 0.5043 GB, free: 27.66 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007377/0.3644, allocations: 5.181 MB / 0.5093 GB, free: 25.46 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.969e-06/0.3644, allocations: 4 kB / 0.5093 GB, free: 25.46 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.412e-06/0.3644, allocations: 0 / 0.5093 GB, free: 25.46 MB / 446.1 MB Notification: Performance of Transformations before backend: time 2.098e-05/0.3644, allocations: 0 / 0.5093 GB, free: 25.46 MB / 446.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.00378/0.3682, allocations: 2.648 MB / 0.5119 GB, free: 23.93 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.168e-05/0.3682, allocations: 8.812 kB / 0.5119 GB, free: 23.93 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001735/0.37, allocations: 427.7 kB / 0.5123 GB, free: 23.8 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0014/0.3714, allocations: 0.8993 MB / 0.5132 GB, free: 23.27 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001411/0.3715, allocations: 249.2 kB / 0.5134 GB, free: 23.08 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002563/0.3718, allocations: 189.8 kB / 0.5136 GB, free: 23.01 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002847/0.3746, allocations: 2.083 MB / 0.5157 GB, free: 22.21 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.885e-05/0.3746, allocations: 7.938 kB / 0.5157 GB, free: 22.2 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001515/0.3748, allocations: 78.66 kB / 0.5157 GB, free: 22.14 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.623e-05/0.3748, allocations: 42.97 kB / 0.5158 GB, free: 22.14 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00348/0.3783, allocations: 2.556 MB / 0.5183 GB, free: 21.39 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.008552/0.3869, allocations: 5.126 MB / 0.5233 GB, free: 18.61 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004534/0.3914, allocations: 2.156 MB / 0.5254 GB, free: 17.84 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001122/0.3925, allocations: 0.7444 MB / 0.5261 GB, free: 17.53 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.008389/0.4009, allocations: 4.183 MB / 0.5302 GB, free: 15.75 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.164e-05/0.4009, allocations: 45.61 kB / 0.5302 GB, free: 15.71 MB / 446.1 MB Notification: Performance of pre-optimization done (n=122): time 3.006e-06/0.4009, allocations: 0 / 0.5302 GB, free: 15.71 MB / 446.1 MB Notification: Performance of matching and sorting (n=150): time 0.02605/0.427, allocations: 5.814 MB / 0.5359 GB, free: 13.42 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.053e-05/0.427, allocations: 101.2 kB / 0.536 GB, free: 13.32 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00104/0.4281, allocations: 0.8631 MB / 0.5369 GB, free: 12.92 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001219/0.4282, allocations: 50.39 kB / 0.5369 GB, free: 12.87 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004033/0.4286, allocations: 0.8609 MB / 0.5377 GB, free: 12.18 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003861/0.429, allocations: 0.5429 MB / 0.5383 GB, free: 11.75 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004573/0.4294, allocations: 378.4 kB / 0.5386 GB, free: 11.57 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 8.022e-05/0.4295, allocations: 354.8 kB / 0.539 GB, free: 11.24 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008591/0.4304, allocations: 0.5271 MB / 0.5395 GB, free: 11.05 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001102/0.4315, allocations: 1.249 MB / 0.5407 GB, free: 9.926 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.002061/0.4335, allocations: 1.974 MB / 0.5426 GB, free: 8.375 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.001e-05/0.4335, allocations: 9.188 kB / 0.5427 GB, free: 8.375 MB / 446.1 MB Notification: Performance of matching and sorting (n=258) (initialization): time 0.007444/0.441, allocations: 2.519 MB / 0.5451 GB, free: 7.172 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.49e-05/0.441, allocations: 16 kB / 0.5451 GB, free: 7.156 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.114e-05/0.441, allocations: 24.12 kB / 0.5451 GB, free: 7.133 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005273/0.4463, allocations: 0.7059 MB / 0.5458 GB, free: 6.609 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001787/0.4481, allocations: 0.5206 MB / 0.5463 GB, free: 6.156 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009943/0.458, allocations: 7.686 MB / 0.5539 GB, free: 14.46 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00136/0.4594, allocations: 78.77 kB / 0.5539 GB, free: 14.38 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001901/0.4596, allocations: 126.2 kB / 0.554 GB, free: 14.27 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.000715/0.4603, allocations: 379.5 kB / 0.5544 GB, free: 13.89 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000298/0.4606, allocations: 135.1 kB / 0.5545 GB, free: 13.76 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008747/0.4694, allocations: 2.473 MB / 0.557 GB, free: 11.62 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.54e-05/0.4694, allocations: 16 kB / 0.557 GB, free: 11.61 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.514e-06/0.4694, allocations: 3.984 kB / 0.557 GB, free: 11.61 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.67e-05/0.4694, allocations: 7.984 kB / 0.557 GB, free: 11.6 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005063/0.4745, allocations: 2.125 MB / 0.5591 GB, free: 9.391 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.003e-05/0.4745, allocations: 4 kB / 0.5591 GB, free: 9.387 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001491/0.476, allocations: 312 kB / 0.5594 GB, free: 9.082 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.006448/0.4824, allocations: 0.7454 MB / 0.5601 GB, free: 8.32 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001131/0.4825, allocations: 39.98 kB / 0.5601 GB, free: 8.281 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01293/0.4954, allocations: 8.771 MB / 0.5687 GB, free: 15 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.58e-06/0.4955, allocations: 4.031 kB / 0.5687 GB, free: 15 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009303/0.5048, allocations: 2.803 MB / 0.5714 GB, free: 12.13 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003541/0.5051, allocations: 119.1 kB / 0.5715 GB, free: 12.02 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001722/0.5053, allocations: 35.94 kB / 0.5716 GB, free: 11.98 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007445/0.506, allocations: 31.98 kB / 0.5716 GB, free: 11.95 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002864/0.5063, allocations: 137.1 kB / 0.5717 GB, free: 11.82 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001021/0.5064, allocations: 47.98 kB / 0.5718 GB, free: 11.77 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.0007621/0.5072, allocations: 0.5566 MB / 0.5723 GB, free: 11.2 MB / 478.1 MB Notification: Performance of sort global known variables: time 7.1e-08/0.5072, allocations: 0 / 0.5723 GB, free: 11.2 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.003148/0.5103, allocations: 1.064 MB / 0.5734 GB, free: 10.14 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.001889/0.5122, allocations: 1.118 MB / 0.5745 GB, free: 9.008 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.003639/0.5159, allocations: 1.987 MB / 0.5764 GB, free: 6.977 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 2.946e-06/0.5159, allocations: 0 / 0.5764 GB, free: 6.977 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002124/0.518, allocations: 1.309 MB / 0.5777 GB, free: 5.602 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001439/0.5194, allocations: 303.3 kB / 0.578 GB, free: 5.312 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00495/0.5244, allocations: 3.03 MB / 0.5809 GB, free: 2.215 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007412/0.5251, allocations: 0.6799 MB / 0.5816 GB, free: 1.496 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.001018/0.5261, allocations: 322.8 kB / 0.5819 GB, free: 1.176 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004075/0.5265, allocations: 192.4 kB / 0.5821 GB, free: 0.9883 MB / 478.1 MB Notification: Performance of SimCode: time 5.91e-07/0.5265, allocations: 4 kB / 0.5821 GB, free: 0.9844 MB / 478.1 MB Notification: Performance of Templates: time 0.05932/0.5859, allocations: 37.51 MB / 0.6187 GB, free: 11.71 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 ida -lv LOG_STATS > Chemical_master_Chemical.Obsolete.Examples.ExothermicReaction.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.134765480994247] Failed to read output from testmodel.py, exit status != 0: 0.5941163989482448 0.6076943619999999 0.240311341 Calling exit ...