Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Chemical_master_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.001675/0.001675, allocations: 110.2 kB / 19.69 MB, free: 2.254 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.001907/0.001907, allocations: 214.2 kB / 23.01 MB, free: 4.566 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.497/1.497, allocations: 230.6 MB / 256.8 MB, free: 8.035 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.1611/0.1611, allocations: 23.89 MB / 337.1 MB, free: 11.21 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.SimpleReaction,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Chemical_master_Chemical.Obsolete.Examples.SimpleReaction") translateModel(Chemical.Obsolete.Examples.SimpleReaction,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Chemical_master_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.002198/0.002198, allocations: 63.91 kB / 472.5 MB, free: 7.195 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4434/0.4456, allocations: 59.88 MB / 0.5199 GB, free: 9.809 MB / 382.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical master/Obsolete.mo:14335:7-14335: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 master/Obsolete.mo:14335:7-14335: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.04009/0.4857, allocations: 25.14 MB / 0.5444 GB, free: 14.6 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.01148/0.4972, allocations: 8.035 MB / 0.5523 GB, free: 7.199 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001063/0.4983, allocations: 11.88 kB / 0.5523 GB, free: 7.188 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007543/0.499, allocations: 197.4 kB / 0.5525 GB, free: 7.035 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001989/0.501, allocations: 0.6946 MB / 0.5531 GB, free: 6.445 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003184/0.5042, allocations: 1.051 MB / 0.5542 GB, free: 5.582 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.001317/0.5055, allocations: 0.9383 MB / 0.5551 GB, free: 4.738 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006366/0.5061, allocations: 435.4 kB / 0.5555 GB, free: 4.41 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005638/0.5067, allocations: 464.1 kB / 0.5559 GB, free: 4.004 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008082/0.5075, allocations: 0.4972 MB / 0.5564 GB, free: 3.602 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001191/0.5076, allocations: 80 kB / 0.5565 GB, free: 3.523 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002724/0.5104, allocations: 0.8771 MB / 0.5574 GB, free: 2.742 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002468/0.5106, allocations: 194.1 kB / 0.5575 GB, free: 2.586 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004577/0.5111, allocations: 418.9 kB / 0.5579 GB, free: 2.207 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003368/0.5144, allocations: 1.819 MB / 0.5597 GB, free: 0.7539 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.44e-06/0.5144, allocations: 0 / 0.5597 GB, free: 0.7539 MB / 398.1 MB Notification: Performance of FrontEnd: time 3.356e-06/0.5144, allocations: 0 / 0.5597 GB, free: 0.7539 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.314e-05/0.5145, allocations: 0 / 0.5597 GB, free: 0.7539 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.002323/0.5168, allocations: 1.12 MB / 0.5608 GB, free: 15.7 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.641e-05/0.5168, allocations: 16.77 kB / 0.5608 GB, free: 15.68 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006817/0.5175, allocations: 149.9 kB / 0.561 GB, free: 15.55 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009194/0.5184, allocations: 422.9 kB / 0.5614 GB, free: 15.17 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001392/0.5186, allocations: 107 kB / 0.5615 GB, free: 15.05 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001346/0.5187, allocations: 72.33 kB / 0.5615 GB, free: 14.98 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001409/0.5201, allocations: 0.7766 MB / 0.5623 GB, free: 14.34 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.906e-05/0.5201, allocations: 0 / 0.5623 GB, free: 14.34 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.95e-05/0.5202, allocations: 32 kB / 0.5623 GB, free: 14.3 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.778e-05/0.5202, allocations: 16 kB / 0.5623 GB, free: 14.29 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001576/0.5218, allocations: 0.8774 MB / 0.5632 GB, free: 13.54 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.004432/0.5262, allocations: 2.533 MB / 0.5657 GB, free: 11 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001499/0.5277, allocations: 0.8201 MB / 0.5665 GB, free: 10.17 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004624/0.5282, allocations: 283.2 kB / 0.5667 GB, free: 9.891 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003459/0.5316, allocations: 1.594 MB / 0.5683 GB, free: 8.273 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.652e-05/0.5317, allocations: 30.56 kB / 0.5683 GB, free: 8.234 MB / 414.1 MB Notification: Performance of pre-optimization done (n=41): time 1.954e-06/0.5317, allocations: 0 / 0.5683 GB, free: 8.234 MB / 414.1 MB Notification: Performance of matching and sorting (n=46): time 0.002488/0.5342, allocations: 1.178 MB / 0.5695 GB, free: 7.023 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.942e-05/0.5342, allocations: 63.34 kB / 0.5695 GB, free: 6.949 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000513/0.5347, allocations: 417.8 kB / 0.5699 GB, free: 6.531 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 4.657e-05/0.5348, allocations: 33.7 kB / 0.57 GB, free: 6.492 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002904/0.5351, allocations: 368.2 kB / 0.5703 GB, free: 6.125 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001566/0.5352, allocations: 174.6 kB / 0.5705 GB, free: 5.953 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001726/0.5354, allocations: 134.6 kB / 0.5706 GB, free: 5.816 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001969/0.5356, allocations: 358.8 kB / 0.571 GB, free: 5.457 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002745/0.5359, allocations: 145.9 kB / 0.5711 GB, free: 5.312 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004919/0.5364, allocations: 400.3 kB / 0.5715 GB, free: 4.82 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00081/0.5372, allocations: 0.5708 MB / 0.572 GB, free: 4.141 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.859e-06/0.5372, allocations: 4 kB / 0.572 GB, free: 4.137 MB / 414.1 MB Notification: Performance of matching and sorting (n=83) (initialization): time 0.001/0.5382, allocations: 0.617 MB / 0.5726 GB, free: 3.512 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.258e-05/0.5382, allocations: 11.98 kB / 0.5727 GB, free: 3.5 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.518e-05/0.5382, allocations: 11.94 kB / 0.5727 GB, free: 3.488 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.72e-05/0.5382, allocations: 12 kB / 0.5727 GB, free: 3.477 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007028/0.5389, allocations: 199.7 kB / 0.5729 GB, free: 3.281 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.877e-05/0.539, allocations: 12.19 kB / 0.5729 GB, free: 3.27 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002819/0.5392, allocations: 28 kB / 0.5729 GB, free: 3.242 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.014e-05/0.5393, allocations: 35.98 kB / 0.5729 GB, free: 3.207 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.0002905/0.5396, allocations: 205.5 kB / 0.5731 GB, free: 2.996 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.61e-05/0.5397, allocations: 51.67 kB / 0.5732 GB, free: 2.945 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009817/0.5407, allocations: 0.4973 MB / 0.5737 GB, free: 2.445 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.314e-06/0.5407, allocations: 4 kB / 0.5737 GB, free: 2.441 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.461e-06/0.5407, allocations: 4 kB / 0.5737 GB, free: 2.438 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.552e-06/0.5407, allocations: 0 / 0.5737 GB, free: 2.438 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008589/0.5415, allocations: 0.5955 MB / 0.5743 GB, free: 1.781 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.484e-06/0.5415, allocations: 0 / 0.5743 GB, free: 1.781 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005991/0.5421, allocations: 147.8 kB / 0.5744 GB, free: 1.637 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.761e-06/0.5421, allocations: 8.125 kB / 0.5744 GB, free: 1.629 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.607e-05/0.5422, allocations: 15.92 kB / 0.5744 GB, free: 1.613 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.966e-06/0.5422, allocations: 4 kB / 0.5744 GB, free: 1.609 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.908e-06/0.5422, allocations: 4 kB / 0.5744 GB, free: 1.605 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001109/0.5433, allocations: 0.7264 MB / 0.5751 GB, free: 0.8516 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001957/0.5435, allocations: 87.61 kB / 0.5752 GB, free: 0.7656 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.98e-05/0.5436, allocations: 15.94 kB / 0.5752 GB, free: 0.75 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002023/0.5438, allocations: 8 kB / 0.5753 GB, free: 0.7422 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.479e-05/0.5439, allocations: 44.36 kB / 0.5753 GB, free: 0.6992 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.089e-05/0.5439, allocations: 12 kB / 0.5753 GB, free: 0.6875 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0003156/0.5442, allocations: 279.1 kB / 0.5756 GB, free: 424 kB / 414.1 MB Notification: Performance of sort global known variables: time 9e-08/0.5442, allocations: 4 kB / 0.5756 GB, free: 420 kB / 414.1 MB Notification: Performance of remove unused functions: time 0.001067/0.5453, allocations: 343 kB / 0.5759 GB, free: 76 kB / 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.0008391/0.5461, allocations: 437.9 kB / 0.5763 GB, free: 15.63 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0007388/0.5469, allocations: 418.6 kB / 0.5767 GB, free: 15.22 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 1.933e-06/0.5469, allocations: 0 / 0.5767 GB, free: 15.22 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002974/0.5472, allocations: 186.4 kB / 0.5769 GB, free: 15.04 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006849/0.5478, allocations: 138.4 kB / 0.577 GB, free: 14.92 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002103/0.55, allocations: 1.244 MB / 0.5782 GB, free: 13.63 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005753/0.5505, allocations: 0.8861 MB / 0.5791 GB, free: 12.71 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002058/0.5507, allocations: 91.41 kB / 0.5792 GB, free: 12.62 MB / 430.1 MB Notification: Performance of SimCode: time 6.01e-07/0.5507, allocations: 0 / 0.5792 GB, free: 12.62 MB / 430.1 MB Notification: Performance of Templates: time 0.01447/0.5652, allocations: 9.364 MB / 0.5883 GB, free: 3.285 MB / 430.1 MB " [Timeout remaining time 659] make -j1 -f Chemical_master_Chemical.Obsolete.Examples.SimpleReaction.makefile [Timeout 660] (rm -f Chemical_master_Chemical.Obsolete.Examples.SimpleReaction.pipe ; mkfifo Chemical_master_Chemical.Obsolete.Examples.SimpleReaction.pipe ; head -c 1048576 < Chemical_master_Chemical.Obsolete.Examples.SimpleReaction.pipe >> ../files/Chemical_master_Chemical.Obsolete.Examples.SimpleReaction.sim & ./Chemical_master_Chemical.Obsolete.Examples.SimpleReaction -abortSlowSimulation -alarm=480 -lv LOG_STATS > Chemical_master_Chemical.Obsolete.Examples.SimpleReaction.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 8.68816862301901] Failed to read output from testmodel.py, exit status != 0: 0.5744619329925627 0.5897923420000001 0.07215613 Calling exit ...