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.001452/0.001452, allocations: 110.4 kB / 18.94 MB, free: 2.949 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.001863/0.001863, allocations: 216.9 kB / 22.26 MB, free: 5.125 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.336/1.336, allocations: 230.6 MB / 256 MB, free: 7.984 MB / 206.1 MB " [Timeout remaining time 179] 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.1282/0.1282, allocations: 23.85 MB / 336.3 MB, free: 11.29 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: 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.002159/0.002159, allocations: 67.84 kB / 471.6 MB, free: 7.207 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2724/0.2745, allocations: 59.85 MB / 0.519 GB, free: 9.801 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Chemical.Obsolete.Examples.ExothermicReaction): time 0.007556/0.2821, allocations: 8.674 MB / 0.5275 GB, free: 3.613 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.02596/0.308, allocations: 23.42 MB / 0.5504 GB, free: 2.52 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001338/0.3094, allocations: 29.25 kB / 0.5504 GB, free: 2.504 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001439/0.3108, allocations: 0.524 MB / 0.5509 GB, free: 2.203 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006266/0.3171, allocations: 2.041 MB / 0.5529 GB, free: 0.9531 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.008883/0.326, allocations: 3.056 MB / 0.5559 GB, free: 14.92 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.003863/0.3298, allocations: 2.51 MB / 0.5584 GB, free: 13.41 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001543/0.3314, allocations: 1.163 MB / 0.5595 GB, free: 12.54 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00151/0.3329, allocations: 1.252 MB / 0.5607 GB, free: 11.95 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001865/0.3347, allocations: 1.369 MB / 0.5621 GB, free: 11.13 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002763/0.335, allocations: 215.6 kB / 0.5623 GB, free: 11.13 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.008006/0.343, allocations: 2.634 MB / 0.5648 GB, free: 10.15 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005773/0.3436, allocations: 0.5064 MB / 0.5653 GB, free: 9.734 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001791/0.3454, allocations: 1.098 MB / 0.5664 GB, free: 8.996 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01163/0.357, allocations: 5.196 MB / 0.5715 GB, free: 4.203 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.82e-06/0.357, allocations: 0 / 0.5715 GB, free: 4.203 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.633e-06/0.357, allocations: 0 / 0.5715 GB, free: 4.203 MB / 414.1 MB Notification: Performance of Transformations before backend: time 8.237e-05/0.3571, allocations: 0 / 0.5715 GB, free: 4.203 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.005825/0.3629, allocations: 2.654 MB / 0.5741 GB, free: 1.508 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.771e-05/0.363, allocations: 12.02 kB / 0.5741 GB, free: 1.496 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002042/0.365, allocations: 426.9 kB / 0.5745 GB, free: 1.078 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001862/0.3669, allocations: 0.8943 MB / 0.5754 GB, free: 160 kB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002312/0.3671, allocations: 258.9 kB / 0.5756 GB, free: 15.88 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003488/0.3675, allocations: 180.3 kB / 0.5758 GB, free: 15.7 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003393/0.3708, allocations: 2.086 MB / 0.5778 GB, free: 13.59 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.176e-05/0.3709, allocations: 0 / 0.5778 GB, free: 13.59 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001639/0.371, allocations: 72 kB / 0.5779 GB, free: 13.52 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.693e-05/0.3711, allocations: 44 kB / 0.5779 GB, free: 13.47 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004028/0.3751, allocations: 2.584 MB / 0.5804 GB, free: 10.89 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.0103/0.3854, allocations: 6.29 MB / 0.5866 GB, free: 4.367 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004928/0.3903, allocations: 2.197 MB / 0.5887 GB, free: 2.148 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001176/0.3915, allocations: 0.7416 MB / 0.5895 GB, free: 1.402 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.009405/0.4009, allocations: 4.432 MB / 0.5938 GB, free: 12.94 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.757e-05/0.401, allocations: 55.48 kB / 0.5938 GB, free: 12.88 MB / 446.1 MB Notification: Performance of pre-optimization done (n=122): time 2.535e-06/0.401, allocations: 0 / 0.5938 GB, free: 12.88 MB / 446.1 MB Notification: Performance of matching and sorting (n=150): time 0.02844/0.4294, allocations: 5.827 MB / 0.5995 GB, free: 6.973 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.697e-05/0.4295, allocations: 98.42 kB / 0.5996 GB, free: 6.859 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001261/0.4307, allocations: 0.9336 MB / 0.6005 GB, free: 5.91 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 9.745e-05/0.4308, allocations: 53.7 kB / 0.6006 GB, free: 5.852 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006363/0.4315, allocations: 0.8667 MB / 0.6014 GB, free: 4.973 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004718/0.4319, allocations: 0.5345 MB / 0.602 GB, free: 4.434 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005041/0.4324, allocations: 379.3 kB / 0.6023 GB, free: 4.055 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001144/0.4326, allocations: 301.1 kB / 0.6026 GB, free: 3.758 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001001/0.4336, allocations: 0.5272 MB / 0.6031 GB, free: 3.227 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001553/0.4351, allocations: 1.251 MB / 0.6043 GB, free: 1.641 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.00284/0.4379, allocations: 1.966 MB / 0.6063 GB, free: 15.34 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.708e-05/0.438, allocations: 8 kB / 0.6063 GB, free: 15.33 MB / 462.1 MB Notification: Performance of matching and sorting (n=258) (initialization): time 0.008656/0.4466, allocations: 2.526 MB / 0.6087 GB, free: 12.79 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.16e-05/0.4467, allocations: 16 kB / 0.6087 GB, free: 12.77 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.764e-05/0.4467, allocations: 24 kB / 0.6088 GB, free: 12.75 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006176/0.4529, allocations: 0.7018 MB / 0.6095 GB, free: 12.03 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001967/0.4548, allocations: 0.5227 MB / 0.61 GB, free: 11.51 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01258/0.4674, allocations: 7.862 MB / 0.6176 GB, free: 3.188 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001313/0.4687, allocations: 75.95 kB / 0.6177 GB, free: 3.113 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002091/0.4689, allocations: 116 kB / 0.6178 GB, free: 3 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.0007089/0.4696, allocations: 381.2 kB / 0.6182 GB, free: 2.617 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003507/0.47, allocations: 147.1 kB / 0.6183 GB, free: 2.473 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00927/0.4793, allocations: 2.462 MB / 0.6207 GB, free: 15.95 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.398e-05/0.4793, allocations: 12 kB / 0.6207 GB, free: 15.93 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.02e-05/0.4793, allocations: 4 kB / 0.6207 GB, free: 15.93 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.68e-05/0.4793, allocations: 11.91 kB / 0.6208 GB, free: 15.92 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005534/0.4848, allocations: 2.52 MB / 0.6232 GB, free: 13.32 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.696e-06/0.4848, allocations: 4 kB / 0.6232 GB, free: 13.31 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001466/0.4863, allocations: 315.9 kB / 0.6235 GB, free: 13 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.007233/0.4935, allocations: 0.7455 MB / 0.6243 GB, free: 12.24 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001118/0.4937, allocations: 43.92 kB / 0.6243 GB, free: 12.2 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01304/0.5067, allocations: 8.971 MB / 0.6331 GB, free: 2.656 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.274e-06/0.5067, allocations: 15.81 kB / 0.6331 GB, free: 2.641 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009808/0.5165, allocations: 2.804 MB / 0.6358 GB, free: 15.78 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003532/0.5169, allocations: 138.9 kB / 0.6359 GB, free: 15.64 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002266/0.5171, allocations: 32 kB / 0.636 GB, free: 15.61 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008647/0.518, allocations: 36 kB / 0.636 GB, free: 15.57 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000271/0.5182, allocations: 132.9 kB / 0.6361 GB, free: 15.45 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.746e-05/0.5183, allocations: 51.98 kB / 0.6362 GB, free: 15.39 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0009095/0.5192, allocations: 0.6303 MB / 0.6368 GB, free: 14.76 MB / 494.1 MB Notification: Performance of sort global known variables: time 6.1e-08/0.5192, allocations: 0 / 0.6368 GB, free: 14.76 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.003154/0.5224, allocations: 1.064 MB / 0.6378 GB, free: 13.69 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.002239/0.5246, allocations: 1.117 MB / 0.6389 GB, free: 12.56 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.003718/0.5283, allocations: 1.995 MB / 0.6409 GB, free: 10.52 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 3.576e-06/0.5283, allocations: 0 / 0.6409 GB, free: 10.52 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002173/0.5305, allocations: 1.306 MB / 0.6422 GB, free: 9.148 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001455/0.532, allocations: 330.1 kB / 0.6425 GB, free: 8.836 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005178/0.5372, allocations: 3.046 MB / 0.6454 GB, free: 5.727 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009892/0.5381, allocations: 1.26 MB / 0.6467 GB, free: 4.434 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.001038/0.5392, allocations: 335.8 kB / 0.647 GB, free: 4.102 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004255/0.5396, allocations: 203.3 kB / 0.6472 GB, free: 3.902 MB / 494.1 MB Notification: Performance of SimCode: time 6.32e-07/0.5396, allocations: 0 / 0.6472 GB, free: 3.902 MB / 494.1 MB Notification: Performance of Templates: time 0.06179/0.6014, allocations: 39.78 MB / 0.686 GB, free: 12.27 MB / 0.5294 GB " [Timeout remaining time 659] 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.32810029014945] Failed to read output from testmodel.py, exit status != 0: 0.6105464759748429 0.624337525 0.26423477 Calling exit ...