Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Chemical_master_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.001112/0.001112, allocations: 76.55 kB / 19.93 MB, free: 4.633 MB / 18.57 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.00135/0.00135, allocations: 181.9 kB / 23.22 MB, free: 1.348 MB / 18.57 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 0.878/0.878, allocations: 177.1 MB / 203.5 MB, free: 5.734 MB / 186.7 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.08691/0.08691, allocations: 17.45 MB / 277.4 MB, free: 11.75 MB / 266.7 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.SimpleReaction2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Chemical_master_Chemical.Obsolete.Examples.SimpleReaction2") translateModel(Chemical.Obsolete.Examples.SimpleReaction2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Chemical_master_Chemical.Obsolete.Examples.SimpleReaction2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.873e-06/1.873e-06, allocations: 0 / 412.8 MB, free: 12.44 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.511e-05/2.698e-05, allocations: 2.281 kB / 412.8 MB, free: 12.44 MB / 330.7 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.SimpleReaction2): time 0.02171/0.02173, allocations: 25.77 MB / 438.6 MB, free: 13.93 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.009314/0.03105, allocations: 10.26 MB / 448.9 MB, free: 4.602 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004048/0.03145, allocations: 19.81 kB / 448.9 MB, free: 4.582 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005054/0.03196, allocations: 240.9 kB / 449.1 MB, free: 4.402 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001801/0.03376, allocations: 1.037 MB / 450.2 MB, free: 3.516 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002544/0.0363, allocations: 1.574 MB / 451.7 MB, free: 2.211 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.001236/0.03754, allocations: 1.302 MB / 453 MB, free: 1.031 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005835/0.03812, allocations: 0.5648 MB / 453.6 MB, free: 0.582 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007874/0.03891, allocations: 0.8575 MB / 454.5 MB, free: 15.81 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006411/0.03955, allocations: 0.5417 MB / 455 MB, free: 15.27 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001227/0.03967, allocations: 104 kB / 455.1 MB, free: 15.17 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002313/0.04198, allocations: 1.228 MB / 456.3 MB, free: 13.94 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002048/0.04219, allocations: 263.1 kB / 456.6 MB, free: 13.68 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003444/0.04253, allocations: 415.1 kB / 457 MB, free: 13.28 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003051/0.04558, allocations: 2.728 MB / 459.7 MB, free: 10.54 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.98e-06/0.04559, allocations: 7.922 kB / 459.7 MB, free: 10.53 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.553e-06/0.04559, allocations: 0 / 459.7 MB, free: 10.53 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.918e-05/0.04561, allocations: 0 / 459.7 MB, free: 10.53 MB / 362.7 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.002119/0.04773, allocations: 1.438 MB / 461.2 MB, free: 9.055 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.073e-05/0.04777, allocations: 8.031 kB / 461.2 MB, free: 9.047 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005192/0.04829, allocations: 215.9 kB / 461.4 MB, free: 8.836 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005913/0.04888, allocations: 0.5186 MB / 461.9 MB, free: 8.289 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.316e-05/0.04896, allocations: 118 kB / 462 MB, free: 8.164 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000107/0.04907, allocations: 96.27 kB / 462.1 MB, free: 8.07 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00103/0.0501, allocations: 1.057 MB / 463.2 MB, free: 6.992 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.561e-05/0.05012, allocations: 192 / 463.2 MB, free: 6.992 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.538e-05/0.05017, allocations: 36.12 kB / 463.2 MB, free: 6.957 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.147e-05/0.05018, allocations: 20 kB / 463.2 MB, free: 6.938 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001542/0.05173, allocations: 1.261 MB / 464.5 MB, free: 5.68 MB / 362.7 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.002824/0.05455, allocations: 2.695 MB / 467.2 MB, free: 2.914 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001641/0.05619, allocations: 1.255 MB / 468.4 MB, free: 1.652 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003779/0.05657, allocations: 399.6 kB / 468.8 MB, free: 1.254 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002331/0.0589, allocations: 2.069 MB / 470.9 MB, free: 15.16 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.929e-05/0.05892, allocations: 39.06 kB / 470.9 MB, free: 15.12 MB / 378.7 MB Notification: Performance of pre-optimization done (n=56): time 1.393e-06/0.05892, allocations: 0 / 470.9 MB, free: 15.12 MB / 378.7 MB Notification: Performance of matching and sorting (n=63): time 0.002117/0.06104, allocations: 1.596 MB / 472.5 MB, free: 13.49 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.543e-05/0.06107, allocations: 60 kB / 472.6 MB, free: 13.42 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003395/0.06141, allocations: 0.5025 MB / 473.1 MB, free: 12.91 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.655e-05/0.06144, allocations: 37.7 kB / 473.1 MB, free: 12.87 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000182/0.06162, allocations: 467.8 kB / 473.6 MB, free: 12.4 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001116/0.06173, allocations: 238 kB / 473.8 MB, free: 12.17 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001337/0.06186, allocations: 178.6 kB / 474 MB, free: 11.99 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.000106/0.06197, allocations: 374.7 kB / 474.4 MB, free: 11.61 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002346/0.06221, allocations: 209.9 kB / 474.6 MB, free: 11.41 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003518/0.06256, allocations: 0.5337 MB / 475.1 MB, free: 10.73 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006541/0.06321, allocations: 0.8182 MB / 475.9 MB, free: 9.754 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.915e-06/0.06321, allocations: 0 / 475.9 MB, free: 9.754 MB / 378.7 MB Notification: Performance of matching and sorting (n=115) (initialization): time 0.0007947/0.06401, allocations: 0.8525 MB / 476.8 MB, free: 8.895 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.7e-05/0.06403, allocations: 8 kB / 476.8 MB, free: 8.887 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.012e-05/0.06404, allocations: 12 kB / 476.8 MB, free: 8.875 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.032e-05/0.06406, allocations: 16 kB / 476.8 MB, free: 8.859 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004713/0.06453, allocations: 267.9 kB / 477.1 MB, free: 8.598 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.532e-05/0.06454, allocations: 27.92 kB / 477.1 MB, free: 8.57 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001948/0.06474, allocations: 27.94 kB / 477.1 MB, free: 8.543 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.737e-05/0.06479, allocations: 48 kB / 477.2 MB, free: 8.496 MB / 378.7 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.0002004/0.06499, allocations: 237.5 kB / 477.4 MB, free: 8.254 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.86e-05/0.06504, allocations: 67.58 kB / 477.5 MB, free: 8.188 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007454/0.06579, allocations: 0.6949 MB / 478.2 MB, free: 7.477 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.69e-06/0.0658, allocations: 8 kB / 478.2 MB, free: 7.469 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.308e-06/0.0658, allocations: 0 / 478.2 MB, free: 7.469 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.662e-06/0.06581, allocations: 3.984 kB / 478.2 MB, free: 7.465 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007241/0.06653, allocations: 0.5728 MB / 478.7 MB, free: 6.844 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.605e-06/0.06653, allocations: 0 / 478.7 MB, free: 6.844 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003718/0.0669, allocations: 175.9 kB / 478.9 MB, free: 6.672 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.39e-06/0.06691, allocations: 7.984 kB / 478.9 MB, free: 6.664 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.733e-05/0.06694, allocations: 27.98 kB / 479 MB, free: 6.637 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.356e-06/0.06694, allocations: 4 kB / 479 MB, free: 6.633 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.06694, allocations: 0 / 479 MB, free: 6.633 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008451/0.06779, allocations: 0.9529 MB / 479.9 MB, free: 5.652 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001384/0.06793, allocations: 107.5 kB / 480 MB, free: 5.547 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.479e-05/0.06797, allocations: 16 kB / 480 MB, free: 5.531 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001338/0.0681, allocations: 20 kB / 480.1 MB, free: 5.512 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.223e-05/0.06818, allocations: 56.5 kB / 480.1 MB, free: 5.457 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.737e-05/0.0682, allocations: 31.94 kB / 480.1 MB, free: 5.426 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0002121/0.06842, allocations: 318.9 kB / 480.5 MB, free: 5.117 MB / 378.7 MB Notification: Performance of sort global known variables: time 6e-08/0.06842, allocations: 0 / 480.5 MB, free: 5.117 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0009231/0.06934, allocations: 482.6 kB / 480.9 MB, free: 4.645 MB / 378.7 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.0007281/0.07007, allocations: 0.6261 MB / 481.5 MB, free: 4.008 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0005777/0.07064, allocations: 0.5663 MB / 482.1 MB, free: 3.445 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.944e-06/0.07065, allocations: 0 / 482.1 MB, free: 3.445 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002381/0.07088, allocations: 263.6 kB / 482.4 MB, free: 3.188 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000465/0.07135, allocations: 154.4 kB / 482.5 MB, free: 3.039 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001424/0.07277, allocations: 1.461 MB / 484 MB, free: 1.523 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002152/0.07299, allocations: 369.4 kB / 484.3 MB, free: 1.137 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000175/0.07316, allocations: 124.4 kB / 484.5 MB, free: 1.016 MB / 378.7 MB Notification: Performance of SimCode: time 6.11e-07/0.07316, allocations: 0 / 484.5 MB, free: 1.016 MB / 378.7 MB Notification: Performance of Templates: time 0.01026/0.08342, allocations: 13.13 MB / 497.6 MB, free: 3.926 MB / 394.7 MB " [Timeout remaining time 660] make -j1 -f Chemical_master_Chemical.Obsolete.Examples.SimpleReaction2.makefile [Timeout 660] (rm -f Chemical_master_Chemical.Obsolete.Examples.SimpleReaction2.pipe ; mkfifo Chemical_master_Chemical.Obsolete.Examples.SimpleReaction2.pipe ; head -c 1048576 < Chemical_master_Chemical.Obsolete.Examples.SimpleReaction2.pipe >> ../files/Chemical_master_Chemical.Obsolete.Examples.SimpleReaction2.sim & ./Chemical_master_Chemical.Obsolete.Examples.SimpleReaction2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > Chemical_master_Chemical.Obsolete.Examples.SimpleReaction2.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.24908331502229] Failed to read output from testmodel.py, exit status != 0: 0.24379274807870388 0.096110024 0.048973519 Calling exit ...