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.00164/0.00164, allocations: 110.2 kB / 19.69 MB, free: 2.254 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.002068/0.002068, allocations: 207 kB / 23 MB, free: 4.57 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.56/1.56, allocations: 230.6 MB / 256.8 MB, free: 7.996 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.1753/0.1753, allocations: 23.9 MB / 337.1 MB, free: 11.15 MB / 270.1 MB " [Timeout remaining time 179] 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.002091/0.002091, allocations: 71.81 kB / 472.5 MB, free: 7.141 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4096/0.4117, allocations: 59.87 MB / 0.5199 GB, free: 9.816 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.04258/0.4543, allocations: 25.94 MB / 0.5452 GB, free: 13.81 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.01754/0.4719, allocations: 11.72 MB / 0.5566 GB, free: 3.012 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001222/0.4731, allocations: 19.81 kB / 0.5567 GB, free: 2.992 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009034/0.474, allocations: 254.9 kB / 0.5569 GB, free: 2.797 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003724/0.4777, allocations: 0.9981 MB / 0.5579 GB, free: 1.949 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005686/0.4834, allocations: 1.537 MB / 0.5594 GB, free: 0.6836 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.002503/0.4859, allocations: 1.255 MB / 0.5606 GB, free: 15.55 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009436/0.4868, allocations: 0.5655 MB / 0.5612 GB, free: 15.1 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008161/0.4877, allocations: 0.6266 MB / 0.5618 GB, free: 14.54 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0011/0.4888, allocations: 0.6746 MB / 0.5624 GB, free: 13.99 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001692/0.4889, allocations: 108 kB / 0.5625 GB, free: 13.89 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005246/0.4942, allocations: 1.301 MB / 0.5638 GB, free: 12.73 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003317/0.4945, allocations: 258.5 kB / 0.5641 GB, free: 12.52 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006876/0.4952, allocations: 0.5456 MB / 0.5646 GB, free: 12.02 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006477/0.5017, allocations: 2.593 MB / 0.5671 GB, free: 9.652 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.729e-06/0.5017, allocations: 4 kB / 0.5671 GB, free: 9.648 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.713e-06/0.5017, allocations: 0 / 0.5671 GB, free: 9.648 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.163e-05/0.5017, allocations: 0 / 0.5671 GB, free: 9.648 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.002903/0.5046, allocations: 1.454 MB / 0.5685 GB, free: 8.16 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.304e-05/0.5046, allocations: 8.031 kB / 0.5686 GB, free: 8.152 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009338/0.5056, allocations: 215.9 kB / 0.5688 GB, free: 7.941 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009885/0.5065, allocations: 0.5193 MB / 0.5693 GB, free: 7.395 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001464/0.5067, allocations: 118 kB / 0.5694 GB, free: 7.266 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001671/0.5069, allocations: 100.4 kB / 0.5695 GB, free: 7.168 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001754/0.5086, allocations: 1.049 MB / 0.5705 GB, free: 6.102 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.469e-05/0.5086, allocations: 0 / 0.5705 GB, free: 6.102 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.727e-05/0.5087, allocations: 36 kB / 0.5705 GB, free: 6.066 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.514e-05/0.5088, allocations: 24 kB / 0.5706 GB, free: 6.043 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002285/0.5111, allocations: 1.273 MB / 0.5718 GB, free: 4.77 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.007227/0.5183, allocations: 3.436 MB / 0.5752 GB, free: 1.152 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002887/0.5212, allocations: 1.27 MB / 0.5764 GB, free: 15.88 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007229/0.5219, allocations: 395.7 kB / 0.5768 GB, free: 15.49 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00503/0.5269, allocations: 2.197 MB / 0.5789 GB, free: 13.27 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.882e-05/0.527, allocations: 43.05 kB / 0.579 GB, free: 13.21 MB / 430.1 MB Notification: Performance of pre-optimization done (n=56): time 2.164e-06/0.527, allocations: 0 / 0.579 GB, free: 13.21 MB / 430.1 MB Notification: Performance of matching and sorting (n=63): time 0.003538/0.5305, allocations: 1.6 MB / 0.5805 GB, free: 11.59 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.858e-05/0.5306, allocations: 64.06 kB / 0.5806 GB, free: 11.51 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006489/0.5312, allocations: 0.5068 MB / 0.5811 GB, free: 10.99 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 4.699e-05/0.5313, allocations: 37.7 kB / 0.5811 GB, free: 10.95 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003724/0.5316, allocations: 475.7 kB / 0.5816 GB, free: 10.48 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002084/0.5319, allocations: 238 kB / 0.5818 GB, free: 10.24 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000242/0.5321, allocations: 170.6 kB / 0.582 GB, free: 10.07 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0002203/0.5323, allocations: 374.8 kB / 0.5823 GB, free: 9.695 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003897/0.5327, allocations: 213.9 kB / 0.5825 GB, free: 9.484 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000758/0.5335, allocations: 0.5296 MB / 0.583 GB, free: 8.809 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001279/0.5347, allocations: 0.8182 MB / 0.5838 GB, free: 7.84 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.791e-06/0.5347, allocations: 4 kB / 0.5838 GB, free: 7.836 MB / 430.1 MB Notification: Performance of matching and sorting (n=115) (initialization): time 0.001424/0.5362, allocations: 0.8518 MB / 0.5847 GB, free: 6.977 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.79e-05/0.5362, allocations: 8.938 kB / 0.5847 GB, free: 6.969 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.894e-05/0.5362, allocations: 12 kB / 0.5847 GB, free: 6.957 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.525e-05/0.5363, allocations: 23.88 kB / 0.5847 GB, free: 6.934 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001002/0.5373, allocations: 267.6 kB / 0.585 GB, free: 6.672 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.942e-05/0.5373, allocations: 23.92 kB / 0.585 GB, free: 6.648 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004584/0.5378, allocations: 32 kB / 0.585 GB, free: 6.617 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.667e-05/0.5378, allocations: 51.98 kB / 0.5851 GB, free: 6.566 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.0003916/0.5382, allocations: 230.1 kB / 0.5853 GB, free: 6.332 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001343/0.5384, allocations: 67.58 kB / 0.5854 GB, free: 6.266 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001421/0.5398, allocations: 0.6991 MB / 0.586 GB, free: 5.559 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.229e-05/0.5398, allocations: 8 kB / 0.586 GB, free: 5.551 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.275e-06/0.5398, allocations: 3.938 kB / 0.586 GB, free: 5.547 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.282e-05/0.5398, allocations: 7.984 kB / 0.5861 GB, free: 5.539 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001175/0.541, allocations: 0.7401 MB / 0.5868 GB, free: 4.738 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.416e-06/0.541, allocations: 0 / 0.5868 GB, free: 4.738 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007615/0.5418, allocations: 175.9 kB / 0.5869 GB, free: 4.566 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.796e-06/0.5418, allocations: 4 kB / 0.5869 GB, free: 4.562 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.408e-05/0.5418, allocations: 35.92 kB / 0.587 GB, free: 4.527 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.216e-06/0.5418, allocations: 4 kB / 0.587 GB, free: 4.523 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.378e-06/0.5418, allocations: 3.938 kB / 0.587 GB, free: 4.52 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001543/0.5434, allocations: 0.949 MB / 0.5879 GB, free: 3.543 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002968/0.5437, allocations: 119.5 kB / 0.588 GB, free: 3.426 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.126e-05/0.5438, allocations: 19.94 kB / 0.588 GB, free: 3.406 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002636/0.544, allocations: 12 kB / 0.5881 GB, free: 3.395 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001107/0.5441, allocations: 52.5 kB / 0.5881 GB, free: 3.344 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.922e-05/0.5442, allocations: 28 kB / 0.5881 GB, free: 3.316 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.00042/0.5446, allocations: 342.8 kB / 0.5885 GB, free: 2.984 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.5446, allocations: 4 kB / 0.5885 GB, free: 2.98 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.001621/0.5462, allocations: 494.6 kB / 0.5889 GB, free: 2.496 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.001229/0.5475, allocations: 0.5911 MB / 0.5895 GB, free: 1.891 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.001134/0.5486, allocations: 0.5695 MB / 0.5901 GB, free: 1.32 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.505e-06/0.5486, allocations: 0 / 0.5901 GB, free: 1.32 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004172/0.549, allocations: 259.6 kB / 0.5903 GB, free: 1.07 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008266/0.5498, allocations: 154.8 kB / 0.5905 GB, free: 0.9258 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002849/0.5527, allocations: 1.557 MB / 0.592 GB, free: 15.32 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007205/0.5534, allocations: 0.9539 MB / 0.5929 GB, free: 14.34 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003242/0.5537, allocations: 127.4 kB / 0.593 GB, free: 14.21 MB / 446.1 MB Notification: Performance of SimCode: time 1.132e-06/0.5537, allocations: 0 / 0.593 GB, free: 14.21 MB / 446.1 MB Notification: Performance of Templates: time 0.02225/0.576, allocations: 12.79 MB / 0.6055 GB, free: 1.461 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: 9.086577624024358] Failed to read output from testmodel.py, exit status != 0: 0.5860740680072922 0.6009656139999999 0.096036151 Calling exit ...