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.001283/0.001283, allocations: 79.73 kB / 19.76 MB, free: 1.871 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.001394/0.001394, allocations: 156 kB / 23.01 MB, free: 4.602 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.375/1.375, allocations: 177.2 MB / 203.4 MB, free: 8.949 MB / 190.1 MB " [Timeout remaining time 179] 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.1255/0.1255, allocations: 17.45 MB / 277.2 MB, free: 15.19 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.001979/0.001979, allocations: 63.91 kB / 412.6 MB, free: 5.578 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1039/0.1059, allocations: 59.87 MB / 472.4 MB, free: 9.598 MB / 446.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.4369/0.5428, allocations: 24.8 MB / 497.2 MB, free: 39.24 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.007628/0.5504, allocations: 7.058 MB / 0.4925 GB, free: 35.91 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005035/0.5509, allocations: 14.62 kB / 0.4925 GB, free: 35.91 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006171/0.5515, allocations: 173.3 kB / 0.4927 GB, free: 35.82 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001601/0.5531, allocations: 0.6929 MB / 0.4933 GB, free: 35.44 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00233/0.5554, allocations: 1.054 MB / 0.4944 GB, free: 34.96 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008854/0.5563, allocations: 0.9353 MB / 0.4953 GB, free: 34.5 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004147/0.5567, allocations: 415.6 kB / 0.4957 GB, free: 34.32 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003353/0.5571, allocations: 479.9 kB / 0.4961 GB, free: 34.14 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005137/0.5576, allocations: 452.9 kB / 0.4966 GB, free: 33.99 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 9.647e-05/0.5577, allocations: 78.47 kB / 0.4966 GB, free: 33.99 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001598/0.5593, allocations: 0.8137 MB / 0.4974 GB, free: 33.82 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001553/0.5594, allocations: 195.2 kB / 0.4976 GB, free: 33.7 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003982/0.5598, allocations: 354.6 kB / 0.498 GB, free: 33.52 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002386/0.5622, allocations: 1.817 MB / 0.4997 GB, free: 32.74 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.228e-06/0.5622, allocations: 0 / 0.4997 GB, free: 32.74 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.383e-06/0.5622, allocations: 0 / 0.4997 GB, free: 32.74 MB / 446.1 MB Notification: Performance of Transformations before backend: time 1.098e-05/0.5622, allocations: 0 / 0.4997 GB, free: 32.74 MB / 446.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.001735/0.564, allocations: 1.119 MB / 0.5008 GB, free: 32.01 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.014e-05/0.564, allocations: 10.25 kB / 0.5008 GB, free: 32.01 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006067/0.5646, allocations: 155 kB / 0.501 GB, free: 31.96 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006808/0.5653, allocations: 427.2 kB / 0.5014 GB, free: 31.67 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.454e-05/0.5654, allocations: 106.3 kB / 0.5015 GB, free: 31.58 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001122/0.5655, allocations: 64.91 kB / 0.5016 GB, free: 31.56 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001125/0.5666, allocations: 0.7831 MB / 0.5023 GB, free: 31.23 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.299e-05/0.5666, allocations: 1.375 kB / 0.5023 GB, free: 31.23 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.143e-05/0.5667, allocations: 25.41 kB / 0.5023 GB, free: 31.21 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.776e-05/0.5667, allocations: 15.91 kB / 0.5024 GB, free: 31.21 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001281/0.568, allocations: 0.868 MB / 0.5032 GB, free: 30.95 MB / 446.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.003332/0.5713, allocations: 1.985 MB / 0.5051 GB, free: 29.79 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00139/0.5727, allocations: 0.8121 MB / 0.5059 GB, free: 29.48 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003995/0.5731, allocations: 276 kB / 0.5062 GB, free: 29.37 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002851/0.576, allocations: 1.507 MB / 0.5077 GB, free: 28.66 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.205e-05/0.576, allocations: 40.22 kB / 0.5077 GB, free: 28.62 MB / 446.1 MB Notification: Performance of pre-optimization done (n=41): time 2.415e-06/0.576, allocations: 0 / 0.5077 GB, free: 28.62 MB / 446.1 MB Notification: Performance of matching and sorting (n=46): time 0.002171/0.5782, allocations: 1.17 MB / 0.5089 GB, free: 28 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.734e-05/0.5782, allocations: 55.53 kB / 0.5089 GB, free: 27.94 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000351/0.5786, allocations: 404.3 kB / 0.5093 GB, free: 27.73 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 2.389e-05/0.5786, allocations: 34.61 kB / 0.5093 GB, free: 27.7 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001558/0.5787, allocations: 382.6 kB / 0.5097 GB, free: 27.38 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.942e-05/0.5788, allocations: 171.6 kB / 0.5099 GB, free: 27.25 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001418/0.579, allocations: 127.5 kB / 0.51 GB, free: 27.18 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 6.754e-05/0.579, allocations: 357.3 kB / 0.5103 GB, free: 26.85 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000236/0.5793, allocations: 151.8 kB / 0.5105 GB, free: 26.8 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003365/0.5796, allocations: 395.6 kB / 0.5108 GB, free: 26.45 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005987/0.5802, allocations: 0.5784 MB / 0.5114 GB, free: 25.98 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.037e-06/0.5802, allocations: 2.844 kB / 0.5114 GB, free: 25.98 MB / 446.1 MB Notification: Performance of matching and sorting (n=83) (initialization): time 0.0008442/0.5811, allocations: 0.6197 MB / 0.512 GB, free: 25.71 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.956e-05/0.5811, allocations: 8.469 kB / 0.512 GB, free: 25.71 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.212e-05/0.5811, allocations: 7.062 kB / 0.512 GB, free: 25.71 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.666e-05/0.5811, allocations: 19.78 kB / 0.512 GB, free: 25.7 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006873/0.5818, allocations: 207.4 kB / 0.5122 GB, free: 25.68 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.84e-05/0.5818, allocations: 15.23 kB / 0.5123 GB, free: 25.68 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002966/0.5821, allocations: 21.31 kB / 0.5123 GB, free: 25.66 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.786e-05/0.5822, allocations: 39.92 kB / 0.5123 GB, free: 25.66 MB / 446.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.0002048/0.5824, allocations: 199.5 kB / 0.5125 GB, free: 25.48 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.203e-05/0.5825, allocations: 45.78 kB / 0.5125 GB, free: 25.46 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008555/0.5833, allocations: 0.4927 MB / 0.513 GB, free: 25.25 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.117e-06/0.5833, allocations: 9 kB / 0.513 GB, free: 25.24 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.61e-06/0.5833, allocations: 0 / 0.513 GB, free: 25.24 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.444e-06/0.5833, allocations: 4.828 kB / 0.513 GB, free: 25.24 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006026/0.5839, allocations: 479.7 kB / 0.5135 GB, free: 24.93 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.901e-06/0.5839, allocations: 1.031 kB / 0.5135 GB, free: 24.93 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000555/0.5845, allocations: 142.4 kB / 0.5136 GB, free: 24.91 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.026e-05/0.5845, allocations: 6.953 kB / 0.5136 GB, free: 24.91 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.682e-05/0.5845, allocations: 18.53 kB / 0.5137 GB, free: 24.9 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.189e-06/0.5846, allocations: 3.75 kB / 0.5137 GB, free: 24.9 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.076e-06/0.5846, allocations: 5.219 kB / 0.5137 GB, free: 24.9 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000948/0.5855, allocations: 0.7247 MB / 0.5144 GB, free: 24.5 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001827/0.5857, allocations: 89.23 kB / 0.5145 GB, free: 24.45 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.557e-05/0.5858, allocations: 11.41 kB / 0.5145 GB, free: 24.45 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002184/0.586, allocations: 14.41 kB / 0.5145 GB, free: 24.44 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.332e-05/0.5861, allocations: 44.62 kB / 0.5145 GB, free: 24.43 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.586e-05/0.5861, allocations: 22.36 kB / 0.5146 GB, free: 24.42 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.000243/0.5863, allocations: 257.2 kB / 0.5148 GB, free: 24.29 MB / 446.1 MB Notification: Performance of sort global known variables: time 8e-08/0.5863, allocations: 4 kB / 0.5148 GB, free: 24.29 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001082/0.5874, allocations: 334.5 kB / 0.5151 GB, free: 24.2 MB / 446.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.001047/0.5885, allocations: 436.6 kB / 0.5155 GB, free: 23.98 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0007591/0.5892, allocations: 415.7 kB / 0.5159 GB, free: 23.85 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 4.288e-06/0.5892, allocations: 0 / 0.5159 GB, free: 23.85 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003078/0.5895, allocations: 194.7 kB / 0.5161 GB, free: 23.79 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007128/0.5902, allocations: 129.9 kB / 0.5162 GB, free: 23.73 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002084/0.5923, allocations: 1.206 MB / 0.5174 GB, free: 23.03 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003229/0.5927, allocations: 291.1 kB / 0.5177 GB, free: 22.93 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0004165/0.5931, allocations: 115.4 kB / 0.5178 GB, free: 22.89 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001756/0.5932, allocations: 72.11 kB / 0.5179 GB, free: 22.88 MB / 446.1 MB Notification: Performance of SimCode: time 6.21e-07/0.5932, allocations: 0 / 0.5179 GB, free: 22.88 MB / 446.1 MB Notification: Performance of Templates: time 0.0187/0.6119, allocations: 10.11 MB / 0.5278 GB, free: 21.72 MB / 446.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 ida -lv LOG_STATS > Chemical_master_Chemical.Obsolete.Examples.SimpleReaction.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.9606688460335135] Failed to read output from testmodel.py, exit status != 0: 0.6199139730306342 0.631324785 0.06679085900000001 Calling exit ...