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.001556/0.001556, allocations: 77.7 kB / 19.76 MB, free: 2.031 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.001432/0.001432, allocations: 158.5 kB / 23.01 MB, free: 4.945 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.371/1.371, allocations: 177.2 MB / 203.4 MB, free: 8.961 MB / 190.1 MB " [Timeout remaining time 179] 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.1243/0.1243, allocations: 17.36 MB / 277.1 MB, free: 15.28 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.002202/0.002202, allocations: 63.89 kB / 412.4 MB, free: 5.746 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.107/0.1092, allocations: 59.86 MB / 472.3 MB, free: 9.77 MB / 446.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.411/0.5202, allocations: 25.48 MB / 497.8 MB, free: 39.13 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.009312/0.5295, allocations: 10.26 MB / 0.4961 GB, free: 34.04 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004424/0.5299, allocations: 17.19 kB / 0.4961 GB, free: 34.04 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006074/0.5306, allocations: 240.9 kB / 0.4964 GB, free: 33.91 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001812/0.5324, allocations: 0.9957 MB / 0.4973 GB, free: 33.29 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002913/0.5353, allocations: 1.535 MB / 0.4988 GB, free: 32.39 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.001174/0.5365, allocations: 1.251 MB / 0.5001 GB, free: 31.77 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005455/0.537, allocations: 0.5576 MB / 0.5006 GB, free: 31.49 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005252/0.5375, allocations: 0.6186 MB / 0.5012 GB, free: 31.27 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007144/0.5382, allocations: 0.6075 MB / 0.5018 GB, free: 31.06 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001598/0.5384, allocations: 106.1 kB / 0.5019 GB, free: 31.06 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002578/0.541, allocations: 1.219 MB / 0.5031 GB, free: 30.79 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002008/0.5412, allocations: 269.2 kB / 0.5033 GB, free: 30.62 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004138/0.5416, allocations: 471.9 kB / 0.5038 GB, free: 30.39 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003727/0.5453, allocations: 2.581 MB / 0.5063 GB, free: 29.29 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.479e-06/0.5453, allocations: 1.094 kB / 0.5063 GB, free: 29.29 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.753e-06/0.5453, allocations: 0 / 0.5063 GB, free: 29.29 MB / 446.1 MB Notification: Performance of Transformations before backend: time 1.249e-05/0.5453, allocations: 0 / 0.5063 GB, free: 29.29 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: 222 * Number of variables: 222 Notification: Performance of Generate backend data structure: time 0.002246/0.5476, allocations: 1.456 MB / 0.5077 GB, free: 28.39 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.484e-05/0.5476, allocations: 9.844 kB / 0.5077 GB, free: 28.39 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008509/0.5485, allocations: 207.7 kB / 0.5079 GB, free: 28.33 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000752/0.5492, allocations: 0.5231 MB / 0.5085 GB, free: 27.98 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.239e-05/0.5493, allocations: 120.5 kB / 0.5086 GB, free: 27.89 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001366/0.5495, allocations: 93.91 kB / 0.5087 GB, free: 27.86 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001469/0.5509, allocations: 1.049 MB / 0.5097 GB, free: 27.44 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.241e-05/0.5509, allocations: 4 kB / 0.5097 GB, free: 27.43 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.08e-05/0.551, allocations: 36.31 kB / 0.5097 GB, free: 27.41 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.108e-05/0.551, allocations: 20.81 kB / 0.5097 GB, free: 27.41 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001744/0.5528, allocations: 1.259 MB / 0.511 GB, free: 27.04 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.004311/0.5571, allocations: 2.705 MB / 0.5136 GB, free: 25.48 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001905/0.559, allocations: 1.243 MB / 0.5148 GB, free: 25.05 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005085/0.5595, allocations: 393.1 kB / 0.5152 GB, free: 24.9 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003794/0.5633, allocations: 2.08 MB / 0.5172 GB, free: 23.99 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.898e-05/0.5633, allocations: 38.66 kB / 0.5173 GB, free: 23.95 MB / 446.1 MB Notification: Performance of pre-optimization done (n=56): time 1.994e-06/0.5633, allocations: 0 / 0.5173 GB, free: 23.95 MB / 446.1 MB Notification: Performance of matching and sorting (n=63): time 0.002883/0.5662, allocations: 1.587 MB / 0.5188 GB, free: 23.16 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.419e-05/0.5662, allocations: 66.47 kB / 0.5189 GB, free: 23.09 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004512/0.5667, allocations: 0.4989 MB / 0.5194 GB, free: 22.84 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 3.211e-05/0.5667, allocations: 36.42 kB / 0.5194 GB, free: 22.8 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001753/0.5669, allocations: 476.5 kB / 0.5199 GB, free: 22.42 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001073/0.567, allocations: 231.5 kB / 0.5201 GB, free: 22.23 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001798/0.5672, allocations: 174.1 kB / 0.5202 GB, free: 22.15 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 7.234e-05/0.5673, allocations: 377.8 kB / 0.5206 GB, free: 21.8 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003215/0.5676, allocations: 210.5 kB / 0.5208 GB, free: 21.73 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000428/0.568, allocations: 0.5286 MB / 0.5213 GB, free: 21.25 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008212/0.5688, allocations: 0.8217 MB / 0.5221 GB, free: 20.58 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.072e-06/0.5688, allocations: 3.469 kB / 0.5221 GB, free: 20.58 MB / 446.1 MB Notification: Performance of matching and sorting (n=115) (initialization): time 0.001163/0.57, allocations: 0.8469 MB / 0.523 GB, free: 20.23 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.047e-05/0.57, allocations: 10.12 kB / 0.523 GB, free: 20.23 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.553e-05/0.57, allocations: 15.75 kB / 0.523 GB, free: 20.22 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.533e-05/0.5701, allocations: 15.06 kB / 0.523 GB, free: 20.22 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009069/0.571, allocations: 277.4 kB / 0.5233 GB, free: 20.19 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.014e-05/0.571, allocations: 19.38 kB / 0.5233 GB, free: 20.18 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004491/0.5714, allocations: 34.55 kB / 0.5233 GB, free: 20.17 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.483e-05/0.5715, allocations: 47.66 kB / 0.5234 GB, free: 20.16 MB / 446.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.0002488/0.5718, allocations: 238.6 kB / 0.5236 GB, free: 19.96 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.512e-05/0.5719, allocations: 64.27 kB / 0.5236 GB, free: 19.93 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001107/0.573, allocations: 0.6899 MB / 0.5243 GB, free: 19.62 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.404e-06/0.573, allocations: 10.81 kB / 0.5243 GB, free: 19.62 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.498e-06/0.573, allocations: 1.375 kB / 0.5243 GB, free: 19.62 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.353e-06/0.573, allocations: 3.422 kB / 0.5243 GB, free: 19.62 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000707/0.5737, allocations: 0.5815 MB / 0.5249 GB, free: 19.26 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.446e-06/0.5737, allocations: 1.156 kB / 0.5249 GB, free: 19.26 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007326/0.5744, allocations: 174.9 kB / 0.5251 GB, free: 19.25 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.33e-06/0.5744, allocations: 3.594 kB / 0.5251 GB, free: 19.25 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.893e-05/0.5745, allocations: 24.53 kB / 0.5251 GB, free: 19.23 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.319e-06/0.5745, allocations: 3.875 kB / 0.5251 GB, free: 19.23 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.745e-06/0.5745, allocations: 6.188 kB / 0.5251 GB, free: 19.23 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001166/0.5756, allocations: 0.9471 MB / 0.526 GB, free: 18.75 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000211/0.5759, allocations: 110.3 kB / 0.5261 GB, free: 18.69 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.287e-05/0.5759, allocations: 13.25 kB / 0.5262 GB, free: 18.68 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002668/0.5762, allocations: 16.56 kB / 0.5262 GB, free: 18.67 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.791e-05/0.5763, allocations: 58.56 kB / 0.5262 GB, free: 18.66 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.562e-05/0.5763, allocations: 26.59 kB / 0.5262 GB, free: 18.65 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0002777/0.5766, allocations: 317.2 kB / 0.5266 GB, free: 18.5 MB / 446.1 MB Notification: Performance of sort global known variables: time 8e-08/0.5766, allocations: 0 / 0.5266 GB, free: 18.5 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001278/0.5779, allocations: 491.2 kB / 0.527 GB, free: 18.38 MB / 446.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.0007965/0.5787, allocations: 0.5979 MB / 0.5276 GB, free: 18.09 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0007517/0.5794, allocations: 0.5727 MB / 0.5282 GB, free: 17.89 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.5794, allocations: 1.938 kB / 0.5282 GB, free: 17.89 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002889/0.5797, allocations: 265.1 kB / 0.5284 GB, free: 17.81 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007208/0.5804, allocations: 158.4 kB / 0.5286 GB, free: 17.75 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001788/0.5822, allocations: 1.531 MB / 0.5301 GB, free: 16.89 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002272/0.5825, allocations: 363.6 kB / 0.5304 GB, free: 16.77 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0004368/0.5829, allocations: 166.7 kB / 0.5306 GB, free: 16.71 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001716/0.5831, allocations: 101.9 kB / 0.5307 GB, free: 16.69 MB / 446.1 MB Notification: Performance of SimCode: time 4.71e-07/0.5831, allocations: 0 / 0.5307 GB, free: 16.69 MB / 446.1 MB Notification: Performance of Templates: time 0.02137/0.6044, allocations: 14.19 MB / 0.5445 GB, free: 9.957 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 ida -lv LOG_STATS > Chemical_Chemical.Obsolete.Examples.SimpleReaction2.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.136974477907643] Failed to read output from testmodel.py, exit status != 0: 0.6127906329929829 0.62260841 0.07429050300000001 Calling exit ...