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.001465/0.001465, allocations: 80.44 kB / 19.18 MB, free: 2.531 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.001675/0.001675, allocations: 171.2 kB / 22.46 MB, free: 5.355 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.458/1.458, allocations: 177.1 MB / 202.8 MB, free: 9.168 MB / 190.1 MB " [Timeout remaining time 178] 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.1405/0.1405, allocations: 17.45 MB / 276.6 MB, free: 15.21 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: Performance of FrontEnd - loaded program: time 2.054e-06/2.054e-06, allocations: 0 / 412.1 MB, free: 4.285 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.81e-05/3.016e-05, allocations: 2.281 kB / 412.1 MB, free: 4.281 MB / 334.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.03972/0.03975, allocations: 25.12 MB / 437.2 MB, free: 11.3 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.01104/0.05079, allocations: 7.059 MB / 444.3 MB, free: 4.211 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006558/0.05145, allocations: 19.88 kB / 444.3 MB, free: 4.191 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008014/0.05225, allocations: 170.5 kB / 444.5 MB, free: 4.023 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002399/0.05465, allocations: 0.7249 MB / 445.2 MB, free: 3.293 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003168/0.05781, allocations: 1.076 MB / 446.3 MB, free: 2.211 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.001675/0.05949, allocations: 0.97 MB / 447.2 MB, free: 1.234 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000821/0.06031, allocations: 426.4 kB / 447.6 MB, free: 0.8125 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001165/0.06147, allocations: 0.6278 MB / 448.3 MB, free: 188 kB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.2076/0.2691, allocations: 407.5 kB / 448.7 MB, free: 32.94 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003377/0.2694, allocations: 78.81 kB / 448.7 MB, free: 32.94 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003506/0.2729, allocations: 0.8266 MB / 449.6 MB, free: 32.94 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002977/0.2732, allocations: 195.8 kB / 449.8 MB, free: 32.94 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006786/0.2739, allocations: 301.6 kB / 450.1 MB, free: 32.94 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006943/0.2808, allocations: 1.918 MB / 452 MB, free: 32.85 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.556e-06/0.2809, allocations: 1.031 kB / 452 MB, free: 32.85 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.274e-06/0.2809, allocations: 0 / 452 MB, free: 32.85 MB / 366.1 MB Notification: Performance of Transformations before backend: time 3.05e-05/0.2809, allocations: 0 / 452 MB, free: 32.85 MB / 366.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.002707/0.2836, allocations: 1.109 MB / 453.1 MB, free: 32.25 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.629e-05/0.2836, allocations: 8.844 kB / 453.1 MB, free: 32.25 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007223/0.2844, allocations: 156.8 kB / 453.2 MB, free: 32.2 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007979/0.2852, allocations: 429.8 kB / 453.7 MB, free: 32.01 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001053/0.2853, allocations: 106 kB / 453.8 MB, free: 31.95 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001336/0.2854, allocations: 72.23 kB / 453.8 MB, free: 31.94 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001374/0.2868, allocations: 0.7711 MB / 454.6 MB, free: 31.86 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.225e-05/0.2868, allocations: 2.641 kB / 454.6 MB, free: 31.86 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.37e-05/0.2869, allocations: 30.59 kB / 454.6 MB, free: 31.86 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.877e-05/0.2869, allocations: 20.44 kB / 454.7 MB, free: 31.86 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00146/0.2884, allocations: 0.866 MB / 455.5 MB, free: 31.85 MB / 366.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.003789/0.2921, allocations: 1.983 MB / 457.5 MB, free: 30.93 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001475/0.2936, allocations: 0.8066 MB / 458.3 MB, free: 30.64 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005217/0.2941, allocations: 280.2 kB / 458.6 MB, free: 30.52 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003337/0.2975, allocations: 1.516 MB / 460.1 MB, free: 29.85 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.829e-05/0.2975, allocations: 36.64 kB / 460.1 MB, free: 29.8 MB / 366.1 MB Notification: Performance of pre-optimization done (n=41): time 1.713e-06/0.2975, allocations: 0 / 460.1 MB, free: 29.8 MB / 366.1 MB Notification: Performance of matching and sorting (n=46): time 0.002413/0.2999, allocations: 1.161 MB / 461.3 MB, free: 29.21 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.896e-05/0.2999, allocations: 58.78 kB / 461.4 MB, free: 29.15 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000459/0.3004, allocations: 402.1 kB / 461.8 MB, free: 28.94 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.058e-05/0.3004, allocations: 37.45 kB / 461.8 MB, free: 28.9 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001844/0.3006, allocations: 374 kB / 462.2 MB, free: 28.61 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.801e-05/0.3007, allocations: 169.5 kB / 462.3 MB, free: 28.48 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001691/0.3009, allocations: 127.1 kB / 462.4 MB, free: 28.41 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 9.793e-05/0.301, allocations: 360.1 kB / 462.8 MB, free: 28.07 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002963/0.3013, allocations: 149.2 kB / 462.9 MB, free: 28.02 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004073/0.3017, allocations: 390 kB / 463.3 MB, free: 27.68 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007145/0.3024, allocations: 0.5864 MB / 463.9 MB, free: 27.25 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.118e-06/0.3024, allocations: 1.625 kB / 463.9 MB, free: 27.25 MB / 366.1 MB Notification: Performance of matching and sorting (n=83) (initialization): time 0.001003/0.3034, allocations: 0.6157 MB / 464.5 MB, free: 27.04 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.779e-05/0.3034, allocations: 10.44 kB / 464.5 MB, free: 27.04 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.461e-05/0.3034, allocations: 8.125 kB / 464.5 MB, free: 27.04 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.833e-05/0.3035, allocations: 15.05 kB / 464.6 MB, free: 27.04 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007736/0.3042, allocations: 202.8 kB / 464.8 MB, free: 27.03 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.334e-05/0.3043, allocations: 20.34 kB / 464.8 MB, free: 27.03 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000334/0.3046, allocations: 22.19 kB / 464.8 MB, free: 27.02 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.964e-05/0.3047, allocations: 37.8 kB / 464.8 MB, free: 27.01 MB / 366.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.0002419/0.3049, allocations: 211.4 kB / 465 MB, free: 26.84 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.057e-05/0.305, allocations: 49.67 kB / 465.1 MB, free: 26.82 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001068/0.3061, allocations: 496.9 kB / 465.6 MB, free: 26.62 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.983e-06/0.3061, allocations: 6.719 kB / 465.6 MB, free: 26.62 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.941e-06/0.3061, allocations: 0 / 465.6 MB, free: 26.62 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.887e-06/0.3061, allocations: 4.719 kB / 465.6 MB, free: 26.62 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007357/0.3068, allocations: 491 kB / 466.1 MB, free: 26.33 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.948e-06/0.3068, allocations: 1.344 kB / 466.1 MB, free: 26.33 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006143/0.3074, allocations: 146.3 kB / 466.2 MB, free: 26.32 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.274e-06/0.3075, allocations: 3.031 kB / 466.2 MB, free: 26.32 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.842e-05/0.3075, allocations: 15.19 kB / 466.2 MB, free: 26.32 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.152e-06/0.3075, allocations: 3.656 kB / 466.2 MB, free: 26.32 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.494e-06/0.3075, allocations: 3.281 kB / 466.2 MB, free: 26.32 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001047/0.3085, allocations: 0.7299 MB / 467 MB, free: 25.92 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001678/0.3087, allocations: 81.12 kB / 467 MB, free: 25.88 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.68e-05/0.3088, allocations: 19.78 kB / 467.1 MB, free: 25.87 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002158/0.309, allocations: 7.125 kB / 467.1 MB, free: 25.86 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.485e-05/0.3091, allocations: 45.75 kB / 467.1 MB, free: 25.85 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.416e-05/0.3091, allocations: 17.55 kB / 467.1 MB, free: 25.85 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002307/0.3094, allocations: 262.5 kB / 467.4 MB, free: 25.71 MB / 366.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3094, allocations: 1.969 kB / 467.4 MB, free: 25.71 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.001212/0.3106, allocations: 329.7 kB / 467.7 MB, free: 25.64 MB / 366.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.0008959/0.3115, allocations: 460.1 kB / 468.2 MB, free: 25.47 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0006878/0.3122, allocations: 415.7 kB / 468.6 MB, free: 25.37 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.875e-06/0.3122, allocations: 4 kB / 468.6 MB, free: 25.37 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002904/0.3125, allocations: 188.8 kB / 468.8 MB, free: 25.32 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007529/0.3132, allocations: 124 kB / 468.9 MB, free: 25.29 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001782/0.315, allocations: 1.126 MB / 470 MB, free: 24.67 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002476/0.3152, allocations: 289.8 kB / 470.3 MB, free: 24.57 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.000351/0.3156, allocations: 115.3 kB / 470.4 MB, free: 24.56 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001616/0.3158, allocations: 75.2 kB / 470.5 MB, free: 24.55 MB / 366.1 MB Notification: Performance of SimCode: time 5.51e-07/0.3158, allocations: 2.656 kB / 470.5 MB, free: 24.55 MB / 366.1 MB Notification: Performance of Templates: time 0.01554/0.3313, allocations: 10.11 MB / 480.6 MB, free: 18.53 MB / 366.1 MB " [Timeout remaining time 660] 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 -lv LOG_STATS > Chemical_master_Chemical.Obsolete.Examples.SimpleReaction.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.194779504090548] Failed to read output from testmodel.py, exit status != 0: 0.33973877504467964 0.34939793599999996 0.065278559 Calling exit ...