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.001346/0.001346, allocations: 78.25 kB / 19.76 MB, free: 2.027 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.001474/0.001474, allocations: 159 kB / 23.01 MB, free: 4.949 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.366/1.366, allocations: 177.2 MB / 203.4 MB, free: 8.973 MB / 190.1 MB " [Timeout remaining time 179] 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.123/0.123, allocations: 17.36 MB / 277.1 MB, free: 15.27 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.002011/0.002011, allocations: 67.89 kB / 412.4 MB, free: 5.738 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1009/0.1029, allocations: 59.85 MB / 472.3 MB, free: 9.77 MB / 446.1 MB Notification: Performance of NFInst.instantiate(Chemical.Obsolete.Examples.ExothermicReaction): time 0.01043/0.1133, allocations: 7.592 MB / 479.9 MB, free: 2.141 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.208/0.3213, allocations: 20.5 MB / 0.4886 GB, free: 35.16 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001229/0.3225, allocations: 27.91 kB / 0.4887 GB, free: 35.15 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00124/0.3237, allocations: 485 kB / 0.4891 GB, free: 34.9 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00492/0.3286, allocations: 2.04 MB / 0.4911 GB, free: 33.66 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.008168/0.3368, allocations: 3.054 MB / 0.4941 GB, free: 31.87 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.00291/0.3397, allocations: 2.493 MB / 0.4965 GB, free: 30.64 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001117/0.3408, allocations: 1.14 MB / 0.4977 GB, free: 30.07 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001097/0.3419, allocations: 1.243 MB / 0.4989 GB, free: 29.62 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001368/0.3433, allocations: 1.232 MB / 0.5001 GB, free: 29.21 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002764/0.3436, allocations: 215.6 kB / 0.5003 GB, free: 29.21 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005442/0.349, allocations: 2.47 MB / 0.5027 GB, free: 28.66 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003636/0.3494, allocations: 0.51 MB / 0.5032 GB, free: 28.34 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007739/0.3502, allocations: 0.928 MB / 0.5041 GB, free: 27.87 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006929/0.3571, allocations: 5.176 MB / 0.5091 GB, free: 25.68 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.06e-06/0.3571, allocations: 0 / 0.5091 GB, free: 25.68 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.603e-06/0.3571, allocations: 4 kB / 0.5092 GB, free: 25.67 MB / 446.1 MB Notification: Performance of Transformations before backend: time 2.889e-05/0.3571, allocations: 0 / 0.5092 GB, free: 25.67 MB / 446.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.003743/0.3609, allocations: 2.642 MB / 0.5117 GB, free: 24.16 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.64e-05/0.3609, allocations: 11.38 kB / 0.5117 GB, free: 24.16 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001662/0.3626, allocations: 434 kB / 0.5122 GB, free: 24.01 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001446/0.364, allocations: 0.9033 MB / 0.513 GB, free: 23.48 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000159/0.3642, allocations: 243.6 kB / 0.5133 GB, free: 23.3 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002442/0.3644, allocations: 186.8 kB / 0.5134 GB, free: 23.23 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002857/0.3673, allocations: 2.089 MB / 0.5155 GB, free: 22.42 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.835e-05/0.3673, allocations: 1.156 kB / 0.5155 GB, free: 22.42 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001517/0.3675, allocations: 77.5 kB / 0.5156 GB, free: 22.36 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.538e-05/0.3675, allocations: 42.84 kB / 0.5156 GB, free: 22.36 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003458/0.371, allocations: 2.555 MB / 0.5181 GB, free: 21.61 MB / 446.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.00828/0.3792, allocations: 5.135 MB / 0.5231 GB, free: 18.83 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004389/0.3836, allocations: 2.155 MB / 0.5252 GB, free: 18.05 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001087/0.3847, allocations: 0.7444 MB / 0.5259 GB, free: 17.74 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.008424/0.3931, allocations: 4.178 MB / 0.53 GB, free: 15.97 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.456e-05/0.3932, allocations: 50.48 kB / 0.5301 GB, free: 15.92 MB / 446.1 MB Notification: Performance of pre-optimization done (n=122): time 3.417e-06/0.3932, allocations: 0 / 0.5301 GB, free: 15.92 MB / 446.1 MB Notification: Performance of matching and sorting (n=150): time 0.02577/0.4189, allocations: 5.819 MB / 0.5358 GB, free: 13.63 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.951e-05/0.419, allocations: 96.58 kB / 0.5359 GB, free: 13.53 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00109/0.4201, allocations: 0.8531 MB / 0.5367 GB, free: 13.14 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001069/0.4202, allocations: 51.83 kB / 0.5367 GB, free: 13.09 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004086/0.4206, allocations: 0.8682 MB / 0.5376 GB, free: 12.39 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003567/0.4209, allocations: 0.5389 MB / 0.5381 GB, free: 11.96 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004897/0.4214, allocations: 377.1 kB / 0.5385 GB, free: 11.78 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 8.115e-05/0.4215, allocations: 355 kB / 0.5388 GB, free: 11.46 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000846/0.4224, allocations: 0.5279 MB / 0.5393 GB, free: 11.26 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001075/0.4234, allocations: 1.251 MB / 0.5405 GB, free: 10.14 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.002093/0.4255, allocations: 1.977 MB / 0.5425 GB, free: 8.59 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.183e-05/0.4255, allocations: 6.094 kB / 0.5425 GB, free: 8.59 MB / 446.1 MB Notification: Performance of matching and sorting (n=258) (initialization): time 0.007544/0.4331, allocations: 2.526 MB / 0.5449 GB, free: 7.461 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.543e-05/0.4331, allocations: 16 kB / 0.545 GB, free: 7.445 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.31e-05/0.4331, allocations: 24.8 kB / 0.545 GB, free: 7.422 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00525/0.4384, allocations: 0.7014 MB / 0.5457 GB, free: 6.902 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001845/0.4402, allocations: 0.5246 MB / 0.5462 GB, free: 6.445 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009932/0.4502, allocations: 7.681 MB / 0.5537 GB, free: 14.75 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001422/0.4516, allocations: 82.08 kB / 0.5538 GB, free: 14.67 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002625/0.4518, allocations: 109.3 kB / 0.5539 GB, free: 14.57 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.0007856/0.4526, allocations: 381.8 kB / 0.5542 GB, free: 14.2 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003786/0.453, allocations: 135.3 kB / 0.5544 GB, free: 14.06 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008739/0.4617, allocations: 2.474 MB / 0.5568 GB, free: 11.96 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.243e-05/0.4618, allocations: 12 kB / 0.5568 GB, free: 11.95 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.646e-05/0.4618, allocations: 4 kB / 0.5568 GB, free: 11.94 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.138e-05/0.4618, allocations: 7.969 kB / 0.5568 GB, free: 11.93 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005735/0.4676, allocations: 2.15 MB / 0.5589 GB, free: 9.707 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.055e-05/0.4676, allocations: 0 / 0.5589 GB, free: 9.707 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001518/0.4691, allocations: 315.9 kB / 0.5592 GB, free: 9.398 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0063/0.4754, allocations: 0.7493 MB / 0.5599 GB, free: 8.633 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000133/0.4755, allocations: 39.98 kB / 0.56 GB, free: 8.594 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01274/0.4883, allocations: 8.772 MB / 0.5685 GB, free: 15.32 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.678e-06/0.4883, allocations: 4 kB / 0.5685 GB, free: 15.32 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009151/0.4974, allocations: 2.803 MB / 0.5713 GB, free: 12.45 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004073/0.4978, allocations: 115.1 kB / 0.5714 GB, free: 12.34 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002254/0.498, allocations: 28 kB / 0.5714 GB, free: 12.31 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000819/0.4989, allocations: 32 kB / 0.5714 GB, free: 12.28 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002893/0.4991, allocations: 136.9 kB / 0.5716 GB, free: 12.14 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001073/0.4993, allocations: 51.98 kB / 0.5716 GB, free: 12.09 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.000795/0.5, allocations: 0.5527 MB / 0.5722 GB, free: 11.53 MB / 478.1 MB Notification: Performance of sort global known variables: time 9e-08/0.5, allocations: 0 / 0.5722 GB, free: 11.53 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.003293/0.5033, allocations: 1.064 MB / 0.5732 GB, free: 10.46 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.002281/0.5056, allocations: 1.118 MB / 0.5743 GB, free: 9.332 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.003782/0.5094, allocations: 1.983 MB / 0.5762 GB, free: 7.305 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 4.148e-06/0.5094, allocations: 0 / 0.5762 GB, free: 7.305 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002145/0.5116, allocations: 1.302 MB / 0.5775 GB, free: 5.938 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001467/0.513, allocations: 320.5 kB / 0.5778 GB, free: 5.633 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005253/0.5183, allocations: 3.019 MB / 0.5808 GB, free: 2.543 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008056/0.5191, allocations: 0.6799 MB / 0.5814 GB, free: 1.824 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.001121/0.5202, allocations: 318.9 kB / 0.5817 GB, free: 1.508 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004538/0.5207, allocations: 196.4 kB / 0.5819 GB, free: 1.316 MB / 478.1 MB Notification: Performance of SimCode: time 6.61e-07/0.5207, allocations: 0 / 0.5819 GB, free: 1.316 MB / 478.1 MB Notification: Performance of Templates: time 0.05942/0.5801, allocations: 37.52 MB / 0.6186 GB, free: 12.03 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 -s ida -lv LOG_STATS > Chemical_Chemical.Obsolete.Examples.ExothermicReaction.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.120134089956991] Failed to read output from testmodel.py, exit status != 0: 0.588452632073313 0.602572848 0.24241457500000002 Calling exit ...