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.001345/0.001345, allocations: 104.3 kB / 19.7 MB, free: 2.008 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.001671/0.001671, allocations: 212.3 kB / 22.99 MB, free: 4.41 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.506/1.506, allocations: 230.6 MB / 256.8 MB, free: 7.789 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.1585/0.1585, allocations: 23.92 MB / 337.1 MB, free: 10.91 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.002018/0.002018, allocations: 71.89 kB / 472.4 MB, free: 6.953 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4466/0.4486, allocations: 59.88 MB / 0.5198 GB, free: 9.711 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.07202/0.5207, allocations: 25.44 MB / 0.5447 GB, free: 14.09 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.01668/0.5373, allocations: 10.26 MB / 0.5547 GB, free: 4.754 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001014/0.5383, allocations: 15.88 kB / 0.5547 GB, free: 4.738 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008839/0.5392, allocations: 241.4 kB / 0.5549 GB, free: 4.559 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003353/0.5426, allocations: 0.9942 MB / 0.5559 GB, free: 3.715 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005147/0.5477, allocations: 1.536 MB / 0.5574 GB, free: 2.449 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.002416/0.5501, allocations: 1.255 MB / 0.5586 GB, free: 1.32 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009679/0.5511, allocations: 0.5692 MB / 0.5592 GB, free: 0.8633 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008914/0.552, allocations: 0.6192 MB / 0.5598 GB, free: 316 kB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001175/0.5532, allocations: 0.6717 MB / 0.5604 GB, free: 15.77 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001939/0.5534, allocations: 112 kB / 0.5606 GB, free: 15.66 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004779/0.5582, allocations: 1.251 MB / 0.5618 GB, free: 14.54 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003883/0.5585, allocations: 266.8 kB / 0.562 GB, free: 14.32 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006913/0.5592, allocations: 475.3 kB / 0.5625 GB, free: 13.9 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006928/0.5662, allocations: 2.582 MB / 0.565 GB, free: 11.54 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.759e-06/0.5662, allocations: 0 / 0.565 GB, free: 11.54 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.243e-06/0.5662, allocations: 0 / 0.565 GB, free: 11.54 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.458e-05/0.5662, allocations: 3.938 kB / 0.565 GB, free: 11.53 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.003149/0.5693, allocations: 1.442 MB / 0.5664 GB, free: 10.05 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 9.819e-05/0.5694, allocations: 8.031 kB / 0.5664 GB, free: 10.05 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009423/0.5704, allocations: 223.9 kB / 0.5666 GB, free: 9.828 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001003/0.5714, allocations: 0.5193 MB / 0.5671 GB, free: 9.281 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001365/0.5715, allocations: 118 kB / 0.5673 GB, free: 9.152 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000211/0.5717, allocations: 92.38 kB / 0.5673 GB, free: 9.062 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001862/0.5736, allocations: 1.053 MB / 0.5684 GB, free: 7.992 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.341e-05/0.5736, allocations: 0 / 0.5684 GB, free: 7.992 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.308e-05/0.5737, allocations: 36 kB / 0.5684 GB, free: 7.957 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.246e-05/0.5737, allocations: 20 kB / 0.5684 GB, free: 7.938 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002073/0.5758, allocations: 1.261 MB / 0.5697 GB, free: 6.676 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.005866/0.5817, allocations: 2.709 MB / 0.5723 GB, free: 3.891 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00238/0.584, allocations: 1.231 MB / 0.5735 GB, free: 2.652 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006719/0.5847, allocations: 395.7 kB / 0.5739 GB, free: 2.262 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004669/0.5894, allocations: 2.084 MB / 0.5759 GB, free: 160 kB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.56e-05/0.5894, allocations: 39.06 kB / 0.576 GB, free: 108 kB / 414.1 MB Notification: Performance of pre-optimization done (n=56): time 2.284e-06/0.5894, allocations: 0 / 0.576 GB, free: 108 kB / 414.1 MB Notification: Performance of matching and sorting (n=63): time 0.003477/0.5929, allocations: 1.592 MB / 0.5775 GB, free: 14.48 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.576e-05/0.593, allocations: 60 kB / 0.5776 GB, free: 14.41 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006372/0.5936, allocations: 0.5025 MB / 0.5781 GB, free: 13.9 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 4.654e-05/0.5936, allocations: 41.7 kB / 0.5781 GB, free: 13.85 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003463/0.594, allocations: 475.7 kB / 0.5786 GB, free: 13.38 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002027/0.5942, allocations: 230 kB / 0.5788 GB, free: 13.15 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000233/0.5944, allocations: 174.6 kB / 0.5789 GB, free: 12.98 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001986/0.5946, allocations: 378.7 kB / 0.5793 GB, free: 12.6 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003873/0.595, allocations: 213.8 kB / 0.5795 GB, free: 12.39 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007288/0.5957, allocations: 0.5296 MB / 0.58 GB, free: 11.71 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001245/0.597, allocations: 0.8143 MB / 0.5808 GB, free: 10.75 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.935e-06/0.597, allocations: 4 kB / 0.5808 GB, free: 10.74 MB / 430.1 MB Notification: Performance of matching and sorting (n=115) (initialization): time 0.001482/0.5985, allocations: 0.856 MB / 0.5817 GB, free: 9.879 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.298e-05/0.5985, allocations: 8 kB / 0.5817 GB, free: 9.871 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.546e-05/0.5985, allocations: 12 kB / 0.5817 GB, free: 9.859 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.203e-05/0.5985, allocations: 23.92 kB / 0.5817 GB, free: 9.836 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009658/0.5995, allocations: 268.2 kB / 0.582 GB, free: 9.574 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.957e-05/0.5995, allocations: 23.92 kB / 0.582 GB, free: 9.551 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004058/0.5999, allocations: 32 kB / 0.582 GB, free: 9.52 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.097e-05/0.6, allocations: 51.98 kB / 0.5821 GB, free: 9.469 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.0003429/0.6004, allocations: 237.5 kB / 0.5823 GB, free: 9.227 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001075/0.6005, allocations: 63.58 kB / 0.5823 GB, free: 9.164 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001328/0.6018, allocations: 0.6872 MB / 0.583 GB, free: 8.469 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.673e-05/0.6018, allocations: 7.938 kB / 0.583 GB, free: 8.461 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.15e-06/0.6018, allocations: 3.938 kB / 0.583 GB, free: 8.457 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.117e-06/0.6018, allocations: 3.984 kB / 0.583 GB, free: 8.453 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008867/0.6027, allocations: 0.5729 MB / 0.5836 GB, free: 7.832 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.336e-06/0.6027, allocations: 4.125 kB / 0.5836 GB, free: 7.828 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000746/0.6035, allocations: 175.8 kB / 0.5838 GB, free: 7.656 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.544e-06/0.6035, allocations: 4 kB / 0.5838 GB, free: 7.652 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.927e-05/0.6035, allocations: 20 kB / 0.5838 GB, free: 7.633 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.12e-06/0.6035, allocations: 4 kB / 0.5838 GB, free: 7.629 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.406e-06/0.6035, allocations: 7.875 kB / 0.5838 GB, free: 7.621 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001595/0.6051, allocations: 0.9568 MB / 0.5847 GB, free: 6.637 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002686/0.6054, allocations: 107.6 kB / 0.5848 GB, free: 6.531 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.91e-05/0.6055, allocations: 16 kB / 0.5848 GB, free: 6.516 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002571/0.6057, allocations: 15.98 kB / 0.5849 GB, free: 6.5 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000108/0.6058, allocations: 52.52 kB / 0.5849 GB, free: 6.449 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.591e-05/0.6059, allocations: 27.98 kB / 0.5849 GB, free: 6.422 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0003933/0.6063, allocations: 318.9 kB / 0.5852 GB, free: 6.113 MB / 430.1 MB Notification: Performance of sort global known variables: time 1e-07/0.6063, allocations: 0 / 0.5852 GB, free: 6.113 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.001536/0.6078, allocations: 478.7 kB / 0.5857 GB, free: 5.645 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.001186/0.609, allocations: 0.6066 MB / 0.5863 GB, free: 5.023 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.001075/0.6101, allocations: 0.5701 MB / 0.5868 GB, free: 4.453 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.465e-06/0.6101, allocations: 0 / 0.5868 GB, free: 4.453 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000419/0.6105, allocations: 267.8 kB / 0.5871 GB, free: 4.195 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008451/0.6114, allocations: 157.6 kB / 0.5873 GB, free: 4.047 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002669/0.614, allocations: 1.549 MB / 0.5888 GB, free: 2.449 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004168/0.6144, allocations: 369.4 kB / 0.5891 GB, free: 2.062 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003014/0.6147, allocations: 127.4 kB / 0.5892 GB, free: 1.938 MB / 430.1 MB Notification: Performance of SimCode: time 4.61e-07/0.6147, allocations: 0 / 0.5892 GB, free: 1.938 MB / 430.1 MB Notification: Performance of Templates: time 0.02143/0.6362, allocations: 13.05 MB / 0.602 GB, free: 4.926 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 -lv LOG_STATS > Chemical_master_Chemical.Obsolete.Examples.SimpleReaction2.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 8.8544185939827] Failed to read output from testmodel.py, exit status != 0: 0.6450827840017155 0.6631891280000001 0.092266863 Calling exit ...