Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Chemical_master_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.001629/0.001629, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.001451/0.001451, allocations: 209 kB / 22.24 MB, free: 5.262 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.418/1.418, allocations: 230.6 MB / 256 MB, free: 7.777 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical master/package.mo): time 0.1372/0.1372, allocations: 23.99 MB / 336.4 MB, free: 10.83 MB / 270.1 MB " [Timeout remaining time 180] Using package Chemical with version 2.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical master/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_master_Chemical.Obsolete.Examples.ExothermicReaction") translateModel(Chemical.Obsolete.Examples.ExothermicReaction,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Chemical_master_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.002337/0.002337, allocations: 59.91 kB / 471.8 MB, free: 6.844 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3293/0.3316, allocations: 59.9 MB / 0.5192 GB, free: 9.734 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Chemical.Obsolete.Examples.ExothermicReaction): time 0.007874/0.3395, allocations: 7.586 MB / 0.5266 GB, free: 4.695 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.02673/0.3662, allocations: 20.51 MB / 0.5466 GB, free: 6.703 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002117/0.3683, allocations: 31.34 kB / 0.5467 GB, free: 6.688 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002099/0.3704, allocations: 483.2 kB / 0.5471 GB, free: 6.438 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.008646/0.3791, allocations: 2.041 MB / 0.5491 GB, free: 5.188 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01087/0.39, allocations: 3.054 MB / 0.5521 GB, free: 3.086 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.004542/0.3945, allocations: 2.512 MB / 0.5546 GB, free: 1.574 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002095/0.3966, allocations: 1.139 MB / 0.5557 GB, free: 0.7227 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002371/0.399, allocations: 1.243 MB / 0.5569 GB, free: 148 kB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002854/0.4018, allocations: 1.229 MB / 0.5581 GB, free: 15.46 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0007685/0.4026, allocations: 215.9 kB / 0.5583 GB, free: 15.46 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.009193/0.4118, allocations: 2.47 MB / 0.5607 GB, free: 14.65 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001071/0.4128, allocations: 0.507 MB / 0.5612 GB, free: 14.23 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002726/0.4156, allocations: 0.9298 MB / 0.5621 GB, free: 13.51 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01588/0.4315, allocations: 5.179 MB / 0.5672 GB, free: 8.309 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.224e-06/0.4315, allocations: 0 / 0.5672 GB, free: 8.309 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.946e-06/0.4315, allocations: 4 kB / 0.5672 GB, free: 8.305 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0001152/0.4316, allocations: 4 kB / 0.5672 GB, free: 8.301 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.006574/0.4382, allocations: 2.639 MB / 0.5698 GB, free: 5.617 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.499e-05/0.4382, allocations: 8.031 kB / 0.5698 GB, free: 5.609 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001896/0.4401, allocations: 427 kB / 0.5702 GB, free: 5.191 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001838/0.4419, allocations: 0.8943 MB / 0.571 GB, free: 4.27 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00022/0.4422, allocations: 250.9 kB / 0.5713 GB, free: 4 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003079/0.4425, allocations: 188.3 kB / 0.5715 GB, free: 3.816 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003457/0.4459, allocations: 2.082 MB / 0.5735 GB, free: 1.703 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.896e-05/0.446, allocations: 7.938 kB / 0.5735 GB, free: 1.695 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001654/0.4461, allocations: 72 kB / 0.5736 GB, free: 1.625 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.694e-05/0.4462, allocations: 44 kB / 0.5736 GB, free: 1.582 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004102/0.4503, allocations: 2.553 MB / 0.5761 GB, free: 15.02 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.01015/0.4604, allocations: 5.136 MB / 0.5811 GB, free: 9.785 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005032/0.4654, allocations: 2.157 MB / 0.5832 GB, free: 7.609 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001308/0.4667, allocations: 0.7454 MB / 0.584 GB, free: 6.855 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.009863/0.4766, allocations: 4.183 MB / 0.588 GB, free: 2.648 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.417e-05/0.4767, allocations: 43.56 kB / 0.5881 GB, free: 2.598 MB / 430.1 MB Notification: Performance of pre-optimization done (n=122): time 3.377e-06/0.4767, allocations: 0 / 0.5881 GB, free: 2.598 MB / 430.1 MB Notification: Performance of matching and sorting (n=150): time 0.0254/0.5021, allocations: 5.821 MB / 0.5938 GB, free: 12.7 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.952e-05/0.5021, allocations: 102.3 kB / 0.5939 GB, free: 12.59 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001201/0.5033, allocations: 0.864 MB / 0.5947 GB, free: 11.7 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001312/0.5035, allocations: 53.7 kB / 0.5948 GB, free: 11.64 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006701/0.5041, allocations: 0.8589 MB / 0.5956 GB, free: 10.77 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005551/0.5047, allocations: 0.5423 MB / 0.5961 GB, free: 10.22 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005533/0.5053, allocations: 379.5 kB / 0.5965 GB, free: 9.844 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001772/0.5054, allocations: 357.9 kB / 0.5968 GB, free: 9.488 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009922/0.5064, allocations: 0.5272 MB / 0.5974 GB, free: 8.957 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001651/0.5081, allocations: 1.239 MB / 0.5986 GB, free: 7.379 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.003023/0.5111, allocations: 1.977 MB / 0.6005 GB, free: 5.074 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.392e-05/0.5111, allocations: 8 kB / 0.6005 GB, free: 5.066 MB / 446.1 MB Notification: Performance of matching and sorting (n=258) (initialization): time 0.008316/0.5194, allocations: 2.522 MB / 0.603 GB, free: 2.523 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.744e-05/0.5195, allocations: 16 kB / 0.603 GB, free: 2.508 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.461e-05/0.5195, allocations: 24.12 kB / 0.603 GB, free: 2.484 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005347/0.5249, allocations: 0.7018 MB / 0.6037 GB, free: 1.77 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001961/0.5268, allocations: 0.5227 MB / 0.6042 GB, free: 1.246 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01238/0.5392, allocations: 7.684 MB / 0.6117 GB, free: 9.152 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001391/0.5406, allocations: 83.98 kB / 0.6118 GB, free: 9.07 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002572/0.5409, allocations: 108 kB / 0.6119 GB, free: 8.965 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.0008573/0.5417, allocations: 381 kB / 0.6122 GB, free: 8.582 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004222/0.5421, allocations: 131.2 kB / 0.6124 GB, free: 8.453 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008718/0.5509, allocations: 2.481 MB / 0.6148 GB, free: 5.914 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.512e-05/0.5509, allocations: 15.94 kB / 0.6148 GB, free: 5.898 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.214e-05/0.5509, allocations: 4 kB / 0.6148 GB, free: 5.895 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.11e-05/0.5509, allocations: 7.969 kB / 0.6148 GB, free: 5.887 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005455/0.5564, allocations: 2.121 MB / 0.6169 GB, free: 3.688 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.979e-06/0.5564, allocations: 0 / 0.6169 GB, free: 3.688 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001458/0.5578, allocations: 316 kB / 0.6172 GB, free: 3.379 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00628/0.5641, allocations: 0.7533 MB / 0.6179 GB, free: 2.609 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001926/0.5643, allocations: 43.98 kB / 0.618 GB, free: 2.566 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01299/0.5773, allocations: 8.775 MB / 0.6265 GB, free: 9.281 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.152e-06/0.5773, allocations: 4 kB / 0.6265 GB, free: 9.277 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009525/0.5868, allocations: 2.799 MB / 0.6293 GB, free: 6.418 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005089/0.5873, allocations: 123.1 kB / 0.6294 GB, free: 6.297 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000375/0.5877, allocations: 28 kB / 0.6294 GB, free: 6.27 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009506/0.5887, allocations: 39.92 kB / 0.6295 GB, free: 6.23 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00035/0.589, allocations: 125 kB / 0.6296 GB, free: 6.109 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000118/0.5891, allocations: 55.98 kB / 0.6296 GB, free: 6.055 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.0009101/0.59, allocations: 0.5488 MB / 0.6302 GB, free: 5.496 MB / 478.1 MB Notification: Performance of sort global known variables: time 1e-07/0.59, allocations: 0 / 0.6302 GB, free: 5.496 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.004092/0.5941, allocations: 1.068 MB / 0.6312 GB, free: 4.426 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.00295/0.5971, allocations: 1.114 MB / 0.6323 GB, free: 3.297 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.004369/0.6014, allocations: 1.995 MB / 0.6342 GB, free: 1.254 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 6.482e-06/0.6015, allocations: 0 / 0.6342 GB, free: 1.254 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002385/0.6038, allocations: 1.302 MB / 0.6355 GB, free: 15.89 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001862/0.6057, allocations: 308.6 kB / 0.6358 GB, free: 15.59 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005932/0.6116, allocations: 3.018 MB / 0.6388 GB, free: 12.51 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009131/0.6125, allocations: 0.6837 MB / 0.6394 GB, free: 11.79 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.001276/0.6138, allocations: 322.9 kB / 0.6397 GB, free: 11.46 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004705/0.6143, allocations: 195.3 kB / 0.6399 GB, free: 11.27 MB / 494.1 MB Notification: Performance of SimCode: time 8.92e-07/0.6143, allocations: 0 / 0.6399 GB, free: 11.27 MB / 494.1 MB Notification: Performance of Templates: time 0.06293/0.6772, allocations: 39.76 MB / 0.6787 GB, free: 3.793 MB / 0.5137 GB " [Timeout remaining time 659] make -j1 -f Chemical_master_Chemical.Obsolete.Examples.ExothermicReaction.makefile [Timeout 660] (rm -f Chemical_master_Chemical.Obsolete.Examples.ExothermicReaction.pipe ; mkfifo Chemical_master_Chemical.Obsolete.Examples.ExothermicReaction.pipe ; head -c 1048576 < Chemical_master_Chemical.Obsolete.Examples.ExothermicReaction.pipe >> ../files/Chemical_master_Chemical.Obsolete.Examples.ExothermicReaction.sim & ./Chemical_master_Chemical.Obsolete.Examples.ExothermicReaction -abortSlowSimulation -alarm=480 -lv LOG_STATS > Chemical_master_Chemical.Obsolete.Examples.ExothermicReaction.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.4959241561591625] Failed to read output from testmodel.py, exit status != 0: 0.6868862342089415 0.70098079 0.26607412 Calling exit ...