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.001499/0.001499, allocations: 100.3 kB / 19.7 MB, free: 2.012 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.001888/0.001888, allocations: 222.8 kB / 23 MB, free: 4.914 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.51/1.51, allocations: 230.6 MB / 256.8 MB, free: 7.805 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.1501/0.1501, allocations: 23.98 MB / 337.2 MB, free: 10.86 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.002376/0.002376, allocations: 71.83 kB / 472.5 MB, free: 6.852 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3533/0.3556, allocations: 59.89 MB / 0.52 GB, free: 9.691 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Chemical.Obsolete.Examples.ExothermicReaction): time 0.008087/0.3637, allocations: 7.584 MB / 0.5274 GB, free: 4.652 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.02824/0.392, allocations: 20.51 MB / 0.5474 GB, free: 6.656 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002086/0.394, allocations: 30.16 kB / 0.5474 GB, free: 6.641 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001858/0.3959, allocations: 475.4 kB / 0.5479 GB, free: 6.398 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.008362/0.4043, allocations: 2.044 MB / 0.5499 GB, free: 5.145 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01022/0.4145, allocations: 3.057 MB / 0.5529 GB, free: 3.062 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.004627/0.4191, allocations: 2.505 MB / 0.5553 GB, free: 1.559 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001962/0.4211, allocations: 1.132 MB / 0.5564 GB, free: 0.7148 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002296/0.4234, allocations: 1.244 MB / 0.5576 GB, free: 140 kB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002615/0.426, allocations: 1.24 MB / 0.5588 GB, free: 15.44 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004571/0.4264, allocations: 215.1 kB / 0.559 GB, free: 15.44 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.009473/0.4359, allocations: 2.463 MB / 0.5614 GB, free: 14.64 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0008775/0.4368, allocations: 0.5104 MB / 0.5619 GB, free: 14.22 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00177/0.4386, allocations: 0.9297 MB / 0.5628 GB, free: 13.53 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01523/0.4538, allocations: 5.179 MB / 0.5679 GB, free: 8.332 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.954e-06/0.4538, allocations: 0 / 0.5679 GB, free: 8.332 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.565e-06/0.4538, allocations: 0 / 0.5679 GB, free: 8.332 MB / 414.1 MB Notification: Performance of Transformations before backend: time 6.11e-05/0.4539, allocations: 0 / 0.5679 GB, free: 8.332 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.006056/0.4599, allocations: 2.647 MB / 0.5705 GB, free: 5.641 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.837e-05/0.46, allocations: 8.031 kB / 0.5705 GB, free: 5.633 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001914/0.4619, allocations: 423 kB / 0.5709 GB, free: 5.219 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002039/0.4639, allocations: 0.9099 MB / 0.5718 GB, free: 4.281 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002451/0.4642, allocations: 243 kB / 0.572 GB, free: 4.02 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003227/0.4645, allocations: 196.3 kB / 0.5722 GB, free: 3.828 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003699/0.4682, allocations: 2.086 MB / 0.5742 GB, free: 1.711 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.818e-05/0.4682, allocations: 0 / 0.5742 GB, free: 1.711 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001683/0.4684, allocations: 72 kB / 0.5743 GB, free: 1.641 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.679e-05/0.4684, allocations: 40 kB / 0.5744 GB, free: 1.602 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004288/0.4727, allocations: 2.553 MB / 0.5768 GB, free: 15.05 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.01113/0.4838, allocations: 5.137 MB / 0.5819 GB, free: 9.805 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005205/0.489, allocations: 2.157 MB / 0.584 GB, free: 7.629 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001392/0.4904, allocations: 0.7415 MB / 0.5847 GB, free: 6.879 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01034/0.5008, allocations: 4.183 MB / 0.5888 GB, free: 2.672 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.614e-05/0.5008, allocations: 47.56 kB / 0.5888 GB, free: 2.617 MB / 430.1 MB Notification: Performance of pre-optimization done (n=122): time 4.869e-06/0.5008, allocations: 4 kB / 0.5888 GB, free: 2.613 MB / 430.1 MB Notification: Performance of matching and sorting (n=150): time 0.02816/0.529, allocations: 5.821 MB / 0.5945 GB, free: 12.72 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.349e-05/0.5291, allocations: 98.36 kB / 0.5946 GB, free: 12.61 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001283/0.5304, allocations: 0.864 MB / 0.5954 GB, free: 11.72 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002215/0.5306, allocations: 49.7 kB / 0.5955 GB, free: 11.66 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006839/0.5313, allocations: 0.8628 MB / 0.5963 GB, free: 10.79 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005623/0.5318, allocations: 0.5384 MB / 0.5969 GB, free: 10.25 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005465/0.5324, allocations: 375.5 kB / 0.5972 GB, free: 9.871 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0002134/0.5326, allocations: 357.9 kB / 0.5976 GB, free: 9.516 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001055/0.5337, allocations: 0.531 MB / 0.5981 GB, free: 8.98 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001768/0.5354, allocations: 1.251 MB / 0.5993 GB, free: 7.391 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.003351/0.5388, allocations: 1.969 MB / 0.6012 GB, free: 5.094 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.563e-05/0.5388, allocations: 4 kB / 0.6012 GB, free: 5.09 MB / 446.1 MB Notification: Performance of matching and sorting (n=258) (initialization): time 0.00871/0.5475, allocations: 2.534 MB / 0.6037 GB, free: 2.535 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.965e-05/0.5475, allocations: 12 kB / 0.6037 GB, free: 2.523 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.901e-05/0.5476, allocations: 24 kB / 0.6037 GB, free: 2.5 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005526/0.5531, allocations: 0.698 MB / 0.6044 GB, free: 1.789 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002303/0.5554, allocations: 0.5266 MB / 0.6049 GB, free: 1.262 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01294/0.5684, allocations: 7.689 MB / 0.6124 GB, free: 9.16 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001565/0.5699, allocations: 71.95 kB / 0.6125 GB, free: 9.09 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002059/0.5701, allocations: 112 kB / 0.6126 GB, free: 8.98 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.000828/0.571, allocations: 389 kB / 0.613 GB, free: 8.59 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003625/0.5713, allocations: 135.2 kB / 0.6131 GB, free: 8.457 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008826/0.5801, allocations: 2.465 MB / 0.6155 GB, free: 5.934 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.324e-05/0.5802, allocations: 20 kB / 0.6155 GB, free: 5.914 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.227e-06/0.5802, allocations: 0 / 0.6155 GB, free: 5.914 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.41e-05/0.5802, allocations: 11.97 kB / 0.6156 GB, free: 5.902 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005427/0.5856, allocations: 2.117 MB / 0.6176 GB, free: 3.707 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.909e-06/0.5856, allocations: 8.312 kB / 0.6176 GB, free: 3.699 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001489/0.5871, allocations: 311.6 kB / 0.6179 GB, free: 3.395 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.006495/0.5936, allocations: 0.7494 MB / 0.6187 GB, free: 2.629 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002642/0.5939, allocations: 43.98 kB / 0.6187 GB, free: 2.586 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01326/0.6071, allocations: 8.767 MB / 0.6273 GB, free: 9.309 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.077e-06/0.6072, allocations: 11.94 kB / 0.6273 GB, free: 9.297 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009464/0.6166, allocations: 2.795 MB / 0.63 GB, free: 6.441 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004364/0.6171, allocations: 123.1 kB / 0.6301 GB, free: 6.32 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001953/0.6172, allocations: 28.19 kB / 0.6302 GB, free: 6.293 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007638/0.618, allocations: 39.92 kB / 0.6302 GB, free: 6.254 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003101/0.6183, allocations: 136.9 kB / 0.6303 GB, free: 6.121 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001186/0.6184, allocations: 51.98 kB / 0.6304 GB, free: 6.07 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.0008094/0.6192, allocations: 0.5488 MB / 0.6309 GB, free: 5.512 MB / 478.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.6192, allocations: 0 / 0.6309 GB, free: 5.512 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.003403/0.6227, allocations: 1.064 MB / 0.6319 GB, free: 4.445 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.002329/0.625, allocations: 1.117 MB / 0.633 GB, free: 3.312 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.004163/0.6291, allocations: 1.991 MB / 0.635 GB, free: 1.273 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 8.215e-06/0.6292, allocations: 0 / 0.635 GB, free: 1.273 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002332/0.6315, allocations: 1.302 MB / 0.6363 GB, free: 15.91 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001675/0.6332, allocations: 306.6 kB / 0.6365 GB, free: 15.61 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005587/0.6387, allocations: 3.064 MB / 0.6395 GB, free: 12.48 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008236/0.6396, allocations: 0.6837 MB / 0.6402 GB, free: 11.76 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006729/0.6402, allocations: 255.3 kB / 0.6404 GB, free: 11.51 MB / 494.1 MB Notification: Performance of SimCode: time 1.112e-06/0.6402, allocations: 0 / 0.6404 GB, free: 11.51 MB / 494.1 MB Notification: Performance of Templates: time 0.07455/0.7148, allocations: 57.79 MB / 0.6969 GB, free: 1.777 MB / 0.5294 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: 11.401101898867637] Failed to read output from testmodel.py, exit status != 0: 0.7243481208570302 0.738720358 0.28165700400000004 Calling exit ...