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.001488/0.001488, allocations: 104.2 kB / 16.45 MB, free: 6.449 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.001689/0.001689, allocations: 210.4 kB / 19.43 MB, free: 3.637 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.556/1.556, allocations: 230.6 MB / 252.8 MB, free: 9.121 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.1589/0.1589, allocations: 23.89 MB / 332.7 MB, free: 12.41 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.002164/0.002164, allocations: 71.88 kB / 466.5 MB, free: 9.535 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4134/0.4155, allocations: 59.83 MB / 0.514 GB, free: 9.375 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Chemical.Obsolete.Examples.ExothermicReaction): time 0.009795/0.4253, allocations: 8.632 MB / 0.5225 GB, free: 3.227 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.03475/0.4601, allocations: 23.36 MB / 0.5453 GB, free: 2.148 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002653/0.4627, allocations: 30.09 kB / 0.5453 GB, free: 2.133 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002254/0.465, allocations: 0.5201 MB / 0.5458 GB, free: 1.832 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.009455/0.4745, allocations: 2.022 MB / 0.5478 GB, free: 0.5859 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01313/0.4876, allocations: 3.026 MB / 0.5507 GB, free: 14.8 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.006336/0.4939, allocations: 2.503 MB / 0.5532 GB, free: 13.32 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002635/0.4966, allocations: 1.172 MB / 0.5543 GB, free: 12.45 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003046/0.4996, allocations: 1.247 MB / 0.5555 GB, free: 11.86 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003481/0.5031, allocations: 1.369 MB / 0.5569 GB, free: 11.04 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0009447/0.504, allocations: 215.6 kB / 0.5571 GB, free: 11.04 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01397/0.518, allocations: 2.631 MB / 0.5597 GB, free: 10.07 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001538/0.5195, allocations: 0.5153 MB / 0.5602 GB, free: 9.645 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003697/0.5232, allocations: 1.094 MB / 0.5612 GB, free: 8.91 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01985/0.5431, allocations: 5.192 MB / 0.5663 GB, free: 5.555 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.273e-06/0.5431, allocations: 0 / 0.5663 GB, free: 5.555 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.763e-06/0.5431, allocations: 0 / 0.5663 GB, free: 5.555 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0001605/0.5433, allocations: 4 kB / 0.5663 GB, free: 5.551 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.009918/0.5532, allocations: 2.715 MB / 0.569 GB, free: 2.773 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.457e-05/0.5532, allocations: 15.97 kB / 0.569 GB, free: 2.758 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002701/0.5559, allocations: 426.9 kB / 0.5694 GB, free: 2.34 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003015/0.5589, allocations: 0.9716 MB / 0.5703 GB, free: 1.324 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002643/0.5592, allocations: 191.5 kB / 0.5705 GB, free: 1.125 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006594/0.5599, allocations: 192.3 kB / 0.5707 GB, free: 0.9375 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005502/0.5654, allocations: 2.086 MB / 0.5727 GB, free: 14.82 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.047e-05/0.5654, allocations: 0 / 0.5727 GB, free: 14.82 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003068/0.5657, allocations: 80 kB / 0.5728 GB, free: 14.74 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.731e-05/0.5658, allocations: 44 kB / 0.5728 GB, free: 14.7 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005232/0.571, allocations: 2.581 MB / 0.5754 GB, free: 12.11 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.0137/0.5847, allocations: 6.356 MB / 0.5816 GB, free: 5.539 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006005/0.5907, allocations: 2.41 MB / 0.5839 GB, free: 3.055 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001585/0.5923, allocations: 0.7535 MB / 0.5847 GB, free: 2.297 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01424/0.6065, allocations: 8.1 MB / 0.5926 GB, free: 9.273 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.694e-05/0.6066, allocations: 43.69 kB / 0.5926 GB, free: 9.223 MB / 446.1 MB Notification: Performance of pre-optimization done (n=122): time 4.278e-06/0.6066, allocations: 4 kB / 0.5926 GB, free: 9.219 MB / 446.1 MB Notification: Performance of matching and sorting (n=150): time 0.02948/0.6361, allocations: 6.2 MB / 0.5987 GB, free: 2.855 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001068/0.6362, allocations: 98.42 kB / 0.5988 GB, free: 2.742 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001618/0.6378, allocations: 0.9413 MB / 0.5997 GB, free: 1.785 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002768/0.6381, allocations: 53.7 kB / 0.5997 GB, free: 1.727 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007905/0.6389, allocations: 0.8551 MB / 0.6006 GB, free: 0.8594 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007325/0.6396, allocations: 0.5384 MB / 0.6011 GB, free: 324 kB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007252/0.6403, allocations: 379.5 kB / 0.6015 GB, free: 15.93 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001422/0.6405, allocations: 301.1 kB / 0.6017 GB, free: 15.64 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001091/0.6415, allocations: 0.5271 MB / 0.6023 GB, free: 15.1 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001872/0.6434, allocations: 1.247 MB / 0.6035 GB, free: 13.51 MB / 462.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.003573/0.647, allocations: 2.052 MB / 0.6055 GB, free: 11.11 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.611e-05/0.647, allocations: 8 kB / 0.6055 GB, free: 11.1 MB / 462.1 MB Notification: Performance of matching and sorting (n=258) (initialization): time 0.009187/0.6562, allocations: 2.53 MB / 0.608 GB, free: 8.555 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.581e-05/0.6563, allocations: 16 kB / 0.608 GB, free: 8.539 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.532e-05/0.6563, allocations: 32.12 kB / 0.608 GB, free: 8.508 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005585/0.6619, allocations: 0.6978 MB / 0.6087 GB, free: 7.797 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002264/0.6642, allocations: 0.5188 MB / 0.6092 GB, free: 7.277 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01372/0.6779, allocations: 8.274 MB / 0.6173 GB, free: 14.45 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001846/0.6797, allocations: 75.95 kB / 0.6173 GB, free: 14.38 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004403/0.6802, allocations: 112 kB / 0.6175 GB, free: 14.27 MB / 478.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.001093/0.6812, allocations: 377.7 kB / 0.6178 GB, free: 13.89 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005617/0.6818, allocations: 147.2 kB / 0.618 GB, free: 13.74 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009546/0.6914, allocations: 2.472 MB / 0.6204 GB, free: 11.21 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.746e-05/0.6914, allocations: 15.94 kB / 0.6204 GB, free: 11.19 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.272e-05/0.6914, allocations: 4 kB / 0.6204 GB, free: 11.19 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.278e-05/0.6914, allocations: 11.91 kB / 0.6204 GB, free: 11.18 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006435/0.6978, allocations: 2.542 MB / 0.6229 GB, free: 8.547 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.08e-05/0.6979, allocations: 0 / 0.6229 GB, free: 8.547 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001574/0.6994, allocations: 316 kB / 0.6232 GB, free: 8.238 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.006648/0.7061, allocations: 0.7493 MB / 0.6239 GB, free: 7.473 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002033/0.7063, allocations: 47.92 kB / 0.624 GB, free: 7.426 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01443/0.7207, allocations: 9.492 MB / 0.6332 GB, free: 13.23 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.043e-06/0.7207, allocations: 12 kB / 0.6332 GB, free: 13.22 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01016/0.7309, allocations: 2.804 MB / 0.636 GB, free: 10.35 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005879/0.7315, allocations: 208.1 kB / 0.6362 GB, free: 10.13 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003914/0.7319, allocations: 32 kB / 0.6362 GB, free: 10.1 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001062/0.7329, allocations: 32 kB / 0.6362 GB, free: 10.07 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004019/0.7333, allocations: 124.9 kB / 0.6364 GB, free: 9.945 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001367/0.7335, allocations: 51.98 kB / 0.6364 GB, free: 9.895 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.00118/0.7346, allocations: 0.6342 MB / 0.637 GB, free: 9.254 MB / 494.1 MB Notification: Performance of sort global known variables: time 9e-08/0.7346, allocations: 0 / 0.637 GB, free: 9.254 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.004146/0.7388, allocations: 1.072 MB / 0.6381 GB, free: 8.18 MB / 494.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.002982/0.7418, allocations: 1.124 MB / 0.6392 GB, free: 7.043 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.004388/0.7461, allocations: 1.986 MB / 0.6411 GB, free: 5.004 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 4.388e-06/0.7462, allocations: 0 / 0.6411 GB, free: 5.004 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002502/0.7487, allocations: 1.309 MB / 0.6424 GB, free: 3.633 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002136/0.7508, allocations: 331.9 kB / 0.6427 GB, free: 3.305 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006045/0.7568, allocations: 3.023 MB / 0.6457 GB, free: 228 kB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001253/0.7581, allocations: 1.271 MB / 0.6469 GB, free: 14.93 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.00132/0.7594, allocations: 331.7 kB / 0.6472 GB, free: 14.6 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004993/0.7599, allocations: 199.3 kB / 0.6474 GB, free: 14.4 MB / 0.4981 GB Notification: Performance of SimCode: time 8.52e-07/0.7599, allocations: 0 / 0.6474 GB, free: 14.4 MB / 0.4981 GB Notification: Performance of Templates: time 0.07075/0.8307, allocations: 38.53 MB / 0.685 GB, free: 8.027 MB / 0.5294 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: 7.053523666691035] Failed to read output from testmodel.py, exit status != 0: 0.8414192241616547 0.860634903 0.313133908 Calling exit ...