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.001536/0.001536, allocations: 96.42 kB / 19.7 MB, free: 2.133 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.001685/0.001685, allocations: 210.8 kB / 22.99 MB, free: 4.957 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.462/1.462, allocations: 230.6 MB / 256.8 MB, free: 7.797 MB / 206.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.1505/0.1505, allocations: 23.92 MB / 337.1 MB, free: 10.95 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.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: 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.002159/0.002159, allocations: 72.12 kB / 472.4 MB, free: 6.988 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4404/0.4425, allocations: 59.88 MB / 0.5198 GB, free: 9.773 MB / 382.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.SimpleReaction2): time 0.07474/0.5173, allocations: 25.35 MB / 0.5446 GB, free: 14.19 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.01616/0.5334, allocations: 10.25 MB / 0.5546 GB, free: 4.859 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001081/0.5345, allocations: 23.81 kB / 0.5546 GB, free: 4.836 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008491/0.5354, allocations: 232.3 kB / 0.5548 GB, free: 4.664 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00386/0.5392, allocations: 0.9978 MB / 0.5558 GB, free: 3.816 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005441/0.5447, allocations: 1.537 MB / 0.5573 GB, free: 2.551 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.002426/0.5471, allocations: 1.259 MB / 0.5585 GB, free: 1.418 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000969/0.5481, allocations: 0.5689 MB / 0.5591 GB, free: 0.9609 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007834/0.5488, allocations: 0.6237 MB / 0.5597 GB, free: 412 kB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001049/0.5499, allocations: 0.6751 MB / 0.5604 GB, free: 15.85 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001787/0.5501, allocations: 108 kB / 0.5605 GB, free: 15.75 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005551/0.5556, allocations: 1.251 MB / 0.5617 GB, free: 14.63 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004221/0.556, allocations: 258.9 kB / 0.5619 GB, free: 14.42 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006779/0.5567, allocations: 471.7 kB / 0.5624 GB, free: 14 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006806/0.5635, allocations: 2.582 MB / 0.5649 GB, free: 11.61 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.52e-06/0.5635, allocations: 0 / 0.5649 GB, free: 11.61 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.352e-06/0.5635, allocations: 4 kB / 0.5649 GB, free: 11.61 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.417e-05/0.5635, allocations: 0 / 0.5649 GB, free: 11.61 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.003274/0.5668, allocations: 1.45 MB / 0.5663 GB, free: 10.12 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.594e-05/0.5669, allocations: 8.031 kB / 0.5663 GB, free: 10.12 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001097/0.568, allocations: 215.9 kB / 0.5665 GB, free: 9.906 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001073/0.569, allocations: 0.5232 MB / 0.5671 GB, free: 9.355 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002042/0.5692, allocations: 121.9 kB / 0.5672 GB, free: 9.223 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001849/0.5694, allocations: 96.31 kB / 0.5673 GB, free: 9.129 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002164/0.5716, allocations: 1.049 MB / 0.5683 GB, free: 8.062 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.315e-05/0.5716, allocations: 0 / 0.5683 GB, free: 8.062 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.65e-05/0.5717, allocations: 36 kB / 0.5683 GB, free: 8.027 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.802e-05/0.5717, allocations: 27.98 kB / 0.5683 GB, free: 8 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002113/0.5739, allocations: 1.261 MB / 0.5696 GB, free: 6.738 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.005622/0.5795, allocations: 2.698 MB / 0.5722 GB, free: 3.965 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002444/0.5819, allocations: 1.234 MB / 0.5734 GB, free: 2.727 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006546/0.5826, allocations: 395.6 kB / 0.5738 GB, free: 2.336 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004923/0.5875, allocations: 2.092 MB / 0.5758 GB, free: 228 kB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.655e-05/0.5875, allocations: 39.06 kB / 0.5759 GB, free: 176 kB / 414.1 MB Notification: Performance of pre-optimization done (n=56): time 2.124e-06/0.5875, allocations: 3.938 kB / 0.5759 GB, free: 172 kB / 414.1 MB Notification: Performance of matching and sorting (n=63): time 0.003498/0.591, allocations: 1.592 MB / 0.5774 GB, free: 14.55 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.453e-05/0.5911, allocations: 60 kB / 0.5775 GB, free: 14.47 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005897/0.5917, allocations: 0.5025 MB / 0.578 GB, free: 13.96 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 4.947e-05/0.5917, allocations: 37.7 kB / 0.578 GB, free: 13.92 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003503/0.5921, allocations: 475.7 kB / 0.5785 GB, free: 13.45 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000202/0.5923, allocations: 234 kB / 0.5787 GB, free: 13.21 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002398/0.5925, allocations: 174.6 kB / 0.5789 GB, free: 13.04 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0002251/0.5927, allocations: 374.8 kB / 0.5792 GB, free: 12.66 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004144/0.5932, allocations: 209.9 kB / 0.5794 GB, free: 12.46 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006999/0.5939, allocations: 0.5257 MB / 0.5799 GB, free: 11.79 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001176/0.595, allocations: 0.8182 MB / 0.5807 GB, free: 10.82 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.931e-06/0.595, allocations: 4 kB / 0.5807 GB, free: 10.81 MB / 430.1 MB Notification: Performance of matching and sorting (n=115) (initialization): time 0.001427/0.5965, allocations: 0.8564 MB / 0.5816 GB, free: 9.949 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.292e-05/0.5965, allocations: 12.22 kB / 0.5816 GB, free: 9.938 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.454e-05/0.5965, allocations: 12 kB / 0.5816 GB, free: 9.926 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.165e-05/0.5965, allocations: 16 kB / 0.5816 GB, free: 9.91 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001014/0.5976, allocations: 271.5 kB / 0.5819 GB, free: 9.645 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.765e-05/0.5976, allocations: 23.92 kB / 0.5819 GB, free: 9.621 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004186/0.598, allocations: 24 kB / 0.5819 GB, free: 9.598 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.434e-05/0.5981, allocations: 51.98 kB / 0.582 GB, free: 9.547 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.0003477/0.5984, allocations: 241.5 kB / 0.5822 GB, free: 9.301 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002047/0.5986, allocations: 67.56 kB / 0.5823 GB, free: 9.234 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001389/0.6, allocations: 0.6793 MB / 0.5829 GB, free: 8.547 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.909e-06/0.6, allocations: 15.88 kB / 0.5829 GB, free: 8.531 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.39e-06/0.6, allocations: 4 kB / 0.5829 GB, free: 8.527 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.748e-06/0.6001, allocations: 3.984 kB / 0.5829 GB, free: 8.523 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009508/0.601, allocations: 0.5768 MB / 0.5835 GB, free: 7.898 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.356e-06/0.601, allocations: 3.938 kB / 0.5835 GB, free: 7.895 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007657/0.6018, allocations: 167.8 kB / 0.5837 GB, free: 7.73 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.927e-06/0.6018, allocations: 12.11 kB / 0.5837 GB, free: 7.719 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.508e-05/0.6018, allocations: 20 kB / 0.5837 GB, free: 7.699 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.033e-06/0.6018, allocations: 7.938 kB / 0.5837 GB, free: 7.691 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.521e-06/0.6018, allocations: 3.938 kB / 0.5837 GB, free: 7.688 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00157/0.6034, allocations: 0.9491 MB / 0.5846 GB, free: 6.711 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002672/0.6037, allocations: 107.6 kB / 0.5847 GB, free: 6.605 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.613e-05/0.6038, allocations: 12 kB / 0.5848 GB, free: 6.594 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002738/0.604, allocations: 16 kB / 0.5848 GB, free: 6.578 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001269/0.6042, allocations: 64.38 kB / 0.5848 GB, free: 6.516 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.485e-05/0.6042, allocations: 31.98 kB / 0.5849 GB, free: 6.484 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0003967/0.6046, allocations: 318.9 kB / 0.5852 GB, free: 6.176 MB / 430.1 MB Notification: Performance of sort global known variables: time 9e-08/0.6046, allocations: 0 / 0.5852 GB, free: 6.176 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.001624/0.6063, allocations: 482.6 kB / 0.5856 GB, free: 5.703 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.001369/0.6076, allocations: 0.6027 MB / 0.5862 GB, free: 5.086 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.001128/0.6088, allocations: 0.5732 MB / 0.5868 GB, free: 4.512 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.305e-06/0.6088, allocations: 0 / 0.5868 GB, free: 4.512 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004145/0.6092, allocations: 263.6 kB / 0.587 GB, free: 4.258 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008074/0.61, allocations: 147.5 kB / 0.5872 GB, free: 4.117 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002708/0.6127, allocations: 1.524 MB / 0.5887 GB, free: 2.551 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005217/0.6132, allocations: 361.4 kB / 0.589 GB, free: 2.172 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0005523/0.6138, allocations: 169.2 kB / 0.5892 GB, free: 2.004 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002419/0.614, allocations: 103.4 kB / 0.5893 GB, free: 1.902 MB / 430.1 MB Notification: Performance of SimCode: time 9.92e-07/0.614, allocations: 0 / 0.5893 GB, free: 1.902 MB / 430.1 MB Notification: Performance of Templates: time 0.0281/0.6421, allocations: 15.58 MB / 0.6045 GB, free: 2.449 MB / 446.1 MB " [Timeout remaining time 659] 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 -s cvode -lv LOG_STATS > Chemical_master_Chemical.Obsolete.Examples.SimpleReaction2.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.595717051997781] Failed to read output from testmodel.py, exit status != 0: 0.6523226860008435 0.667640155 0.100836382 Calling exit ...