Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Chemical_Chemical.Obsolete.Examples.SimpleReaction.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.001504/0.001504, allocations: 109.1 kB / 18.99 MB, free: 2.609 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.001618/0.001618, allocations: 211.7 kB / 22.3 MB, free: 5.281 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.522/1.522, allocations: 230.6 MB / 256.1 MB, free: 7.781 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.1761/0.1761, allocations: 23.88 MB / 336.4 MB, free: 10.92 MB / 270.1 MB " [Timeout remaining time 179] 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.SimpleReaction,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Chemical_Chemical.Obsolete.Examples.SimpleReaction") translateModel(Chemical.Obsolete.Examples.SimpleReaction,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Chemical_Chemical.Obsolete.Examples.SimpleReaction") [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.002137/0.002137, allocations: 63.91 kB / 471.7 MB, free: 6.949 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.469/0.4711, allocations: 59.86 MB / 0.5191 GB, free: 9.785 MB / 382.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 2.0.0/Obsolete.mo:14337:7-14337:66:writable] Warning: An inner declaration for outer component system could not be found and was automatically generated. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 2.0.0/Obsolete.mo:14337:7-14337:66:writable] Notification: The diagnostics message for the missing inner is: Your model is using an outer \"system\" component but an inner \"system\" component is not defined. For simulation drag Modelica.Fluid.System into your model to specify system properties. Notification: Performance of NFInst.instantiate(Chemical.Obsolete.Examples.SimpleReaction): time 0.07596/0.5471, allocations: 24.79 MB / 0.5433 GB, free: 14.64 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.01344/0.5605, allocations: 7.057 MB / 0.5502 GB, free: 8.23 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000872/0.5614, allocations: 11.88 kB / 0.5502 GB, free: 8.219 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007704/0.5622, allocations: 173.8 kB / 0.5504 GB, free: 8.09 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002245/0.5644, allocations: 0.7065 MB / 0.5511 GB, free: 7.488 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003477/0.5679, allocations: 1.047 MB / 0.5521 GB, free: 6.629 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.001526/0.5694, allocations: 0.9463 MB / 0.553 GB, free: 5.777 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006238/0.57, allocations: 414.2 kB / 0.5534 GB, free: 5.473 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006051/0.5706, allocations: 473.6 kB / 0.5539 GB, free: 5.059 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007767/0.5714, allocations: 452.8 kB / 0.5543 GB, free: 4.711 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001381/0.5715, allocations: 80 kB / 0.5544 GB, free: 4.633 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003072/0.5746, allocations: 0.8173 MB / 0.5552 GB, free: 3.902 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003552/0.575, allocations: 194 kB / 0.5554 GB, free: 3.746 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005034/0.5755, allocations: 351.6 kB / 0.5557 GB, free: 3.434 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004682/0.5802, allocations: 1.82 MB / 0.5575 GB, free: 1.977 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.22e-06/0.5802, allocations: 4 kB / 0.5575 GB, free: 1.973 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.363e-06/0.5802, allocations: 0 / 0.5575 GB, free: 1.973 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.306e-05/0.5802, allocations: 0 / 0.5575 GB, free: 1.973 MB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 168 * Number of variables: 168 Notification: Performance of Generate backend data structure: time 0.002408/0.5826, allocations: 1.116 MB / 0.5586 GB, free: 0.918 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.075e-05/0.5826, allocations: 8.781 kB / 0.5586 GB, free: 0.9102 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006782/0.5833, allocations: 157.6 kB / 0.5587 GB, free: 0.7734 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008171/0.5841, allocations: 422.7 kB / 0.5591 GB, free: 396 kB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001312/0.5843, allocations: 106.7 kB / 0.5592 GB, free: 280 kB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001298/0.5844, allocations: 69.17 kB / 0.5593 GB, free: 212 kB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001443/0.5858, allocations: 0.78 MB / 0.5601 GB, free: 15.55 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.921e-05/0.5858, allocations: 0 / 0.5601 GB, free: 15.55 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.169e-05/0.5859, allocations: 28.61 kB / 0.5601 GB, free: 15.53 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.857e-05/0.5859, allocations: 23.88 kB / 0.5601 GB, free: 15.5 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001564/0.5875, allocations: 0.8698 MB / 0.561 GB, free: 14.76 MB / 414.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.003846/0.5913, allocations: 1.983 MB / 0.5629 GB, free: 12.84 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001494/0.5928, allocations: 0.8128 MB / 0.5637 GB, free: 12.03 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004676/0.5933, allocations: 271.2 kB / 0.564 GB, free: 11.77 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003249/0.5966, allocations: 1.512 MB / 0.5654 GB, free: 10.23 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.882e-05/0.5966, allocations: 34.56 kB / 0.5655 GB, free: 10.19 MB / 414.1 MB Notification: Performance of pre-optimization done (n=41): time 1.733e-06/0.5966, allocations: 0 / 0.5655 GB, free: 10.19 MB / 414.1 MB Notification: Performance of matching and sorting (n=46): time 0.002548/0.5991, allocations: 1.178 MB / 0.5666 GB, free: 8.977 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.066e-05/0.5992, allocations: 59.34 kB / 0.5667 GB, free: 8.906 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004746/0.5997, allocations: 405.7 kB / 0.5671 GB, free: 8.504 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.671e-05/0.5997, allocations: 29.7 kB / 0.5671 GB, free: 8.469 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003224/0.6, allocations: 392 kB / 0.5675 GB, free: 8.078 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001434/0.6002, allocations: 158.6 kB / 0.5676 GB, free: 7.922 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000186/0.6004, allocations: 138.6 kB / 0.5677 GB, free: 7.781 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001899/0.6006, allocations: 354.8 kB / 0.5681 GB, free: 7.426 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002978/0.6008, allocations: 149.9 kB / 0.5682 GB, free: 7.277 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004938/0.6013, allocations: 388.4 kB / 0.5686 GB, free: 6.793 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009372/0.6023, allocations: 0.5757 MB / 0.5692 GB, free: 6.109 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.361e-06/0.6023, allocations: 4 kB / 0.5692 GB, free: 6.105 MB / 414.1 MB Notification: Performance of matching and sorting (n=83) (initialization): time 0.001012/0.6033, allocations: 0.6101 MB / 0.5698 GB, free: 5.488 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.453e-05/0.6033, allocations: 15.92 kB / 0.5698 GB, free: 5.473 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.45e-05/0.6033, allocations: 8 kB / 0.5698 GB, free: 5.465 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.133e-05/0.6034, allocations: 16.72 kB / 0.5698 GB, free: 5.449 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007502/0.6041, allocations: 207.7 kB / 0.57 GB, free: 5.246 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.985e-05/0.6041, allocations: 15.94 kB / 0.57 GB, free: 5.23 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002829/0.6044, allocations: 24 kB / 0.57 GB, free: 5.207 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.341e-05/0.6045, allocations: 35.98 kB / 0.5701 GB, free: 5.172 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 35 * 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 (83): * Single equations (assignments): 83 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002944/0.6048, allocations: 205.6 kB / 0.5703 GB, free: 4.961 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.921e-05/0.6049, allocations: 51.67 kB / 0.5703 GB, free: 4.91 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009523/0.6058, allocations: 498.8 kB / 0.5708 GB, free: 4.418 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.035e-05/0.6058, allocations: 11.94 kB / 0.5708 GB, free: 4.406 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.975e-06/0.6058, allocations: 0 / 0.5708 GB, free: 4.406 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.53e-06/0.6059, allocations: 0 / 0.5708 GB, free: 4.406 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000745/0.6066, allocations: 486.6 kB / 0.5713 GB, free: 3.883 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.637e-06/0.6066, allocations: 0 / 0.5713 GB, free: 3.883 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000581/0.6072, allocations: 144 kB / 0.5714 GB, free: 3.742 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.862e-06/0.6072, allocations: 4 kB / 0.5714 GB, free: 3.738 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.589e-05/0.6072, allocations: 16 kB / 0.5714 GB, free: 3.723 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.488e-06/0.6072, allocations: 7.938 kB / 0.5714 GB, free: 3.715 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.797e-06/0.6072, allocations: 3.938 kB / 0.5714 GB, free: 3.711 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001141/0.6084, allocations: 0.7206 MB / 0.5721 GB, free: 2.965 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001853/0.6086, allocations: 87.7 kB / 0.5722 GB, free: 2.879 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.888e-05/0.6086, allocations: 19.92 kB / 0.5722 GB, free: 2.859 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002003/0.6088, allocations: 12 kB / 0.5722 GB, free: 2.848 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000112/0.609, allocations: 48.3 kB / 0.5723 GB, free: 2.801 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.205e-05/0.609, allocations: 20 kB / 0.5723 GB, free: 2.781 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.000297/0.6093, allocations: 259.2 kB / 0.5726 GB, free: 2.527 MB / 414.1 MB Notification: Performance of sort global known variables: time 7.1e-08/0.6093, allocations: 0 / 0.5726 GB, free: 2.527 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.001164/0.6105, allocations: 335.1 kB / 0.5729 GB, free: 2.199 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 3 (solution.temperature,A.logn,B.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 (53): * Single equations (assignments): 53 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0008538/0.6113, allocations: 429.9 kB / 0.5733 GB, free: 1.766 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0007532/0.6121, allocations: 418.8 kB / 0.5737 GB, free: 1.355 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.805e-06/0.6121, allocations: 0 / 0.5737 GB, free: 1.355 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003025/0.6124, allocations: 190.7 kB / 0.5739 GB, free: 1.168 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007049/0.6131, allocations: 124.8 kB / 0.574 GB, free: 1.055 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002151/0.6152, allocations: 1.216 MB / 0.5752 GB, free: 15.8 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003244/0.6155, allocations: 292.1 kB / 0.5755 GB, free: 15.48 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0003766/0.6159, allocations: 124.5 kB / 0.5756 GB, free: 15.36 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001622/0.6161, allocations: 72.47 kB / 0.5756 GB, free: 15.29 MB / 430.1 MB Notification: Performance of SimCode: time 3.81e-07/0.6161, allocations: 0 / 0.5756 GB, free: 15.29 MB / 430.1 MB Notification: Performance of Templates: time 0.01884/0.6349, allocations: 10.11 MB / 0.5855 GB, free: 5.289 MB / 430.1 MB " [Timeout remaining time 659] make -j1 -f Chemical_Chemical.Obsolete.Examples.SimpleReaction.makefile [Timeout 660] (rm -f Chemical_Chemical.Obsolete.Examples.SimpleReaction.pipe ; mkfifo Chemical_Chemical.Obsolete.Examples.SimpleReaction.pipe ; head -c 1048576 < Chemical_Chemical.Obsolete.Examples.SimpleReaction.pipe >> ../files/Chemical_Chemical.Obsolete.Examples.SimpleReaction.sim & ./Chemical_Chemical.Obsolete.Examples.SimpleReaction -abortSlowSimulation -alarm=480 -lv LOG_STATS > Chemical_Chemical.Obsolete.Examples.SimpleReaction.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.8032865058630705] Failed to read output from testmodel.py, exit status != 0: 0.6445274502038956 0.659014035 0.075677414 Calling exit ...