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.001292/0.001292, allocations: 89.27 kB / 19.44 MB, free: 1.98 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.001425/0.001425, allocations: 166.4 kB / 22.74 MB, free: 4.77 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.49/1.49, allocations: 177.1 MB / 203.1 MB, free: 9.055 MB / 190.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.1533/0.1533, allocations: 17.37 MB / 276.9 MB, free: 15.12 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: Performance of FrontEnd - loaded program: time 2.344e-06/2.344e-06, allocations: 0 / 352.7 MB, free: 16.08 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 4.038e-05/4.272e-05, allocations: 10.25 kB / 352.7 MB, free: 16.07 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Chemical.Obsolete.Examples.ExothermicReaction): time 0.01231/0.01236, allocations: 7.569 MB / 360.3 MB, free: 8.461 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.0401/0.05245, allocations: 20.5 MB / 380.8 MB, free: 3.887 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001624/0.05408, allocations: 31.75 kB / 380.8 MB, free: 3.855 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002104/0.05618, allocations: 488 kB / 381.3 MB, free: 3.375 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007918/0.0641, allocations: 2.105 MB / 383.4 MB, free: 1.25 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01153/0.07563, allocations: 3.149 MB / 386.5 MB, free: 14.08 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.005055/0.08068, allocations: 2.588 MB / 389.1 MB, free: 11.48 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002582/0.08326, allocations: 1.194 MB / 390.3 MB, free: 10.24 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004087/0.08735, allocations: 1.716 MB / 392 MB, free: 8.523 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002825/0.09018, allocations: 1.111 MB / 393.1 MB, free: 7.41 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0008213/0.091, allocations: 216 kB / 393.3 MB, free: 7.199 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.008038/0.09903, allocations: 2.487 MB / 395.8 MB, free: 4.707 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0008585/0.09989, allocations: 0.5178 MB / 396.3 MB, free: 4.188 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00165/0.1015, allocations: 0.7952 MB / 397.1 MB, free: 3.391 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01287/0.1144, allocations: 5.491 MB / 402.6 MB, free: 13.88 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.56e-06/0.1144, allocations: 0 / 402.6 MB, free: 13.88 MB / 334.1 MB Notification: Performance of FrontEnd: time 3.987e-06/0.1144, allocations: 4 kB / 402.6 MB, free: 13.88 MB / 334.1 MB Notification: Performance of Transformations before backend: time 0.0001092/0.1145, allocations: 7.938 kB / 402.6 MB, free: 13.87 MB / 334.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.006561/0.1211, allocations: 2.624 MB / 405.3 MB, free: 11.2 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.881e-05/0.1211, allocations: 8.031 kB / 405.3 MB, free: 11.19 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002564/0.1237, allocations: 0.6886 MB / 406 MB, free: 10.5 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001954/0.1256, allocations: 0.9247 MB / 406.9 MB, free: 9.543 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002495/0.1259, allocations: 243 kB / 407.1 MB, free: 9.281 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003395/0.1262, allocations: 192.3 kB / 407.3 MB, free: 9.094 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003959/0.1302, allocations: 2.078 MB / 409.4 MB, free: 6.984 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.291e-05/0.1302, allocations: 192 / 409.4 MB, free: 6.984 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002084/0.1304, allocations: 76.12 kB / 409.5 MB, free: 6.91 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.102e-05/0.1305, allocations: 44 kB / 409.5 MB, free: 6.867 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004618/0.1351, allocations: 2.557 MB / 412.1 MB, free: 4.309 MB / 334.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.01113/0.1462, allocations: 5.184 MB / 417.2 MB, free: 15.02 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005504/0.1517, allocations: 2.144 MB / 419.4 MB, free: 12.86 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001462/0.1532, allocations: 0.7531 MB / 420.1 MB, free: 12.11 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01042/0.1636, allocations: 4.331 MB / 424.5 MB, free: 7.742 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.746e-05/0.1637, allocations: 47.5 kB / 424.5 MB, free: 7.688 MB / 350.1 MB Notification: Performance of pre-optimization done (n=122): time 3.486e-06/0.1637, allocations: 0 / 424.5 MB, free: 7.688 MB / 350.1 MB Notification: Performance of matching and sorting (n=150): time 0.0305/0.1942, allocations: 5.865 MB / 430.4 MB, free: 1.742 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.601e-05/0.1942, allocations: 90.42 kB / 430.5 MB, free: 1.637 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001309/0.1956, allocations: 0.8639 MB / 431.3 MB, free: 0.75 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001753/0.1957, allocations: 53.7 kB / 431.4 MB, free: 0.6914 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008028/0.1965, allocations: 0.855 MB / 432.2 MB, free: 15.82 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006642/0.1972, allocations: 0.5384 MB / 432.8 MB, free: 15.28 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005996/0.1978, allocations: 367.5 kB / 433.1 MB, free: 14.91 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0002808/0.1981, allocations: 357.9 kB / 433.5 MB, free: 14.56 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001127/0.1992, allocations: 0.535 MB / 434 MB, free: 14.02 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001966/0.2012, allocations: 1.247 MB / 435.3 MB, free: 12.43 MB / 366.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.003442/0.2046, allocations: 1.969 MB / 437.2 MB, free: 10.13 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.43e-05/0.2046, allocations: 8 kB / 437.2 MB, free: 10.12 MB / 366.1 MB Notification: Performance of matching and sorting (n=258) (initialization): time 0.009432/0.2141, allocations: 2.624 MB / 439.9 MB, free: 7.48 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.05e-05/0.2141, allocations: 14.19 kB / 439.9 MB, free: 7.469 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.438e-05/0.2141, allocations: 24 kB / 439.9 MB, free: 7.445 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006468/0.2206, allocations: 0.7019 MB / 440.6 MB, free: 6.73 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002495/0.2231, allocations: 0.5266 MB / 441.1 MB, free: 6.203 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.158/0.3811, allocations: 7.698 MB / 448.8 MB, free: 94.08 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001568/0.3827, allocations: 71.94 kB / 448.9 MB, free: 94.08 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001882/0.3829, allocations: 111.4 kB / 449 MB, free: 94.08 MB / 366.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.0007218/0.3836, allocations: 383.8 kB / 449.4 MB, free: 93.96 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000478/0.3841, allocations: 179.2 kB / 449.6 MB, free: 93.96 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009173/0.3933, allocations: 2.467 MB / 452 MB, free: 93.22 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.752e-05/0.3933, allocations: 15.78 kB / 452 MB, free: 93.22 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.817e-06/0.3933, allocations: 2.75 kB / 452 MB, free: 93.22 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.52e-05/0.3933, allocations: 11.11 kB / 452.1 MB, free: 93.22 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00547/0.3988, allocations: 2.127 MB / 454.2 MB, free: 92.23 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.965e-06/0.3988, allocations: 3.875 kB / 454.2 MB, free: 92.23 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001383/0.4002, allocations: 313 kB / 454.5 MB, free: 92.21 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00689/0.4071, allocations: 0.7485 MB / 455.2 MB, free: 92.1 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001213/0.4072, allocations: 45.55 kB / 455.3 MB, free: 92.08 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01069/0.4179, allocations: 8.801 MB / 464.1 MB, free: 84.51 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.357e-06/0.4179, allocations: 3.938 kB / 464.1 MB, free: 84.5 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00919/0.4271, allocations: 2.84 MB / 466.9 MB, free: 83.31 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004042/0.4275, allocations: 123.7 kB / 467.1 MB, free: 83.3 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000214/0.4277, allocations: 31.38 kB / 467.1 MB, free: 83.28 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008425/0.4285, allocations: 31.38 kB / 467.1 MB, free: 83.26 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003334/0.4289, allocations: 128.8 kB / 467.2 MB, free: 83.24 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001006/0.429, allocations: 56.56 kB / 467.3 MB, free: 83.23 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0006589/0.4296, allocations: 0.5531 MB / 467.9 MB, free: 82.99 MB / 366.1 MB Notification: Performance of sort global known variables: time 8e-08/0.4296, allocations: 0 / 467.9 MB, free: 82.99 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.003152/0.4328, allocations: 1.06 MB / 468.9 MB, free: 82.41 MB / 366.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.001861/0.4347, allocations: 1.163 MB / 470.1 MB, free: 81.7 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.00323/0.4379, allocations: 1.991 MB / 472.1 MB, free: 79.86 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 5.03e-06/0.4379, allocations: 0 / 472.1 MB, free: 79.86 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001745/0.4396, allocations: 1.301 MB / 473.4 MB, free: 78.62 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001505/0.4411, allocations: 342.7 kB / 473.7 MB, free: 78.34 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004019/0.4452, allocations: 2.967 MB / 476.7 MB, free: 75.33 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004821/0.4456, allocations: 0.6838 MB / 477.4 MB, free: 74.61 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0009859/0.4466, allocations: 318.3 kB / 477.7 MB, free: 74.3 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003594/0.447, allocations: 200.7 kB / 477.9 MB, free: 74.11 MB / 366.1 MB Notification: Performance of SimCode: time 9.11e-07/0.447, allocations: 0 / 477.9 MB, free: 74.11 MB / 366.1 MB Notification: Performance of Templates: time 0.04528/0.4923, allocations: 37.64 MB / 0.5034 GB, free: 36.78 MB / 366.1 MB " [Timeout remaining time 660] 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: 6.542378928512335]