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.00134/0.00134, allocations: 109.5 kB / 19.7 MB, free: 2.266 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.001438/0.001438, allocations: 209.2 kB / 23 MB, free: 4.59 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.474/1.474, allocations: 230.6 MB / 256.8 MB, free: 8.062 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.1315/0.1315, allocations: 23.85 MB / 337 MB, free: 11.25 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.002036/0.002036, allocations: 68.17 kB / 472.4 MB, free: 7.246 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3108/0.3128, allocations: 59.86 MB / 0.5198 GB, free: 9.852 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Chemical.Obsolete.Examples.ExothermicReaction): time 0.008066/0.3209, allocations: 8.68 MB / 0.5283 GB, free: 3.66 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.03065/0.3516, allocations: 23.41 MB / 0.5511 GB, free: 2.57 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001646/0.3532, allocations: 33.41 kB / 0.5512 GB, free: 2.551 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001954/0.3552, allocations: 0.5152 MB / 0.5517 GB, free: 2.258 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007321/0.3625, allocations: 2.049 MB / 0.5537 GB, free: 1 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01084/0.3733, allocations: 3.053 MB / 0.5567 GB, free: 14.98 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.004386/0.3777, allocations: 2.511 MB / 0.5591 GB, free: 13.47 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002015/0.3797, allocations: 1.166 MB / 0.5602 GB, free: 12.59 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00215/0.3819, allocations: 1.248 MB / 0.5615 GB, free: 12.01 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002858/0.3847, allocations: 1.368 MB / 0.5628 GB, free: 11.19 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0006419/0.3854, allocations: 220.9 kB / 0.563 GB, free: 11.19 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.009641/0.395, allocations: 2.631 MB / 0.5656 GB, free: 10.21 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0008945/0.3959, allocations: 0.5102 MB / 0.5661 GB, free: 9.793 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002269/0.3982, allocations: 1.087 MB / 0.5671 GB, free: 9.066 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01352/0.4117, allocations: 5.194 MB / 0.5722 GB, free: 4.25 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.789e-06/0.4117, allocations: 0 / 0.5722 GB, free: 4.25 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.202e-06/0.4117, allocations: 0 / 0.5722 GB, free: 4.25 MB / 414.1 MB Notification: Performance of Transformations before backend: time 8.409e-05/0.4118, allocations: 0 / 0.5722 GB, free: 4.25 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.006264/0.4181, allocations: 2.657 MB / 0.5748 GB, free: 1.551 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.837e-05/0.4181, allocations: 12.03 kB / 0.5748 GB, free: 1.539 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002024/0.4201, allocations: 426.9 kB / 0.5752 GB, free: 1.121 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002002/0.4221, allocations: 0.9021 MB / 0.5761 GB, free: 196 kB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000259/0.4224, allocations: 242.9 kB / 0.5763 GB, free: 15.93 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003379/0.4227, allocations: 188.3 kB / 0.5765 GB, free: 15.75 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003873/0.4266, allocations: 2.078 MB / 0.5785 GB, free: 13.64 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.961e-05/0.4266, allocations: 11.94 kB / 0.5786 GB, free: 13.62 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002236/0.4269, allocations: 68 kB / 0.5786 GB, free: 13.56 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.795e-05/0.4269, allocations: 44 kB / 0.5787 GB, free: 13.52 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004394/0.4313, allocations: 2.584 MB / 0.5812 GB, free: 10.93 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.01167/0.443, allocations: 6.305 MB / 0.5873 GB, free: 4.395 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005333/0.4483, allocations: 2.189 MB / 0.5895 GB, free: 2.184 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001345/0.4496, allocations: 0.7416 MB / 0.5902 GB, free: 1.438 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01041/0.46, allocations: 4.432 MB / 0.5945 GB, free: 12.98 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.198e-05/0.4601, allocations: 47.5 kB / 0.5946 GB, free: 12.92 MB / 446.1 MB Notification: Performance of pre-optimization done (n=122): time 2.755e-06/0.4601, allocations: 0 / 0.5946 GB, free: 12.92 MB / 446.1 MB Notification: Performance of matching and sorting (n=150): time 0.02889/0.489, allocations: 5.828 MB / 0.6003 GB, free: 7.016 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000101/0.4891, allocations: 98.36 kB / 0.6004 GB, free: 6.902 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001377/0.4905, allocations: 0.9414 MB / 0.6013 GB, free: 5.945 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001391/0.4906, allocations: 49.7 kB / 0.6013 GB, free: 5.891 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006908/0.4913, allocations: 0.8589 MB / 0.6022 GB, free: 5.02 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005775/0.4919, allocations: 0.5384 MB / 0.6027 GB, free: 4.477 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00055/0.4924, allocations: 379.4 kB / 0.6031 GB, free: 4.098 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001455/0.4926, allocations: 305.1 kB / 0.6034 GB, free: 3.797 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001071/0.4936, allocations: 0.5311 MB / 0.6039 GB, free: 3.262 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001697/0.4953, allocations: 1.243 MB / 0.6051 GB, free: 1.684 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.00314/0.4985, allocations: 1.965 MB / 0.607 GB, free: 15.39 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.976e-05/0.4985, allocations: 8 kB / 0.607 GB, free: 15.38 MB / 462.1 MB Notification: Performance of matching and sorting (n=258) (initialization): time 0.008805/0.5073, allocations: 2.542 MB / 0.6095 GB, free: 12.81 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.12e-05/0.5073, allocations: 12 kB / 0.6095 GB, free: 12.8 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.851e-05/0.5074, allocations: 24 kB / 0.6095 GB, free: 12.78 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006039/0.5134, allocations: 0.6941 MB / 0.6102 GB, free: 12.07 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002171/0.5156, allocations: 0.5265 MB / 0.6107 GB, free: 11.54 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01341/0.529, allocations: 7.862 MB / 0.6184 GB, free: 3.227 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001618/0.5306, allocations: 71.95 kB / 0.6185 GB, free: 3.156 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000342/0.5309, allocations: 112 kB / 0.6186 GB, free: 3.047 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.0009166/0.5319, allocations: 381.1 kB / 0.6189 GB, free: 2.664 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004888/0.5323, allocations: 143.1 kB / 0.6191 GB, free: 2.523 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009789/0.5421, allocations: 2.466 MB / 0.6215 GB, free: 15.99 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.952e-05/0.5422, allocations: 20 kB / 0.6215 GB, free: 15.97 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.138e-05/0.5422, allocations: 0 / 0.6215 GB, free: 15.97 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.73e-05/0.5422, allocations: 19.84 kB / 0.6215 GB, free: 15.95 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006319/0.5485, allocations: 2.508 MB / 0.624 GB, free: 13.36 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.201e-05/0.5485, allocations: 4.094 kB / 0.624 GB, free: 13.36 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001577/0.5501, allocations: 311.9 kB / 0.6243 GB, free: 13.05 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.006762/0.5569, allocations: 0.7611 MB / 0.625 GB, free: 12.27 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001931/0.5571, allocations: 43.92 kB / 0.6251 GB, free: 12.23 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0136/0.5707, allocations: 8.975 MB / 0.6338 GB, free: 2.684 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.512e-06/0.5707, allocations: 7.969 kB / 0.6338 GB, free: 2.676 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01027/0.5809, allocations: 2.8 MB / 0.6366 GB, free: 15.81 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004411/0.5814, allocations: 146.9 kB / 0.6367 GB, free: 15.67 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002918/0.5817, allocations: 28 kB / 0.6367 GB, free: 15.64 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009438/0.5826, allocations: 32 kB / 0.6368 GB, free: 15.61 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003197/0.5829, allocations: 132.9 kB / 0.6369 GB, free: 15.48 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001486/0.5831, allocations: 51.98 kB / 0.6369 GB, free: 15.43 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0009798/0.5841, allocations: 0.6342 MB / 0.6376 GB, free: 14.79 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.5841, allocations: 0 / 0.6376 GB, free: 14.79 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.003518/0.5876, allocations: 1.06 MB / 0.6386 GB, free: 13.73 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.002444/0.59, allocations: 1.117 MB / 0.6397 GB, free: 12.6 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.004011/0.594, allocations: 1.983 MB / 0.6416 GB, free: 10.57 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 4.408e-06/0.594, allocations: 0 / 0.6416 GB, free: 10.57 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002313/0.5964, allocations: 1.306 MB / 0.6429 GB, free: 9.199 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001767/0.5981, allocations: 335.7 kB / 0.6432 GB, free: 8.875 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005781/0.6039, allocations: 3.079 MB / 0.6462 GB, free: 5.727 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001094/0.605, allocations: 1.268 MB / 0.6475 GB, free: 4.426 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006954/0.6057, allocations: 263.3 kB / 0.6477 GB, free: 4.168 MB / 494.1 MB Notification: Performance of SimCode: time 1.032e-06/0.6057, allocations: 0 / 0.6477 GB, free: 4.168 MB / 494.1 MB Notification: Performance of Templates: time 0.07311/0.6788, allocations: 57.62 MB / 0.704 GB, free: 10.61 MB / 0.545 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: 11.180911852046847] Failed to read output from testmodel.py, exit status != 0: 0.6887818102259189 0.704515619 0.28947290800000003 Calling exit ...