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.001325/0.001325, allocations: 80.3 kB / 19.18 MB, free: 2.516 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.001544/0.001544, allocations: 158.4 kB / 22.45 MB, free: 5.375 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.482/1.482, allocations: 177.2 MB / 202.8 MB, free: 9.176 MB / 190.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.1447/0.1447, allocations: 17.37 MB / 276.6 MB, free: 15.3 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: Performance of FrontEnd - loaded program: time 2.023e-06/2.023e-06, allocations: 0 / 411.9 MB, free: 4.465 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.037e-05/3.239e-05, allocations: 6.281 kB / 412 MB, free: 4.457 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Chemical.Obsolete.Examples.ExothermicReaction): time 0.0104/0.01043, allocations: 7.564 MB / 419.5 MB, free: 12.86 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.02965/0.04008, allocations: 20.51 MB / 440 MB, free: 8.273 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001596/0.04168, allocations: 31.75 kB / 440.1 MB, free: 8.242 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0016/0.04328, allocations: 488 kB / 440.5 MB, free: 7.762 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006556/0.04983, allocations: 2.105 MB / 442.6 MB, free: 5.641 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.009547/0.05938, allocations: 3.145 MB / 445.8 MB, free: 2.477 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.2104/0.2697, allocations: 2.589 MB / 448.4 MB, free: 17.4 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002085/0.2718, allocations: 1.143 MB / 449.5 MB, free: 17.29 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002366/0.2742, allocations: 1.719 MB / 451.2 MB, free: 17.29 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002138/0.2763, allocations: 1.103 MB / 452.3 MB, free: 17.29 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004492/0.2768, allocations: 219 kB / 452.5 MB, free: 17.29 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.007594/0.2844, allocations: 2.486 MB / 455 MB, free: 17.29 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005713/0.2849, allocations: 0.5215 MB / 455.6 MB, free: 17.29 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001251/0.2862, allocations: 0.79 MB / 456.3 MB, free: 17.29 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01608/0.3023, allocations: 5.499 MB / 461.8 MB, free: 16.8 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.941e-06/0.3023, allocations: 1.031 kB / 461.8 MB, free: 16.8 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.282e-06/0.3023, allocations: 0 / 461.8 MB, free: 16.8 MB / 366.1 MB Notification: Performance of Transformations before backend: time 7.19e-05/0.3023, allocations: 1.375 kB / 461.8 MB, free: 16.8 MB / 366.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.006777/0.3091, allocations: 2.629 MB / 464.5 MB, free: 15.6 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.437e-05/0.3092, allocations: 10.03 kB / 464.5 MB, free: 15.6 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002061/0.3112, allocations: 425.2 kB / 464.9 MB, free: 15.48 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00189/0.3131, allocations: 0.9084 MB / 465.8 MB, free: 15.19 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001718/0.3133, allocations: 245.1 kB / 466 MB, free: 15.06 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004638/0.3138, allocations: 189.5 kB / 466.2 MB, free: 15.05 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004202/0.318, allocations: 2.081 MB / 468.3 MB, free: 14.36 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.864e-05/0.318, allocations: 3.469 kB / 468.3 MB, free: 14.36 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001901/0.3182, allocations: 71.94 kB / 468.4 MB, free: 14.3 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.711e-05/0.3182, allocations: 51.94 kB / 468.4 MB, free: 14.29 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003823/0.3221, allocations: 2.55 MB / 471 MB, free: 13.55 MB / 366.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.009524/0.3316, allocations: 5.135 MB / 476.1 MB, free: 10.94 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0046/0.3362, allocations: 2.148 MB / 478.3 MB, free: 10.15 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001121/0.3373, allocations: 0.7323 MB / 479 MB, free: 9.781 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.008873/0.3462, allocations: 4.19 MB / 483.2 MB, free: 6.645 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.991e-05/0.3462, allocations: 43.56 kB / 483.2 MB, free: 6.594 MB / 366.1 MB Notification: Performance of pre-optimization done (n=122): time 3.316e-06/0.3462, allocations: 4 kB / 483.2 MB, free: 6.59 MB / 366.1 MB Notification: Performance of matching and sorting (n=150): time 0.02617/0.3724, allocations: 5.807 MB / 489 MB, free: 0.7461 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.878e-05/0.3724, allocations: 90.42 kB / 489.1 MB, free: 0.6406 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001091/0.3735, allocations: 0.864 MB / 490 MB, free: 15.75 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001818/0.3737, allocations: 53.7 kB / 490.1 MB, free: 15.7 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007096/0.3744, allocations: 0.8544 MB / 490.9 MB, free: 14.84 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006225/0.375, allocations: 0.5364 MB / 491.4 MB, free: 14.31 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006342/0.3757, allocations: 367.4 kB / 491.8 MB, free: 13.94 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0002237/0.3759, allocations: 365.9 kB / 492.2 MB, free: 13.58 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001124/0.377, allocations: 0.5311 MB / 492.7 MB, free: 13.04 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001757/0.3788, allocations: 1.249 MB / 493.9 MB, free: 11.47 MB / 382.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.003362/0.3821, allocations: 1.963 MB / 495.9 MB, free: 9.273 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.37e-05/0.3821, allocations: 8 kB / 495.9 MB, free: 9.266 MB / 382.1 MB Notification: Performance of matching and sorting (n=258) (initialization): time 0.008979/0.3911, allocations: 2.524 MB / 498.4 MB, free: 6.871 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.592e-05/0.3911, allocations: 16 kB / 498.4 MB, free: 6.855 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.527e-05/0.3912, allocations: 27.06 kB / 498.5 MB, free: 6.832 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00608/0.3973, allocations: 0.7057 MB / 499.2 MB, free: 6.121 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002359/0.3996, allocations: 0.5222 MB / 499.7 MB, free: 5.633 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01348/0.4131, allocations: 7.691 MB / 0.4955 GB, free: 13.6 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001876/0.415, allocations: 75.89 kB / 0.4956 GB, free: 13.52 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002525/0.4152, allocations: 116 kB / 0.4957 GB, free: 13.41 MB / 398.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.001093/0.4163, allocations: 388.4 kB / 0.4961 GB, free: 13.05 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004439/0.4168, allocations: 131.2 kB / 0.4962 GB, free: 12.93 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009603/0.4264, allocations: 2.471 MB / 0.4986 GB, free: 10.41 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.961e-05/0.4264, allocations: 16 kB / 0.4986 GB, free: 10.4 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.081e-05/0.4264, allocations: 4 kB / 0.4986 GB, free: 10.39 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.546e-05/0.4264, allocations: 7.969 kB / 0.4986 GB, free: 10.39 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005986/0.4324, allocations: 2.112 MB / 0.5007 GB, free: 8.258 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.231e-05/0.4324, allocations: 4 kB / 0.5007 GB, free: 8.254 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001658/0.4341, allocations: 313.7 kB / 0.501 GB, free: 7.961 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0071/0.4412, allocations: 0.7412 MB / 0.5017 GB, free: 7.207 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000185/0.4414, allocations: 47.97 kB / 0.5018 GB, free: 7.16 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01402/0.4554, allocations: 8.773 MB / 0.5103 GB, free: 13.93 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.442e-06/0.4554, allocations: 7.781 kB / 0.5103 GB, free: 13.93 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01038/0.4658, allocations: 2.788 MB / 0.5131 GB, free: 11.09 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006675/0.4665, allocations: 123 kB / 0.5132 GB, free: 10.97 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002467/0.4667, allocations: 35.98 kB / 0.5132 GB, free: 10.93 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008543/0.4676, allocations: 28 kB / 0.5132 GB, free: 10.91 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004251/0.468, allocations: 136.9 kB / 0.5134 GB, free: 10.78 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001241/0.4681, allocations: 47.98 kB / 0.5134 GB, free: 10.73 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0009748/0.4691, allocations: 0.5527 MB / 0.5139 GB, free: 10.17 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.4691, allocations: 0 / 0.5139 GB, free: 10.17 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.004346/0.4734, allocations: 1.068 MB / 0.515 GB, free: 9.098 MB / 414.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.003161/0.4766, allocations: 1.158 MB / 0.5161 GB, free: 8.07 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.004414/0.481, allocations: 1.985 MB / 0.5181 GB, free: 6.121 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 5.13e-06/0.481, allocations: 0 / 0.5181 GB, free: 6.121 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002359/0.4834, allocations: 1.298 MB / 0.5193 GB, free: 4.789 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001847/0.4852, allocations: 306.6 kB / 0.5196 GB, free: 4.5 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005557/0.4908, allocations: 2.928 MB / 0.5225 GB, free: 1.523 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008135/0.4916, allocations: 0.6837 MB / 0.5231 GB, free: 0.8047 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.001128/0.4927, allocations: 315 kB / 0.5234 GB, free: 0.4922 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005526/0.4933, allocations: 192.4 kB / 0.5236 GB, free: 308 kB / 414.1 MB Notification: Performance of SimCode: time 1.593e-06/0.4933, allocations: 0 / 0.5236 GB, free: 308 kB / 414.1 MB Notification: Performance of Templates: time 0.06478/0.558, allocations: 37.51 MB / 0.5603 GB, free: 11.16 MB / 462.1 MB " [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: 6.638582784682512] Failed to read output from testmodel.py, exit status != 0: 0.5678799040615559 0.582425803 0.276810247 Calling exit ...