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.001405/0.001405, allocations: 104.3 kB / 19.7 MB, free: 2.156 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.001442/0.001442, allocations: 208.5 kB / 22.99 MB, free: 4.984 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.478/1.478, allocations: 230.6 MB / 256.8 MB, free: 7.809 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.1448/0.1448, allocations: 23.92 MB / 337.1 MB, free: 10.95 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.002613/0.002613, allocations: 63.91 kB / 472.4 MB, free: 6.996 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4433/0.4459, allocations: 59.88 MB / 0.5198 GB, free: 9.785 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.07688/0.5228, allocations: 24.66 MB / 0.5439 GB, free: 14.8 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.01265/0.5354, allocations: 7.059 MB / 0.5508 GB, free: 8.379 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001027/0.5365, allocations: 11.88 kB / 0.5508 GB, free: 8.367 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008137/0.5373, allocations: 174 kB / 0.551 GB, free: 8.238 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002538/0.5398, allocations: 0.6979 MB / 0.5516 GB, free: 7.645 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003465/0.5433, allocations: 1.048 MB / 0.5527 GB, free: 6.785 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.001657/0.5449, allocations: 0.9367 MB / 0.5536 GB, free: 5.941 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006656/0.5456, allocations: 431.2 kB / 0.554 GB, free: 5.617 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006638/0.5463, allocations: 469.5 kB / 0.5544 GB, free: 5.207 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007654/0.547, allocations: 0.4928 MB / 0.5549 GB, free: 4.809 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001324/0.5472, allocations: 80 kB / 0.555 GB, free: 4.73 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002748/0.5499, allocations: 0.8451 MB / 0.5558 GB, free: 3.973 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000231/0.5501, allocations: 190.1 kB / 0.556 GB, free: 3.82 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004167/0.5506, allocations: 355.4 kB / 0.5564 GB, free: 3.504 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003558/0.5541, allocations: 1.816 MB / 0.5581 GB, free: 2.051 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.821e-06/0.5541, allocations: 0.9375 kB / 0.5581 GB, free: 2.051 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.603e-06/0.5541, allocations: 4 kB / 0.5581 GB, free: 2.047 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.695e-05/0.5541, allocations: 0 / 0.5581 GB, free: 2.047 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.002362/0.5565, allocations: 1.112 MB / 0.5592 GB, free: 0.9961 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.266e-05/0.5565, allocations: 16.03 kB / 0.5592 GB, free: 0.9805 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007107/0.5573, allocations: 154.8 kB / 0.5594 GB, free: 0.8477 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000945/0.5582, allocations: 422.8 kB / 0.5598 GB, free: 476 kB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001225/0.5583, allocations: 110.8 kB / 0.5599 GB, free: 356 kB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001414/0.5585, allocations: 72.33 kB / 0.56 GB, free: 284 kB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001486/0.5599, allocations: 0.7803 MB / 0.5607 GB, free: 15.62 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.904e-05/0.56, allocations: 3.938 kB / 0.5607 GB, free: 15.62 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.328e-05/0.56, allocations: 28 kB / 0.5607 GB, free: 15.59 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.884e-05/0.5601, allocations: 16 kB / 0.5608 GB, free: 15.58 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001507/0.5616, allocations: 0.866 MB / 0.5616 GB, free: 14.84 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.004037/0.5656, allocations: 1.997 MB / 0.5636 GB, free: 12.9 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001539/0.5671, allocations: 0.7967 MB / 0.5643 GB, free: 12.1 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004599/0.5676, allocations: 279.2 kB / 0.5646 GB, free: 11.82 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003453/0.5711, allocations: 1.504 MB / 0.5661 GB, free: 10.3 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.274e-05/0.5711, allocations: 38.5 kB / 0.5661 GB, free: 10.25 MB / 414.1 MB Notification: Performance of pre-optimization done (n=41): time 1.954e-06/0.5711, allocations: 0 / 0.5661 GB, free: 10.25 MB / 414.1 MB Notification: Performance of matching and sorting (n=46): time 0.002588/0.5737, allocations: 1.166 MB / 0.5672 GB, free: 9.051 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.676e-05/0.5737, allocations: 55.41 kB / 0.5673 GB, free: 8.984 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000479/0.5742, allocations: 409.7 kB / 0.5677 GB, free: 8.574 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.779e-05/0.5742, allocations: 33.7 kB / 0.5677 GB, free: 8.535 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002811/0.5745, allocations: 376.1 kB / 0.5681 GB, free: 8.16 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001496/0.5747, allocations: 170.5 kB / 0.5682 GB, free: 7.992 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001856/0.5749, allocations: 130.6 kB / 0.5684 GB, free: 7.859 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001792/0.575, allocations: 358.8 kB / 0.5687 GB, free: 7.5 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000284/0.5753, allocations: 149.9 kB / 0.5689 GB, free: 7.352 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005027/0.5758, allocations: 396.3 kB / 0.5692 GB, free: 6.863 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000829/0.5767, allocations: 0.5747 MB / 0.5698 GB, free: 6.18 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.819e-06/0.5767, allocations: 4 kB / 0.5698 GB, free: 6.176 MB / 414.1 MB Notification: Performance of matching and sorting (n=83) (initialization): time 0.001018/0.5777, allocations: 0.6129 MB / 0.5704 GB, free: 5.555 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.009e-05/0.5777, allocations: 8 kB / 0.5704 GB, free: 5.547 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.487e-05/0.5777, allocations: 8 kB / 0.5704 GB, free: 5.539 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.804e-05/0.5777, allocations: 19.88 kB / 0.5704 GB, free: 5.52 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007143/0.5785, allocations: 208.1 kB / 0.5706 GB, free: 5.316 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.168e-05/0.5785, allocations: 19.92 kB / 0.5706 GB, free: 5.297 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002743/0.5788, allocations: 20 kB / 0.5707 GB, free: 5.277 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.056e-05/0.5788, allocations: 36 kB / 0.5707 GB, free: 5.242 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.0002765/0.5791, allocations: 205.6 kB / 0.5709 GB, free: 5.031 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.007e-05/0.5792, allocations: 51.67 kB / 0.5709 GB, free: 4.98 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001026/0.5802, allocations: 0.4933 MB / 0.5714 GB, free: 4.484 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.108e-05/0.5802, allocations: 11.92 kB / 0.5714 GB, free: 4.473 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.11e-06/0.5802, allocations: 0 / 0.5714 GB, free: 4.473 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.686e-06/0.5802, allocations: 3.984 kB / 0.5714 GB, free: 4.469 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007569/0.581, allocations: 482.6 kB / 0.5719 GB, free: 3.949 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.296e-06/0.581, allocations: 0 / 0.5719 GB, free: 3.949 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005759/0.5816, allocations: 143.8 kB / 0.572 GB, free: 3.809 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.147e-06/0.5816, allocations: 0 / 0.572 GB, free: 3.809 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.469e-05/0.5816, allocations: 16 kB / 0.5721 GB, free: 3.793 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.933e-06/0.5816, allocations: 12.11 kB / 0.5721 GB, free: 3.781 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.448e-06/0.5816, allocations: 3.938 kB / 0.5721 GB, free: 3.777 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001157/0.5828, allocations: 0.7225 MB / 0.5728 GB, free: 3.027 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00019/0.583, allocations: 83.61 kB / 0.5729 GB, free: 2.945 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.847e-05/0.583, allocations: 12 kB / 0.5729 GB, free: 2.934 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002083/0.5832, allocations: 12 kB / 0.5729 GB, free: 2.922 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001076/0.5834, allocations: 40.31 kB / 0.5729 GB, free: 2.883 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.932e-05/0.5834, allocations: 20 kB / 0.5729 GB, free: 2.863 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0003056/0.5837, allocations: 259.1 kB / 0.5732 GB, free: 2.609 MB / 414.1 MB Notification: Performance of sort global known variables: time 6e-08/0.5837, allocations: 0 / 0.5732 GB, free: 2.609 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.001078/0.5848, allocations: 343 kB / 0.5735 GB, free: 2.273 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.0008521/0.5856, allocations: 433.9 kB / 0.5739 GB, free: 1.836 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.000744/0.5864, allocations: 414.6 kB / 0.5743 GB, free: 1.43 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.5864, allocations: 4.062 kB / 0.5743 GB, free: 1.426 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002992/0.5867, allocations: 186.4 kB / 0.5745 GB, free: 1.246 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006903/0.5874, allocations: 132.7 kB / 0.5746 GB, free: 1.121 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002007/0.5894, allocations: 1.211 MB / 0.5758 GB, free: 15.87 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003047/0.5897, allocations: 292.1 kB / 0.5761 GB, free: 15.56 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0003666/0.59, allocations: 120.3 kB / 0.5762 GB, free: 15.44 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001681/0.5902, allocations: 71.41 kB / 0.5763 GB, free: 15.37 MB / 430.1 MB Notification: Performance of SimCode: time 8.62e-07/0.5902, allocations: 0 / 0.5763 GB, free: 15.37 MB / 430.1 MB Notification: Performance of Templates: time 0.01997/0.6102, allocations: 11.16 MB / 0.5872 GB, free: 4.312 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 -s cvode -lv LOG_STATS > Chemical_master_Chemical.Obsolete.Examples.SimpleReaction.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.4101406350091565] Failed to read output from testmodel.py, exit status != 0: 0.619483978007338 0.634321434 0.076851505 Calling exit ...