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.001514/0.001514, allocations: 114.3 kB / 18.94 MB, free: 2.934 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.00162/0.00162, allocations: 215.2 kB / 22.25 MB, free: 5.082 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.456/1.456, allocations: 230.6 MB / 256 MB, free: 8.023 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.1438/0.1438, allocations: 23.89 MB / 336.3 MB, free: 11.17 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.002087/0.002087, allocations: 67.91 kB / 471.7 MB, free: 7.164 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3224/0.3245, allocations: 59.88 MB / 0.5191 GB, free: 9.77 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.03385/0.3583, allocations: 25.07 MB / 0.5436 GB, free: 14.6 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.01142/0.3697, allocations: 8.051 MB / 0.5515 GB, free: 7.184 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005907/0.3703, allocations: 11.88 kB / 0.5515 GB, free: 7.172 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005791/0.3709, allocations: 193.5 kB / 0.5517 GB, free: 7.023 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001848/0.3727, allocations: 0.6944 MB / 0.5523 GB, free: 6.434 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002724/0.3755, allocations: 1.043 MB / 0.5534 GB, free: 5.578 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.001312/0.3768, allocations: 0.9413 MB / 0.5543 GB, free: 4.73 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006079/0.3774, allocations: 440.3 kB / 0.5547 GB, free: 4.398 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005548/0.3779, allocations: 456 kB / 0.5551 GB, free: 4 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008235/0.3788, allocations: 0.497 MB / 0.5556 GB, free: 3.598 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001357/0.3789, allocations: 80 kB / 0.5557 GB, free: 3.52 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002587/0.3815, allocations: 0.8814 MB / 0.5566 GB, free: 2.734 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002475/0.3817, allocations: 190.2 kB / 0.5567 GB, free: 2.582 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004713/0.3822, allocations: 415.2 kB / 0.5571 GB, free: 2.207 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003376/0.3856, allocations: 1.827 MB / 0.5589 GB, free: 0.7461 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.168e-06/0.3856, allocations: 0 / 0.5589 GB, free: 0.7461 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.703e-06/0.3856, allocations: 0 / 0.5589 GB, free: 0.7461 MB / 398.1 MB Notification: Performance of Transformations before backend: time 2.185e-05/0.3856, allocations: 0 / 0.5589 GB, free: 0.7461 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.002267/0.3879, allocations: 1.12 MB / 0.56 GB, free: 15.69 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.691e-05/0.3879, allocations: 8.031 kB / 0.56 GB, free: 15.68 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007025/0.3886, allocations: 158.1 kB / 0.5602 GB, free: 15.54 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008123/0.3894, allocations: 426.6 kB / 0.5606 GB, free: 15.16 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001131/0.3895, allocations: 106.8 kB / 0.5607 GB, free: 15.04 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001364/0.3897, allocations: 73.12 kB / 0.5607 GB, free: 14.97 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001374/0.391, allocations: 0.7842 MB / 0.5615 GB, free: 14.32 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.846e-05/0.3911, allocations: 0 / 0.5615 GB, free: 14.32 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.657e-05/0.3911, allocations: 31.98 kB / 0.5615 GB, free: 14.29 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.746e-05/0.3912, allocations: 16 kB / 0.5616 GB, free: 14.27 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001551/0.3927, allocations: 0.8738 MB / 0.5624 GB, free: 13.52 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.004352/0.3971, allocations: 2.525 MB / 0.5649 GB, free: 10.98 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001535/0.3986, allocations: 0.8201 MB / 0.5657 GB, free: 10.16 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004702/0.3991, allocations: 287.2 kB / 0.566 GB, free: 9.875 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003437/0.4025, allocations: 1.586 MB / 0.5675 GB, free: 8.266 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.486e-05/0.4025, allocations: 42.48 kB / 0.5675 GB, free: 8.215 MB / 414.1 MB Notification: Performance of pre-optimization done (n=41): time 1.874e-06/0.4025, allocations: 0 / 0.5675 GB, free: 8.215 MB / 414.1 MB Notification: Performance of matching and sorting (n=46): time 0.002484/0.405, allocations: 1.166 MB / 0.5687 GB, free: 7.016 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.765e-05/0.4051, allocations: 55.41 kB / 0.5687 GB, free: 6.949 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005029/0.4056, allocations: 429.7 kB / 0.5691 GB, free: 6.52 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.782e-05/0.4056, allocations: 29.7 kB / 0.5692 GB, free: 6.484 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002787/0.4059, allocations: 376.2 kB / 0.5695 GB, free: 6.109 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001524/0.4061, allocations: 170.6 kB / 0.5697 GB, free: 5.941 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001815/0.4062, allocations: 130.6 kB / 0.5698 GB, free: 5.809 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001834/0.4064, allocations: 358.8 kB / 0.5702 GB, free: 5.449 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002927/0.4067, allocations: 149.9 kB / 0.5703 GB, free: 5.301 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004914/0.4072, allocations: 396.3 kB / 0.5707 GB, free: 4.812 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008389/0.408, allocations: 0.5747 MB / 0.5712 GB, free: 4.129 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.099e-06/0.408, allocations: 4 kB / 0.5712 GB, free: 4.125 MB / 414.1 MB Notification: Performance of matching and sorting (n=83) (initialization): time 0.001063/0.4091, allocations: 0.6085 MB / 0.5718 GB, free: 3.508 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.052e-05/0.4091, allocations: 8.938 kB / 0.5719 GB, free: 3.5 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.585e-05/0.4091, allocations: 11.94 kB / 0.5719 GB, free: 3.488 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.639e-05/0.4092, allocations: 12 kB / 0.5719 GB, free: 3.477 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007384/0.4099, allocations: 203.8 kB / 0.5721 GB, free: 3.277 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.12e-05/0.4099, allocations: 19.92 kB / 0.5721 GB, free: 3.258 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002963/0.4102, allocations: 24 kB / 0.5721 GB, free: 3.234 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.858e-05/0.4103, allocations: 32 kB / 0.5721 GB, free: 3.203 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.0002776/0.4106, allocations: 209.5 kB / 0.5723 GB, free: 2.988 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.819e-05/0.4107, allocations: 51.67 kB / 0.5724 GB, free: 2.938 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001002/0.4117, allocations: 0.5051 MB / 0.5729 GB, free: 2.43 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.161e-06/0.4117, allocations: 4 kB / 0.5729 GB, free: 2.426 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.853e-06/0.4117, allocations: 3.984 kB / 0.5729 GB, free: 2.422 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.456e-06/0.4117, allocations: 4 kB / 0.5729 GB, free: 2.418 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009014/0.4126, allocations: 0.5916 MB / 0.5735 GB, free: 1.766 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.34e-06/0.4126, allocations: 8.125 kB / 0.5735 GB, free: 1.758 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005881/0.4132, allocations: 143.8 kB / 0.5736 GB, free: 1.617 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.72e-06/0.4132, allocations: 3.984 kB / 0.5736 GB, free: 1.613 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.861e-05/0.4132, allocations: 23.92 kB / 0.5736 GB, free: 1.59 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.39e-06/0.4132, allocations: 4 kB / 0.5736 GB, free: 1.586 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.784e-06/0.4132, allocations: 0 / 0.5736 GB, free: 1.586 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001088/0.4143, allocations: 0.7264 MB / 0.5744 GB, free: 0.832 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001985/0.4145, allocations: 87.67 kB / 0.5744 GB, free: 0.7461 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.685e-05/0.4146, allocations: 15.88 kB / 0.5745 GB, free: 0.7305 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002125/0.4148, allocations: 12 kB / 0.5745 GB, free: 0.7188 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.367e-05/0.4149, allocations: 40.38 kB / 0.5745 GB, free: 0.6797 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.434e-05/0.4149, allocations: 19.98 kB / 0.5745 GB, free: 0.6602 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0003088/0.4152, allocations: 279.1 kB / 0.5748 GB, free: 396 kB / 414.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.4152, allocations: 0 / 0.5748 GB, free: 396 kB / 414.1 MB Notification: Performance of remove unused functions: time 0.001028/0.4162, allocations: 331.1 kB / 0.5751 GB, free: 64 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.0008204/0.4171, allocations: 437.9 kB / 0.5755 GB, free: 15.62 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0007809/0.4178, allocations: 422.5 kB / 0.5759 GB, free: 15.21 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 1.944e-06/0.4178, allocations: 0 / 0.5759 GB, free: 15.21 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003092/0.4182, allocations: 182.4 kB / 0.5761 GB, free: 15.03 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007108/0.4189, allocations: 134.9 kB / 0.5762 GB, free: 14.91 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002168/0.421, allocations: 1.219 MB / 0.5774 GB, free: 13.65 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005875/0.4216, allocations: 0.8822 MB / 0.5783 GB, free: 12.74 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0003989/0.422, allocations: 132.4 kB / 0.5784 GB, free: 12.61 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001691/0.4222, allocations: 75.41 kB / 0.5785 GB, free: 12.54 MB / 430.1 MB Notification: Performance of SimCode: time 4.5e-07/0.4222, allocations: 0 / 0.5785 GB, free: 12.54 MB / 430.1 MB Notification: Performance of Templates: time 0.0199/0.4421, allocations: 10.67 MB / 0.5889 GB, free: 1.91 MB / 430.1 MB " [Timeout remaining time 660] 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: 5.290060051251203] Failed to read output from testmodel.py, exit status != 0: 0.4508479367941618 0.46590715600000004 0.07700061600000001 Calling exit ...