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.001362/0.001362, allocations: 102.7 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.001454/0.001454, allocations: 206.4 kB / 19.42 MB, free: 3.641 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.467/1.467, allocations: 230.6 MB / 252.8 MB, free: 9.004 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.1476/0.1476, allocations: 23.85 MB / 332.7 MB, free: 12.38 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.002288/0.002288, allocations: 70.23 kB / 466.5 MB, free: 9.613 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3801/0.3824, allocations: 59.81 MB / 0.5139 GB, free: 9.172 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Chemical.Obsolete.Examples.ExothermicReaction): time 0.008343/0.3908, allocations: 8.644 MB / 0.5224 GB, free: 3.117 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.032/0.4227, allocations: 23.36 MB / 0.5452 GB, free: 2.047 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002396/0.4251, allocations: 29.59 kB / 0.5452 GB, free: 2.031 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001957/0.4271, allocations: 0.5201 MB / 0.5457 GB, free: 1.734 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.008586/0.4357, allocations: 2.021 MB / 0.5477 GB, free: 500 kB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0119/0.4476, allocations: 3.03 MB / 0.5507 GB, free: 14.7 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.005478/0.4531, allocations: 2.511 MB / 0.5531 GB, free: 13.25 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001898/0.455, allocations: 1.176 MB / 0.5543 GB, free: 12.37 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002052/0.457, allocations: 1.248 MB / 0.5555 GB, free: 11.79 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00217/0.4592, allocations: 1.365 MB / 0.5568 GB, free: 10.97 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003832/0.4596, allocations: 215.6 kB / 0.557 GB, free: 10.97 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01241/0.472, allocations: 2.631 MB / 0.5596 GB, free: 9.996 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0009826/0.473, allocations: 0.5148 MB / 0.5601 GB, free: 9.574 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0022/0.4752, allocations: 1.09 MB / 0.5612 GB, free: 8.844 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01642/0.4916, allocations: 5.2 MB / 0.5662 GB, free: 5.465 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.122e-06/0.4916, allocations: 4 kB / 0.5662 GB, free: 5.461 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.463e-06/0.4916, allocations: 4 kB / 0.5662 GB, free: 5.457 MB / 414.1 MB Notification: Performance of Transformations before backend: time 7.157e-05/0.4917, allocations: 0 / 0.5662 GB, free: 5.457 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.007538/0.4992, allocations: 2.718 MB / 0.5689 GB, free: 2.676 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.686e-05/0.4993, allocations: 8.031 kB / 0.5689 GB, free: 2.668 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00216/0.5014, allocations: 426.9 kB / 0.5693 GB, free: 2.25 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002239/0.5037, allocations: 0.9755 MB / 0.5703 GB, free: 1.23 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002493/0.5039, allocations: 187.5 kB / 0.5704 GB, free: 1.035 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003624/0.5043, allocations: 192.3 kB / 0.5706 GB, free: 0.8477 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004252/0.5085, allocations: 2.082 MB / 0.5727 GB, free: 14.73 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.404e-05/0.5086, allocations: 0 / 0.5727 GB, free: 14.73 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002116/0.5088, allocations: 76 kB / 0.5727 GB, free: 14.66 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.831e-05/0.5088, allocations: 43.98 kB / 0.5728 GB, free: 14.62 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004732/0.5135, allocations: 2.581 MB / 0.5753 GB, free: 12.04 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.01203/0.5256, allocations: 6.363 MB / 0.5815 GB, free: 5.449 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005711/0.5313, allocations: 2.407 MB / 0.5839 GB, free: 2.969 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00145/0.5327, allocations: 0.7497 MB / 0.5846 GB, free: 2.215 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01313/0.5459, allocations: 8.089 MB / 0.5925 GB, free: 9.203 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.319e-05/0.5459, allocations: 51.67 kB / 0.5925 GB, free: 9.145 MB / 446.1 MB Notification: Performance of pre-optimization done (n=122): time 3.206e-06/0.5459, allocations: 4 kB / 0.5925 GB, free: 9.141 MB / 446.1 MB Notification: Performance of matching and sorting (n=150): time 0.02983/0.5757, allocations: 6.204 MB / 0.5986 GB, free: 2.773 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.969e-05/0.5758, allocations: 94.42 kB / 0.5987 GB, free: 2.664 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00146/0.5773, allocations: 0.9452 MB / 0.5996 GB, free: 1.703 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001957/0.5775, allocations: 53.7 kB / 0.5997 GB, free: 1.645 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000705/0.5782, allocations: 0.859 MB / 0.6005 GB, free: 0.7734 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005977/0.5788, allocations: 0.5345 MB / 0.601 GB, free: 240 kB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006083/0.5794, allocations: 379.4 kB / 0.6014 GB, free: 15.86 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001389/0.5795, allocations: 305.1 kB / 0.6017 GB, free: 15.55 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001068/0.5806, allocations: 0.5272 MB / 0.6022 GB, free: 15.02 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001708/0.5823, allocations: 1.239 MB / 0.6034 GB, free: 13.43 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.003282/0.5856, allocations: 2.052 MB / 0.6054 GB, free: 11.03 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.382e-05/0.5856, allocations: 8 kB / 0.6054 GB, free: 11.02 MB / 462.1 MB Notification: Performance of matching and sorting (n=258) (initialization): time 0.008997/0.5946, allocations: 2.53 MB / 0.6079 GB, free: 8.477 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.861e-05/0.5946, allocations: 22.64 kB / 0.6079 GB, free: 8.457 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.379e-05/0.5947, allocations: 24 kB / 0.6079 GB, free: 8.434 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006076/0.6008, allocations: 0.7018 MB / 0.6086 GB, free: 7.719 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002281/0.603, allocations: 0.5227 MB / 0.6091 GB, free: 7.195 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01416/0.6172, allocations: 8.265 MB / 0.6172 GB, free: 14.37 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00187/0.6191, allocations: 75.92 kB / 0.6173 GB, free: 14.29 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002809/0.6194, allocations: 116 kB / 0.6174 GB, free: 14.18 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.0008819/0.6202, allocations: 381.7 kB / 0.6177 GB, free: 13.8 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003881/0.6206, allocations: 147.1 kB / 0.6179 GB, free: 13.65 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009788/0.6304, allocations: 2.46 MB / 0.6203 GB, free: 11.13 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.951e-05/0.6304, allocations: 16 kB / 0.6203 GB, free: 11.11 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.454e-06/0.6304, allocations: 3.938 kB / 0.6203 GB, free: 11.11 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.22e-05/0.6305, allocations: 11.91 kB / 0.6203 GB, free: 11.1 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006303/0.6368, allocations: 2.546 MB / 0.6228 GB, free: 8.465 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.007e-05/0.6368, allocations: 4 kB / 0.6228 GB, free: 8.461 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001613/0.6384, allocations: 307.6 kB / 0.6231 GB, free: 8.16 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.007195/0.6456, allocations: 0.7496 MB / 0.6238 GB, free: 7.395 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001959/0.6458, allocations: 51.91 kB / 0.6239 GB, free: 7.344 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01493/0.6607, allocations: 9.492 MB / 0.6331 GB, free: 13.15 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.216e-06/0.6607, allocations: 8.125 kB / 0.6332 GB, free: 13.14 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01051/0.6712, allocations: 2.808 MB / 0.6359 GB, free: 10.27 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006929/0.6719, allocations: 208.1 kB / 0.6361 GB, free: 10.05 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004193/0.6723, allocations: 35.98 kB / 0.6361 GB, free: 10.01 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001121/0.6735, allocations: 32 kB / 0.6362 GB, free: 9.98 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003951/0.6738, allocations: 124.9 kB / 0.6363 GB, free: 9.859 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001449/0.674, allocations: 55.98 kB / 0.6363 GB, free: 9.805 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.001176/0.6752, allocations: 0.6303 MB / 0.637 GB, free: 9.168 MB / 494.1 MB Notification: Performance of sort global known variables: time 7e-08/0.6752, allocations: 0 / 0.637 GB, free: 9.168 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.004082/0.6793, allocations: 1.068 MB / 0.638 GB, free: 8.098 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.002934/0.6822, allocations: 1.124 MB / 0.6391 GB, free: 6.961 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.004238/0.6864, allocations: 1.986 MB / 0.641 GB, free: 4.922 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 5.11e-06/0.6864, allocations: 0 / 0.641 GB, free: 4.922 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002436/0.6889, allocations: 1.305 MB / 0.6423 GB, free: 3.555 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002014/0.6909, allocations: 342.9 kB / 0.6426 GB, free: 3.223 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006216/0.6971, allocations: 3.027 MB / 0.6456 GB, free: 140 kB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001338/0.6984, allocations: 1.264 MB / 0.6468 GB, free: 14.85 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.001358/0.6998, allocations: 331.8 kB / 0.6471 GB, free: 14.52 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005383/0.7003, allocations: 199.3 kB / 0.6473 GB, free: 14.32 MB / 0.4981 GB Notification: Performance of SimCode: time 8.72e-07/0.7003, allocations: 0 / 0.6473 GB, free: 14.32 MB / 0.4981 GB Notification: Performance of Templates: time 0.06852/0.7689, allocations: 38.53 MB / 0.685 GB, free: 7.949 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: 7.0600433722138405] Failed to read output from testmodel.py, exit status != 0: 0.7795551382005215 0.79305622 0.29816388899999996 Calling exit ...