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.001415/0.001415, 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.001532/0.001532, allocations: 207.9 kB / 22.98 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.454/1.454, 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 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.1496/0.1496, allocations: 23.88 MB / 337.1 MB, free: 10.97 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.002057/0.002057, allocations: 67.89 kB / 472.4 MB, free: 7.012 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.388/0.3901, allocations: 59.87 MB / 0.5197 GB, free: 9.777 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.07111/0.4612, allocations: 25.35 MB / 0.5445 GB, free: 14.2 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.01521/0.4764, allocations: 10.25 MB / 0.5545 GB, free: 4.867 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009992/0.4774, allocations: 19.81 kB / 0.5545 GB, free: 4.848 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008692/0.4783, allocations: 237.5 kB / 0.5548 GB, free: 4.672 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003215/0.4815, allocations: 1.002 MB / 0.5557 GB, free: 3.82 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00529/0.4868, allocations: 1.524 MB / 0.5572 GB, free: 2.566 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.003522/0.4903, allocations: 1.259 MB / 0.5585 GB, free: 1.434 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001071/0.4914, allocations: 0.5767 MB / 0.559 GB, free: 0.9688 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009106/0.4923, allocations: 0.6198 MB / 0.5596 GB, free: 424 kB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001049/0.4933, allocations: 0.6762 MB / 0.5603 GB, free: 15.86 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001684/0.4935, allocations: 104 kB / 0.5604 GB, free: 15.76 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004842/0.4983, allocations: 1.255 MB / 0.5616 GB, free: 14.64 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004327/0.4988, allocations: 267.4 kB / 0.5619 GB, free: 14.43 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000708/0.4995, allocations: 467 kB / 0.5623 GB, free: 14.01 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00695/0.5064, allocations: 2.585 MB / 0.5648 GB, free: 11.67 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.995e-06/0.5064, allocations: 8 kB / 0.5648 GB, free: 11.66 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.775e-06/0.5064, allocations: 0 / 0.5648 GB, free: 11.66 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.552e-05/0.5065, allocations: 0 / 0.5648 GB, free: 11.66 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.003108/0.5096, allocations: 1.446 MB / 0.5663 GB, free: 10.18 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.612e-05/0.5096, allocations: 8.031 kB / 0.5663 GB, free: 10.18 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001035/0.5106, allocations: 215.9 kB / 0.5665 GB, free: 9.965 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001047/0.5117, allocations: 0.5193 MB / 0.567 GB, free: 9.418 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001539/0.5118, allocations: 122 kB / 0.5671 GB, free: 9.285 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001675/0.512, allocations: 92.36 kB / 0.5672 GB, free: 9.195 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001857/0.5139, allocations: 1.045 MB / 0.5682 GB, free: 8.133 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.23e-05/0.5139, allocations: 0 / 0.5682 GB, free: 8.133 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001163/0.514, allocations: 43.94 kB / 0.5682 GB, free: 8.09 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.351e-05/0.514, allocations: 20 kB / 0.5683 GB, free: 8.07 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002108/0.5161, allocations: 1.261 MB / 0.5695 GB, free: 6.809 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.005348/0.5215, allocations: 2.705 MB / 0.5721 GB, free: 4.027 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002453/0.5239, allocations: 1.234 MB / 0.5733 GB, free: 2.789 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006696/0.5246, allocations: 403.6 kB / 0.5737 GB, free: 2.391 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004786/0.5294, allocations: 2.065 MB / 0.5757 GB, free: 312 kB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.27e-05/0.5294, allocations: 43.06 kB / 0.5758 GB, free: 256 kB / 414.1 MB Notification: Performance of pre-optimization done (n=56): time 2.264e-06/0.5294, allocations: 0 / 0.5758 GB, free: 256 kB / 414.1 MB Notification: Performance of matching and sorting (n=63): time 0.003388/0.5328, allocations: 1.599 MB / 0.5774 GB, free: 14.62 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.261e-05/0.5329, allocations: 64 kB / 0.5774 GB, free: 14.54 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005743/0.5335, allocations: 0.4947 MB / 0.5779 GB, free: 14.04 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 4.446e-05/0.5335, allocations: 33.7 kB / 0.5779 GB, free: 14 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003554/0.5339, allocations: 479.7 kB / 0.5784 GB, free: 13.52 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002031/0.5341, allocations: 238 kB / 0.5786 GB, free: 13.29 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002317/0.5343, allocations: 174.6 kB / 0.5788 GB, free: 13.11 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0002007/0.5345, allocations: 366.8 kB / 0.5791 GB, free: 12.75 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003833/0.5349, allocations: 217.8 kB / 0.5793 GB, free: 12.53 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006783/0.5356, allocations: 0.5374 MB / 0.5799 GB, free: 11.85 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001134/0.5367, allocations: 0.8104 MB / 0.5807 GB, free: 10.89 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.312e-06/0.5367, allocations: 8 kB / 0.5807 GB, free: 10.88 MB / 430.1 MB Notification: Performance of matching and sorting (n=115) (initialization): time 0.001467/0.5382, allocations: 0.8527 MB / 0.5815 GB, free: 10.02 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.535e-05/0.5382, allocations: 12 kB / 0.5815 GB, free: 10.01 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.902e-05/0.5382, allocations: 15.98 kB / 0.5815 GB, free: 9.992 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.383e-05/0.5382, allocations: 16 kB / 0.5815 GB, free: 9.977 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009708/0.5392, allocations: 267.5 kB / 0.5818 GB, free: 9.715 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.543e-05/0.5392, allocations: 23.88 kB / 0.5818 GB, free: 9.691 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004423/0.5397, allocations: 32 kB / 0.5818 GB, free: 9.66 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.265e-05/0.5398, allocations: 55.98 kB / 0.5819 GB, free: 9.605 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.0003775/0.5401, allocations: 237.5 kB / 0.5821 GB, free: 9.363 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001251/0.5403, allocations: 67.58 kB / 0.5822 GB, free: 9.297 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001394/0.5417, allocations: 0.6755 MB / 0.5828 GB, free: 8.613 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.121e-05/0.5417, allocations: 15.94 kB / 0.5829 GB, free: 8.598 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.701e-06/0.5417, allocations: 3.938 kB / 0.5829 GB, free: 8.594 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.388e-06/0.5417, allocations: 3.984 kB / 0.5829 GB, free: 8.59 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001032/0.5427, allocations: 0.5768 MB / 0.5834 GB, free: 7.965 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.47e-06/0.5427, allocations: 4 kB / 0.5834 GB, free: 7.961 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007502/0.5435, allocations: 168 kB / 0.5836 GB, free: 7.797 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.543e-05/0.5435, allocations: 8 kB / 0.5836 GB, free: 7.789 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.352e-05/0.5435, allocations: 20 kB / 0.5836 GB, free: 7.77 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.565e-06/0.5435, allocations: 7.938 kB / 0.5836 GB, free: 7.762 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.334e-06/0.5436, allocations: 7.922 kB / 0.5836 GB, free: 7.754 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001461/0.545, allocations: 0.9452 MB / 0.5846 GB, free: 6.781 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002767/0.5453, allocations: 107.6 kB / 0.5847 GB, free: 6.676 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.934e-05/0.5454, allocations: 19.94 kB / 0.5847 GB, free: 6.656 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002877/0.5457, allocations: 15.98 kB / 0.5847 GB, free: 6.641 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001225/0.5458, allocations: 56.5 kB / 0.5848 GB, free: 6.586 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.211e-05/0.5458, allocations: 32.09 kB / 0.5848 GB, free: 6.555 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.000382/0.5462, allocations: 318.9 kB / 0.5851 GB, free: 6.246 MB / 430.1 MB Notification: Performance of sort global known variables: time 1e-07/0.5462, allocations: 0 / 0.5851 GB, free: 6.246 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.001618/0.5478, allocations: 486.6 kB / 0.5856 GB, free: 5.77 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.001236/0.5491, allocations: 0.5989 MB / 0.5861 GB, free: 5.156 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.001137/0.5502, allocations: 0.569 MB / 0.5867 GB, free: 4.586 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.524e-06/0.5502, allocations: 3.938 kB / 0.5867 GB, free: 4.582 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004224/0.5506, allocations: 267.6 kB / 0.587 GB, free: 4.324 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000815/0.5515, allocations: 155.2 kB / 0.5871 GB, free: 4.18 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002682/0.5541, allocations: 1.509 MB / 0.5886 GB, free: 2.629 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004048/0.5545, allocations: 365.4 kB / 0.5889 GB, free: 2.246 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0005664/0.5551, allocations: 173.2 kB / 0.5891 GB, free: 2.074 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000225/0.5553, allocations: 99.39 kB / 0.5892 GB, free: 1.977 MB / 430.1 MB Notification: Performance of SimCode: time 8.62e-07/0.5553, allocations: 0 / 0.5892 GB, free: 1.977 MB / 430.1 MB Notification: Performance of Templates: time 0.02684/0.5822, allocations: 15.58 MB / 0.6044 GB, free: 2.527 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 -s cvode -lv LOG_STATS > Chemical_Chemical.Obsolete.Examples.SimpleReaction2.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.602545613000984] Failed to read output from testmodel.py, exit status != 0: 0.5911738760041771 0.6056978789999999 0.09600158599999994 Calling exit ...