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.001365/0.001365, allocations: 104.3 kB / 19.7 MB, free: 2.004 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.001465/0.001465, allocations: 221 kB / 23 MB, free: 4.918 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.516/1.516, allocations: 230.6 MB / 256.8 MB, free: 7.977 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.1561/0.1561, allocations: 23.88 MB / 337.1 MB, free: 10.99 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.002163/0.002163, allocations: 67.88 kB / 472.4 MB, free: 7.031 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3873/0.3895, allocations: 59.86 MB / 0.5197 GB, free: 9.809 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.07142/0.4609, allocations: 25.52 MB / 0.5447 GB, free: 14.05 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.01595/0.4768, allocations: 10.25 MB / 0.5547 GB, free: 4.73 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001264/0.4781, allocations: 15.88 kB / 0.5547 GB, free: 4.715 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00112/0.4792, allocations: 237.3 kB / 0.5549 GB, free: 4.539 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004481/0.4837, allocations: 1.006 MB / 0.5559 GB, free: 3.684 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005332/0.489, allocations: 1.532 MB / 0.5574 GB, free: 2.422 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.002407/0.4914, allocations: 1.251 MB / 0.5586 GB, free: 1.297 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000922/0.4924, allocations: 0.5653 MB / 0.5592 GB, free: 0.8438 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008098/0.4932, allocations: 0.6201 MB / 0.5598 GB, free: 296 kB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001046/0.4942, allocations: 0.6083 MB / 0.5604 GB, free: 15.81 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001944/0.4944, allocations: 104 kB / 0.5605 GB, free: 15.71 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004501/0.4989, allocations: 1.227 MB / 0.5617 GB, free: 14.61 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003527/0.4993, allocations: 259.4 kB / 0.5619 GB, free: 14.4 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006209/0.4999, allocations: 475.2 kB / 0.5624 GB, free: 13.98 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005874/0.5058, allocations: 2.586 MB / 0.5649 GB, free: 11.62 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.773e-06/0.5058, allocations: 0 / 0.5649 GB, free: 11.62 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.943e-06/0.5058, allocations: 0 / 0.5649 GB, free: 11.62 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.932e-05/0.5058, allocations: 0 / 0.5649 GB, free: 11.62 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.003198/0.509, allocations: 1.446 MB / 0.5663 GB, free: 10.14 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.091e-05/0.509, allocations: 8.031 kB / 0.5663 GB, free: 10.13 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009401/0.51, allocations: 223.9 kB / 0.5665 GB, free: 9.914 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001001/0.511, allocations: 0.5231 MB / 0.567 GB, free: 9.363 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001304/0.5111, allocations: 122 kB / 0.5672 GB, free: 9.23 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001611/0.5113, allocations: 92.38 kB / 0.5672 GB, free: 9.141 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001716/0.513, allocations: 1.053 MB / 0.5683 GB, free: 8.07 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.183e-05/0.513, allocations: 0 / 0.5683 GB, free: 8.07 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.25e-05/0.5131, allocations: 36 kB / 0.5683 GB, free: 8.035 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.16e-05/0.5131, allocations: 20 kB / 0.5683 GB, free: 8.016 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002076/0.5152, allocations: 1.261 MB / 0.5696 GB, free: 6.754 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.005078/0.5203, allocations: 2.697 MB / 0.5722 GB, free: 3.98 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002333/0.5226, allocations: 1.246 MB / 0.5734 GB, free: 2.73 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006412/0.5232, allocations: 391.7 kB / 0.5738 GB, free: 2.348 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0047/0.5279, allocations: 2.077 MB / 0.5758 GB, free: 256 kB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.409e-05/0.528, allocations: 43.06 kB / 0.5758 GB, free: 200 kB / 414.1 MB Notification: Performance of pre-optimization done (n=56): time 2.164e-06/0.528, allocations: 0 / 0.5758 GB, free: 200 kB / 414.1 MB Notification: Performance of matching and sorting (n=63): time 0.00334/0.5313, allocations: 1.588 MB / 0.5774 GB, free: 14.57 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.501e-05/0.5314, allocations: 71.88 kB / 0.5775 GB, free: 14.49 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005955/0.532, allocations: 0.4986 MB / 0.578 GB, free: 13.98 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 4.931e-05/0.532, allocations: 33.7 kB / 0.578 GB, free: 13.94 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003422/0.5324, allocations: 479.7 kB / 0.5784 GB, free: 13.47 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001985/0.5326, allocations: 238 kB / 0.5787 GB, free: 13.23 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002395/0.5328, allocations: 174.6 kB / 0.5788 GB, free: 13.06 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0002094/0.533, allocations: 370.8 kB / 0.5792 GB, free: 12.69 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003931/0.5334, allocations: 213.9 kB / 0.5794 GB, free: 12.48 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006799/0.5341, allocations: 0.5296 MB / 0.5799 GB, free: 11.8 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001178/0.5353, allocations: 0.8182 MB / 0.5807 GB, free: 10.83 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.112e-06/0.5353, allocations: 4 kB / 0.5807 GB, free: 10.82 MB / 430.1 MB Notification: Performance of matching and sorting (n=115) (initialization): time 0.001439/0.5367, allocations: 0.8522 MB / 0.5815 GB, free: 9.965 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.331e-05/0.5367, allocations: 8 kB / 0.5816 GB, free: 9.957 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.735e-05/0.5368, allocations: 12 kB / 0.5816 GB, free: 9.945 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.322e-05/0.5368, allocations: 19.98 kB / 0.5816 GB, free: 9.926 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009789/0.5378, allocations: 272.1 kB / 0.5818 GB, free: 9.66 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.665e-05/0.5378, allocations: 23.92 kB / 0.5819 GB, free: 9.637 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004028/0.5382, allocations: 24 kB / 0.5819 GB, free: 9.613 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.989e-05/0.5383, allocations: 51.98 kB / 0.5819 GB, free: 9.562 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.0003302/0.5386, allocations: 241.5 kB / 0.5822 GB, free: 9.316 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001129/0.5387, allocations: 63.58 kB / 0.5822 GB, free: 9.254 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00133/0.5401, allocations: 0.6832 MB / 0.5829 GB, free: 8.562 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.07e-05/0.5401, allocations: 11.94 kB / 0.5829 GB, free: 8.551 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.909e-06/0.5401, allocations: 0 / 0.5829 GB, free: 8.551 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.037e-06/0.5401, allocations: 3.984 kB / 0.5829 GB, free: 8.547 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009046/0.541, allocations: 0.5729 MB / 0.5835 GB, free: 7.926 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.424e-06/0.541, allocations: 4 kB / 0.5835 GB, free: 7.922 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000762/0.5418, allocations: 175.9 kB / 0.5836 GB, free: 7.75 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.689e-06/0.5418, allocations: 4 kB / 0.5836 GB, free: 7.746 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.866e-05/0.5418, allocations: 24 kB / 0.5837 GB, free: 7.723 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.34e-06/0.5418, allocations: 4 kB / 0.5837 GB, free: 7.719 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.647e-06/0.5418, allocations: 3.938 kB / 0.5837 GB, free: 7.715 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001492/0.5433, allocations: 0.9529 MB / 0.5846 GB, free: 6.734 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002733/0.5436, allocations: 115.5 kB / 0.5847 GB, free: 6.621 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.204e-05/0.5437, allocations: 12 kB / 0.5847 GB, free: 6.609 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002755/0.5439, allocations: 23.92 kB / 0.5848 GB, free: 6.586 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000102/0.544, allocations: 52.52 kB / 0.5848 GB, free: 6.535 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.777e-05/0.5441, allocations: 27.98 kB / 0.5848 GB, free: 6.508 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0003764/0.5445, allocations: 318.9 kB / 0.5851 GB, free: 6.199 MB / 430.1 MB Notification: Performance of sort global known variables: time 8e-08/0.5445, allocations: 0 / 0.5851 GB, free: 6.199 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.001419/0.5459, allocations: 478.7 kB / 0.5856 GB, free: 5.73 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.001085/0.547, allocations: 0.6106 MB / 0.5862 GB, free: 5.105 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.001041/0.548, allocations: 0.5695 MB / 0.5867 GB, free: 4.535 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 4.278e-06/0.548, allocations: 4.875 kB / 0.5867 GB, free: 4.531 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004174/0.5484, allocations: 263.8 kB / 0.587 GB, free: 4.277 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007892/0.5492, allocations: 163.5 kB / 0.5872 GB, free: 4.125 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002544/0.5518, allocations: 1.546 MB / 0.5887 GB, free: 2.531 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004/0.5522, allocations: 369.4 kB / 0.589 GB, free: 2.145 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003343/0.5525, allocations: 123.4 kB / 0.5891 GB, free: 2.023 MB / 430.1 MB Notification: Performance of SimCode: time 1.352e-06/0.5525, allocations: 0 / 0.5891 GB, free: 2.023 MB / 430.1 MB Notification: Performance of Templates: time 0.01994/0.5724, allocations: 13.04 MB / 0.6019 GB, free: 5.023 MB / 446.1 MB " [Timeout remaining time 659] 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: 8.609336397144943] Failed to read output from testmodel.py, exit status != 0: 0.5820476436056197 0.5957834359999999 0.08680700400000001 Calling exit ...