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.0007942/0.0007942, allocations: 76.45 kB / 19.9 MB, free: 24 kB / 13.93 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.0007659/0.0007659, allocations: 173.8 kB / 23.19 MB, free: 1.383 MB / 18.57 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 0.8249/0.8249, allocations: 177.2 MB / 203.6 MB, free: 5.766 MB / 186.7 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.1013/0.1013, allocations: 17.37 MB / 277.4 MB, free: 11.88 MB / 266.7 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.001303/0.001303, allocations: 71.58 kB / 412.8 MB, free: 13.09 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1295/0.1308, allocations: 59.85 MB / 472.7 MB, free: 13.87 MB / 378.7 MB Notification: Performance of NFInst.instantiate(Chemical.Obsolete.Examples.ExothermicReaction): time 0.007912/0.1387, allocations: 7.568 MB / 480.2 MB, free: 6.262 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.01912/0.1578, allocations: 20.51 MB / 0.489 GB, free: 1.672 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001705/0.1595, allocations: 27.75 kB / 0.489 GB, free: 1.645 MB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001298/0.1608, allocations: 484.1 kB / 0.4895 GB, free: 1.168 MB / 394.7 MB Notification: Performance of NFTyping.typeBindings: time 0.006543/0.1674, allocations: 2.04 MB / 0.4915 GB, free: 15.11 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.008827/0.1762, allocations: 3.068 MB / 0.4945 GB, free: 12.03 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.003383/0.1796, allocations: 2.511 MB / 0.4969 GB, free: 9.508 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001603/0.1812, allocations: 1.135 MB / 0.498 GB, free: 8.324 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002232/0.1834, allocations: 1.777 MB / 0.4998 GB, free: 6.543 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001677/0.1851, allocations: 1.23 MB / 0.501 GB, free: 5.309 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0005041/0.1856, allocations: 216 kB / 0.5012 GB, free: 5.098 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.008118/0.1937, allocations: 2.468 MB / 0.5036 GB, free: 2.625 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.00117/0.1949, allocations: 0.5218 MB / 0.5041 GB, free: 2.102 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001771/0.1967, allocations: 0.9221 MB / 0.505 GB, free: 1.176 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01357/0.2102, allocations: 5.21 MB / 0.5101 GB, free: 11.95 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.059e-05/0.2102, allocations: 0 / 0.5101 GB, free: 11.95 MB / 426.7 MB Notification: Performance of FrontEnd: time 3.827e-06/0.2102, allocations: 0 / 0.5101 GB, free: 11.95 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0001148/0.2104, allocations: 0 / 0.5101 GB, free: 11.95 MB / 426.7 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.005873/0.2162, allocations: 2.647 MB / 0.5127 GB, free: 9.254 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.754e-05/0.2163, allocations: 12.03 kB / 0.5127 GB, free: 9.242 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00139/0.2177, allocations: 430.9 kB / 0.5131 GB, free: 8.82 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001452/0.2191, allocations: 0.8943 MB / 0.514 GB, free: 7.898 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001699/0.2193, allocations: 250.9 kB / 0.5142 GB, free: 7.629 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002452/0.2196, allocations: 188.3 kB / 0.5144 GB, free: 7.445 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003173/0.2227, allocations: 2.086 MB / 0.5164 GB, free: 5.328 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.797e-05/0.2228, allocations: 0 / 0.5164 GB, free: 5.328 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000124/0.2229, allocations: 72 kB / 0.5165 GB, free: 5.258 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.747e-05/0.2229, allocations: 44 kB / 0.5165 GB, free: 5.215 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003168/0.2261, allocations: 2.549 MB / 0.519 GB, free: 2.66 MB / 426.7 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.008487/0.2346, allocations: 5.141 MB / 0.524 GB, free: 13.41 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003431/0.238, allocations: 2.152 MB / 0.5261 GB, free: 11.25 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00117/0.2392, allocations: 0.7415 MB / 0.5269 GB, free: 10.5 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006586/0.2457, allocations: 4.179 MB / 0.5309 GB, free: 6.293 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.486e-05/0.2458, allocations: 51.5 kB / 0.531 GB, free: 6.234 MB / 442.7 MB Notification: Performance of pre-optimization done (n=122): time 4.107e-06/0.2458, allocations: 0 / 0.531 GB, free: 6.234 MB / 442.7 MB Notification: Performance of matching and sorting (n=150): time 0.01593/0.2617, allocations: 5.822 MB / 0.5367 GB, free: 344 kB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.59e-05/0.2618, allocations: 98.36 kB / 0.5368 GB, free: 228 kB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009874/0.2628, allocations: 0.8601 MB / 0.5376 GB, free: 15.34 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000147/0.2629, allocations: 53.7 kB / 0.5377 GB, free: 15.28 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004441/0.2634, allocations: 0.8589 MB / 0.5385 GB, free: 14.41 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003991/0.2638, allocations: 0.5462 MB / 0.539 GB, free: 13.86 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003572/0.2641, allocations: 371.4 kB / 0.5394 GB, free: 13.49 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0001268/0.2642, allocations: 357.9 kB / 0.5397 GB, free: 13.13 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007605/0.265, allocations: 0.5311 MB / 0.5403 GB, free: 12.6 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001094/0.2661, allocations: 1.247 MB / 0.5415 GB, free: 11.01 MB / 458.7 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.002624/0.2687, allocations: 1.973 MB / 0.5434 GB, free: 8.711 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.397e-05/0.2687, allocations: 8 kB / 0.5434 GB, free: 8.703 MB / 458.7 MB Notification: Performance of matching and sorting (n=258) (initialization): time 0.005233/0.274, allocations: 2.519 MB / 0.5459 GB, free: 6.164 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.668e-05/0.274, allocations: 19.94 kB / 0.5459 GB, free: 6.145 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.349e-05/0.274, allocations: 24 kB / 0.5459 GB, free: 6.121 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002747/0.2768, allocations: 0.6941 MB / 0.5466 GB, free: 5.414 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001595/0.2784, allocations: 0.5149 MB / 0.5471 GB, free: 4.898 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009269/0.2877, allocations: 7.701 MB / 0.5546 GB, free: 12.79 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001441/0.2891, allocations: 75.98 kB / 0.5547 GB, free: 12.71 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002438/0.2893, allocations: 112 kB / 0.5548 GB, free: 12.6 MB / 474.7 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.0008287/0.2902, allocations: 389.1 kB / 0.5552 GB, free: 12.21 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003121/0.2905, allocations: 135.2 kB / 0.5553 GB, free: 12.08 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00533/0.2958, allocations: 2.461 MB / 0.5577 GB, free: 9.559 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.698e-05/0.2958, allocations: 16 kB / 0.5577 GB, free: 9.543 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.763e-05/0.2959, allocations: 7.984 kB / 0.5577 GB, free: 9.535 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.546e-05/0.2959, allocations: 3.984 kB / 0.5577 GB, free: 9.531 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004213/0.3001, allocations: 2.133 MB / 0.5598 GB, free: 7.32 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.649e-05/0.3001, allocations: 4 kB / 0.5598 GB, free: 7.316 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000893/0.301, allocations: 315.9 kB / 0.5601 GB, free: 7.008 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003191/0.3042, allocations: 0.7493 MB / 0.5608 GB, free: 6.242 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002169/0.3044, allocations: 39.98 kB / 0.5609 GB, free: 6.203 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009245/0.3137, allocations: 8.771 MB / 0.5694 GB, free: 12.93 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.56e-06/0.3137, allocations: 3.938 kB / 0.5694 GB, free: 12.92 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006305/0.32, allocations: 2.806 MB / 0.5722 GB, free: 10.05 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005691/0.3205, allocations: 115.1 kB / 0.5723 GB, free: 9.941 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002029/0.3207, allocations: 32 kB / 0.5723 GB, free: 9.91 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005349/0.3213, allocations: 43.92 kB / 0.5724 GB, free: 9.867 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003897/0.3217, allocations: 133 kB / 0.5725 GB, free: 9.738 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.288e-05/0.3217, allocations: 47.98 kB / 0.5725 GB, free: 9.691 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.0007206/0.3225, allocations: 0.5527 MB / 0.5731 GB, free: 9.129 MB / 490.7 MB Notification: Performance of sort global known variables: time 2.5e-07/0.3225, allocations: 0 / 0.5731 GB, free: 9.129 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.003746/0.3262, allocations: 1.064 MB / 0.5741 GB, free: 8.062 MB / 490.7 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.002669/0.3289, allocations: 1.121 MB / 0.5752 GB, free: 6.926 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.003793/0.3327, allocations: 1.983 MB / 0.5772 GB, free: 4.895 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 8.155e-06/0.3327, allocations: 0 / 0.5772 GB, free: 4.895 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001931/0.3346, allocations: 1.306 MB / 0.5784 GB, free: 3.523 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001385/0.336, allocations: 305 kB / 0.5787 GB, free: 3.23 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004913/0.3409, allocations: 3.031 MB / 0.5817 GB, free: 136 kB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.261/0.6019, allocations: 0.6798 MB / 0.5823 GB, free: 107.7 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.00151/0.6034, allocations: 320.2 kB / 0.5826 GB, free: 107.7 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006222/0.6041, allocations: 197.3 kB / 0.5828 GB, free: 107.7 MB / 490.7 MB Notification: Performance of SimCode: time 4.398e-06/0.6041, allocations: 0 / 0.5828 GB, free: 107.7 MB / 490.7 MB Notification: Performance of Templates: time 0.04777/0.6518, allocations: 37.57 MB / 0.6195 GB, free: 81.93 MB / 490.7 MB " [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 -s cvode -lv LOG_STATS > Chemical_Chemical.Obsolete.Examples.ExothermicReaction.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.462082311976701] Failed to read output from testmodel.py, exit status != 0: 0.8621222139336169 0.666190048 0.45409674899999997 Calling exit ...