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: 105.1 kB / 18.99 MB, free: 2.605 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.001901/0.001901, allocations: 219.5 kB / 22.3 MB, free: 5.293 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.7 MB / 256.1 MB, free: 7.922 MB / 206.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.1645/0.1645, allocations: 23.9 MB / 336.4 MB, free: 10.93 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.002047/0.002047, allocations: 75.88 kB / 471.7 MB, free: 6.949 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4419/0.444, allocations: 59.85 MB / 0.5191 GB, free: 9.785 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Chemical.Obsolete.Examples.ExothermicReaction): time 0.008974/0.4529, allocations: 7.592 MB / 0.5265 GB, free: 4.742 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.02977/0.4827, allocations: 20.51 MB / 0.5466 GB, free: 6.754 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002332/0.485, allocations: 29.88 kB / 0.5466 GB, free: 6.738 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001824/0.4869, allocations: 484.5 kB / 0.547 GB, free: 6.488 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.008417/0.4953, allocations: 2.033 MB / 0.549 GB, free: 5.246 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0126/0.5079, allocations: 3.064 MB / 0.552 GB, free: 3.184 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.005113/0.513, allocations: 2.512 MB / 0.5545 GB, free: 1.672 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001967/0.515, allocations: 1.136 MB / 0.5556 GB, free: 0.8242 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002218/0.5172, allocations: 1.253 MB / 0.5568 GB, free: 244 kB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00226/0.5194, allocations: 1.232 MB / 0.558 GB, free: 15.55 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003761/0.5198, allocations: 220.2 kB / 0.5582 GB, free: 15.55 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01068/0.5305, allocations: 2.466 MB / 0.5606 GB, free: 14.74 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006323/0.5311, allocations: 0.5076 MB / 0.5611 GB, free: 14.32 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001502/0.5326, allocations: 0.9222 MB / 0.562 GB, free: 13.68 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01409/0.5467, allocations: 5.175 MB / 0.5671 GB, free: 8.48 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.5e-06/0.5467, allocations: 4 kB / 0.5671 GB, free: 8.477 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.104e-06/0.5467, allocations: 0 / 0.5671 GB, free: 8.477 MB / 414.1 MB Notification: Performance of Transformations before backend: time 4.114e-05/0.5468, allocations: 0 / 0.5671 GB, free: 8.477 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.005488/0.5523, allocations: 2.65 MB / 0.5697 GB, free: 5.785 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.395e-05/0.5523, allocations: 8.031 kB / 0.5697 GB, free: 5.777 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001913/0.5542, allocations: 434.9 kB / 0.5701 GB, free: 5.352 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001808/0.556, allocations: 0.8943 MB / 0.571 GB, free: 4.43 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002506/0.5563, allocations: 250.9 kB / 0.5712 GB, free: 4.16 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003616/0.5566, allocations: 184.3 kB / 0.5714 GB, free: 3.98 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003831/0.5605, allocations: 2.086 MB / 0.5734 GB, free: 1.863 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.427e-05/0.5605, allocations: 8 kB / 0.5734 GB, free: 1.855 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001853/0.5607, allocations: 72 kB / 0.5735 GB, free: 1.785 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.723e-05/0.5608, allocations: 44 kB / 0.5735 GB, free: 1.742 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004458/0.5652, allocations: 2.553 MB / 0.576 GB, free: 15.18 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.01079/0.576, allocations: 5.138 MB / 0.581 GB, free: 9.941 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00517/0.5812, allocations: 2.162 MB / 0.5832 GB, free: 7.77 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001521/0.5827, allocations: 0.7416 MB / 0.5839 GB, free: 7.02 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.009855/0.5926, allocations: 4.175 MB / 0.588 GB, free: 2.82 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.551e-05/0.5926, allocations: 47.5 kB / 0.588 GB, free: 2.766 MB / 430.1 MB Notification: Performance of pre-optimization done (n=122): time 3.637e-06/0.5926, allocations: 0 / 0.588 GB, free: 2.766 MB / 430.1 MB Notification: Performance of matching and sorting (n=150): time 0.02777/0.6204, allocations: 5.819 MB / 0.5937 GB, free: 12.87 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.944e-05/0.6205, allocations: 98.36 kB / 0.5938 GB, free: 12.75 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001368/0.6218, allocations: 0.8601 MB / 0.5946 GB, free: 11.87 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001535/0.622, allocations: 53.7 kB / 0.5947 GB, free: 11.81 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007702/0.6228, allocations: 0.8589 MB / 0.5955 GB, free: 10.94 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005883/0.6233, allocations: 0.5423 MB / 0.596 GB, free: 10.39 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005571/0.6239, allocations: 379.4 kB / 0.5964 GB, free: 10.02 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0002134/0.6241, allocations: 357.9 kB / 0.5967 GB, free: 9.66 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001053/0.6252, allocations: 0.5272 MB / 0.5973 GB, free: 9.129 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00176/0.6269, allocations: 1.239 MB / 0.5985 GB, free: 7.551 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.003032/0.63, allocations: 1.973 MB / 0.6004 GB, free: 5.25 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.941e-05/0.63, allocations: 12 kB / 0.6004 GB, free: 5.238 MB / 446.1 MB Notification: Performance of matching and sorting (n=258) (initialization): time 0.008602/0.6386, allocations: 2.526 MB / 0.6029 GB, free: 2.691 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.014e-05/0.6386, allocations: 16 kB / 0.6029 GB, free: 2.676 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.738e-05/0.6387, allocations: 32.06 kB / 0.6029 GB, free: 2.645 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005742/0.6444, allocations: 0.6901 MB / 0.6036 GB, free: 1.941 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002237/0.6466, allocations: 0.5265 MB / 0.6041 GB, free: 1.414 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01322/0.6599, allocations: 7.689 MB / 0.6116 GB, free: 9.309 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001628/0.6615, allocations: 79.98 kB / 0.6117 GB, free: 9.23 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002141/0.6617, allocations: 108 kB / 0.6118 GB, free: 9.125 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.0008339/0.6625, allocations: 388.8 kB / 0.6122 GB, free: 8.738 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003821/0.6629, allocations: 135.3 kB / 0.6123 GB, free: 8.605 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009299/0.6722, allocations: 2.477 MB / 0.6147 GB, free: 6.07 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.833e-05/0.6722, allocations: 12 kB / 0.6147 GB, free: 6.059 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.025e-05/0.6722, allocations: 4 kB / 0.6147 GB, free: 6.055 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.423e-05/0.6723, allocations: 3.984 kB / 0.6147 GB, free: 6.051 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005773/0.678, allocations: 2.133 MB / 0.6168 GB, free: 3.84 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.823e-06/0.678, allocations: 0 / 0.6168 GB, free: 3.84 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001542/0.6796, allocations: 315.9 kB / 0.6171 GB, free: 3.531 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.006806/0.6864, allocations: 0.7494 MB / 0.6178 GB, free: 2.766 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002452/0.6866, allocations: 43.98 kB / 0.6179 GB, free: 2.723 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01399/0.7006, allocations: 8.771 MB / 0.6265 GB, free: 9.445 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.332e-06/0.7006, allocations: 4 kB / 0.6265 GB, free: 9.441 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01005/0.7107, allocations: 2.814 MB / 0.6292 GB, free: 6.566 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004268/0.7111, allocations: 115.1 kB / 0.6293 GB, free: 6.453 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002014/0.7113, allocations: 31.98 kB / 0.6293 GB, free: 6.422 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007874/0.7121, allocations: 32 kB / 0.6294 GB, free: 6.391 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003941/0.7125, allocations: 129 kB / 0.6295 GB, free: 6.266 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001086/0.7126, allocations: 55.98 kB / 0.6296 GB, free: 6.211 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.000916/0.7135, allocations: 0.5566 MB / 0.6301 GB, free: 5.645 MB / 478.1 MB Notification: Performance of sort global known variables: time 8e-08/0.7135, allocations: 0 / 0.6301 GB, free: 5.645 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.003495/0.717, allocations: 1.06 MB / 0.6311 GB, free: 4.582 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.002219/0.7192, allocations: 1.129 MB / 0.6322 GB, free: 3.438 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.003965/0.7232, allocations: 1.975 MB / 0.6342 GB, free: 1.414 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 4.128e-06/0.7232, allocations: 4 kB / 0.6342 GB, free: 1.41 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002246/0.7255, allocations: 1.305 MB / 0.6354 GB, free: 40 kB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001575/0.727, allocations: 300 kB / 0.6357 GB, free: 15.75 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00605/0.7331, allocations: 3.035 MB / 0.6387 GB, free: 12.64 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008804/0.734, allocations: 0.6799 MB / 0.6394 GB, free: 11.93 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.001226/0.7352, allocations: 315 kB / 0.6397 GB, free: 11.61 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004421/0.7356, allocations: 192.4 kB / 0.6398 GB, free: 11.42 MB / 494.1 MB Notification: Performance of SimCode: time 1.172e-06/0.7356, allocations: 0 / 0.6398 GB, free: 11.42 MB / 494.1 MB Notification: Performance of Templates: time 0.06293/0.7986, allocations: 37.52 MB / 0.6765 GB, free: 6.195 MB / 0.5137 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: 7.140354024246335] Failed to read output from testmodel.py, exit status != 0: 0.8083032667636871 0.8238336780000001 0.273720001 Calling exit ...