Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Chemical_Chemical.Obsolete.Examples.SimpleReaction2.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.0019/0.0019, allocations: 108.2 kB / 16.45 MB, free: 6.453 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.002189/0.002189, allocations: 216.2 kB / 19.43 MB, free: 3.625 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.486/1.486, allocations: 230.6 MB / 252.8 MB, free: 8.984 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.1698/0.1698, allocations: 23.84 MB / 332.7 MB, free: 12.38 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.SimpleReaction2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Chemical_Chemical.Obsolete.Examples.SimpleReaction2") translateModel(Chemical.Obsolete.Examples.SimpleReaction2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Chemical_Chemical.Obsolete.Examples.SimpleReaction2") [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.002135/0.002135, allocations: 59.91 kB / 466.5 MB, free: 9.625 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3166/0.3188, allocations: 59.83 MB / 0.5139 GB, free: 9.141 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.SimpleReaction2): time 0.03861/0.3574, allocations: 25.6 MB / 0.5389 GB, free: 15.02 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.01599/0.3734, allocations: 11.7 MB / 0.5504 GB, free: 4.23 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008059/0.3742, allocations: 23.81 kB / 0.5504 GB, free: 4.207 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008271/0.375, allocations: 260.8 kB / 0.5506 GB, free: 4.008 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002882/0.3779, allocations: 0.9807 MB / 0.5516 GB, free: 3.184 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004066/0.3819, allocations: 1.515 MB / 0.5531 GB, free: 1.949 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.001954/0.3839, allocations: 1.259 MB / 0.5543 GB, free: 0.8125 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008297/0.3847, allocations: 0.5882 MB / 0.5549 GB, free: 344 kB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007614/0.3855, allocations: 0.6148 MB / 0.5555 GB, free: 15.79 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009802/0.3865, allocations: 0.6752 MB / 0.5561 GB, free: 15.24 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000172/0.3866, allocations: 104 kB / 0.5562 GB, free: 15.14 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003777/0.3904, allocations: 1.304 MB / 0.5575 GB, free: 13.98 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003095/0.3907, allocations: 267.4 kB / 0.5578 GB, free: 13.76 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006325/0.3914, allocations: 0.5421 MB / 0.5583 GB, free: 13.26 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005249/0.3966, allocations: 2.587 MB / 0.5608 GB, free: 11.18 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.068e-06/0.3966, allocations: 0 / 0.5608 GB, free: 11.18 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.874e-06/0.3966, allocations: 0 / 0.5608 GB, free: 11.18 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.741e-05/0.3966, allocations: 4 kB / 0.5608 GB, free: 11.18 MB / 414.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 222 * Number of variables: 222 Notification: Performance of Generate backend data structure: time 0.003011/0.3996, allocations: 1.53 MB / 0.5623 GB, free: 9.645 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.987e-05/0.3997, allocations: 12.03 kB / 0.5623 GB, free: 9.633 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001002/0.4007, allocations: 219.9 kB / 0.5625 GB, free: 9.418 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009506/0.4016, allocations: 0.5797 MB / 0.5631 GB, free: 8.797 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001057/0.4017, allocations: 100.2 kB / 0.5632 GB, free: 8.691 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001754/0.4019, allocations: 92.38 kB / 0.5633 GB, free: 8.602 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001847/0.4038, allocations: 1.045 MB / 0.5643 GB, free: 7.539 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.886e-05/0.4038, allocations: 0 / 0.5643 GB, free: 7.539 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.94e-05/0.4039, allocations: 36 kB / 0.5643 GB, free: 7.504 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.121e-05/0.4039, allocations: 24 kB / 0.5644 GB, free: 7.48 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002239/0.4061, allocations: 1.273 MB / 0.5656 GB, free: 6.207 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.005856/0.412, allocations: 3.486 MB / 0.569 GB, free: 2.543 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002553/0.4146, allocations: 1.478 MB / 0.5705 GB, free: 1 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006786/0.4152, allocations: 403.6 kB / 0.5708 GB, free: 0.6016 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005898/0.4211, allocations: 4.049 MB / 0.5748 GB, free: 12.07 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.152e-05/0.4212, allocations: 35.12 kB / 0.5748 GB, free: 12.03 MB / 430.1 MB Notification: Performance of pre-optimization done (n=56): time 2.023e-06/0.4212, allocations: 0 / 0.5748 GB, free: 12.03 MB / 430.1 MB Notification: Performance of matching and sorting (n=63): time 0.003631/0.4248, allocations: 1.679 MB / 0.5765 GB, free: 10.3 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.33e-05/0.4248, allocations: 59.97 kB / 0.5765 GB, free: 10.23 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000656/0.4255, allocations: 0.5145 MB / 0.577 GB, free: 9.707 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 4.993e-05/0.4256, allocations: 37.7 kB / 0.5771 GB, free: 9.664 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003628/0.4259, allocations: 471.8 kB / 0.5775 GB, free: 9.195 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002192/0.4261, allocations: 234 kB / 0.5777 GB, free: 8.965 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002539/0.4264, allocations: 178.6 kB / 0.5779 GB, free: 8.785 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0002033/0.4266, allocations: 374.8 kB / 0.5783 GB, free: 8.41 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004086/0.427, allocations: 205.9 kB / 0.5785 GB, free: 8.211 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007132/0.4277, allocations: 0.5334 MB / 0.579 GB, free: 7.531 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001236/0.4289, allocations: 0.8131 MB / 0.5798 GB, free: 6.562 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.188e-06/0.429, allocations: 0 / 0.5798 GB, free: 6.562 MB / 430.1 MB Notification: Performance of matching and sorting (n=115) (initialization): time 0.001535/0.4305, allocations: 0.8581 MB / 0.5806 GB, free: 5.703 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.311e-05/0.4305, allocations: 8.219 kB / 0.5806 GB, free: 5.695 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.542e-05/0.4305, allocations: 16 kB / 0.5806 GB, free: 5.68 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.196e-05/0.4306, allocations: 19.94 kB / 0.5807 GB, free: 5.66 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001025/0.4316, allocations: 259.6 kB / 0.5809 GB, free: 5.406 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.625e-05/0.4316, allocations: 27.86 kB / 0.5809 GB, free: 5.379 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004393/0.432, allocations: 32 kB / 0.581 GB, free: 5.348 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.309e-05/0.4321, allocations: 51.98 kB / 0.581 GB, free: 5.297 MB / 430.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 49 * 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 (115): * Single equations (assignments): 115 * 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.0003427/0.4325, allocations: 237.5 kB / 0.5812 GB, free: 5.055 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001276/0.4326, allocations: 71.52 kB / 0.5813 GB, free: 4.984 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001443/0.434, allocations: 0.6891 MB / 0.582 GB, free: 4.281 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.692e-06/0.4341, allocations: 11.94 kB / 0.582 GB, free: 4.27 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.739e-06/0.4341, allocations: 4 kB / 0.582 GB, free: 4.266 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.388e-06/0.4341, allocations: 3.984 kB / 0.582 GB, free: 4.262 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00113/0.4352, allocations: 0.772 MB / 0.5828 GB, free: 3.422 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.106e-06/0.4352, allocations: 0 / 0.5828 GB, free: 3.422 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007947/0.436, allocations: 176 kB / 0.5829 GB, free: 3.25 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.859e-06/0.436, allocations: 7.984 kB / 0.5829 GB, free: 3.242 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.842e-05/0.4361, allocations: 19.94 kB / 0.583 GB, free: 3.223 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.193e-06/0.4361, allocations: 7.938 kB / 0.583 GB, free: 3.215 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.048e-06/0.4361, allocations: 4 kB / 0.583 GB, free: 3.211 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001531/0.4376, allocations: 0.9524 MB / 0.5839 GB, free: 2.238 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002837/0.4379, allocations: 188.6 kB / 0.5841 GB, free: 2.035 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.241e-05/0.438, allocations: 19.94 kB / 0.5841 GB, free: 2.016 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002906/0.4383, allocations: 23.92 kB / 0.5841 GB, free: 1.992 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001201/0.4384, allocations: 44.5 kB / 0.5842 GB, free: 1.945 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.367e-05/0.4384, allocations: 28 kB / 0.5842 GB, free: 1.918 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.000425/0.4389, allocations: 346.8 kB / 0.5845 GB, free: 1.582 MB / 430.1 MB Notification: Performance of sort global known variables: time 9e-08/0.4389, allocations: 0 / 0.5845 GB, free: 1.582 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.001444/0.4403, allocations: 486.6 kB / 0.585 GB, free: 1.105 MB / 430.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 4 (solution.temperature,A.logn,B.logn,C.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 (71): * Single equations (assignments): 71 * 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.00142/0.4417, allocations: 0.5988 MB / 0.5856 GB, free: 0.4961 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.001136/0.4429, allocations: 0.5674 MB / 0.5861 GB, free: 15.93 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.485e-06/0.4429, allocations: 0 / 0.5861 GB, free: 15.93 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004422/0.4433, allocations: 264.6 kB / 0.5864 GB, free: 15.68 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008478/0.4442, allocations: 158.5 kB / 0.5865 GB, free: 15.52 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002779/0.4469, allocations: 1.51 MB / 0.588 GB, free: 13.96 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006652/0.4476, allocations: 0.954 MB / 0.5889 GB, free: 12.98 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0005486/0.4481, allocations: 169.4 kB / 0.5891 GB, free: 12.81 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002393/0.4484, allocations: 107.3 kB / 0.5892 GB, free: 12.71 MB / 446.1 MB Notification: Performance of SimCode: time 5.31e-07/0.4484, allocations: 0 / 0.5892 GB, free: 12.71 MB / 446.1 MB Notification: Performance of Templates: time 0.02616/0.4745, allocations: 14.49 MB / 0.6033 GB, free: 14.27 MB / 462.1 MB " [Timeout remaining time 660] make -j1 -f Chemical_Chemical.Obsolete.Examples.SimpleReaction2.makefile [Timeout 660] (rm -f Chemical_Chemical.Obsolete.Examples.SimpleReaction2.pipe ; mkfifo Chemical_Chemical.Obsolete.Examples.SimpleReaction2.pipe ; head -c 1048576 < Chemical_Chemical.Obsolete.Examples.SimpleReaction2.pipe >> ../files/Chemical_Chemical.Obsolete.Examples.SimpleReaction2.sim & ./Chemical_Chemical.Obsolete.Examples.SimpleReaction2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > Chemical_Chemical.Obsolete.Examples.SimpleReaction2.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.5711549036204815] Failed to read output from testmodel.py, exit status != 0: 0.48292315006256104 0.496514172 0.096877088 Calling exit ...