Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Chemical_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.001393/0.001393, allocations: 104.3 kB / 19.7 MB, free: 2.156 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.001501/0.001501, allocations: 214.8 kB / 22.99 MB, free: 4.98 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.507/1.507, allocations: 230.6 MB / 256.8 MB, free: 7.793 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 2.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 2.0.0/package.mo): time 0.1602/0.1602, allocations: 23.89 MB / 337.1 MB, free: 11.07 MB / 270.1 MB " [Timeout remaining time 180] Using package Chemical with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 2.0.0/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_Chemical.Obsolete.Examples.SimpleReaction2") translateModel(Chemical.Obsolete.Examples.SimpleReaction2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Chemical_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.002092/0.002092, allocations: 63.91 kB / 472.4 MB, free: 7.031 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4325/0.4346, allocations: 59.86 MB / 0.5197 GB, free: 9.773 MB / 382.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 2.0.0/Obsolete.mo:14337:7-14337: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 2.0.0/Obsolete.mo:14337:7-14337: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.07649/0.5111, allocations: 25.37 MB / 0.5445 GB, free: 14.2 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.01688/0.528, allocations: 10.25 MB / 0.5545 GB, free: 4.875 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00111/0.5291, allocations: 15.88 kB / 0.5545 GB, free: 4.859 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008572/0.5299, allocations: 235.3 kB / 0.5548 GB, free: 4.684 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003601/0.5335, allocations: 1.005 MB / 0.5557 GB, free: 3.828 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005363/0.5389, allocations: 1.529 MB / 0.5572 GB, free: 2.57 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.002295/0.5412, allocations: 1.251 MB / 0.5585 GB, free: 1.445 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008858/0.5421, allocations: 0.577 MB / 0.559 GB, free: 0.9805 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007541/0.5428, allocations: 0.6201 MB / 0.5596 GB, free: 436 kB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001107/0.544, allocations: 0.6782 MB / 0.5603 GB, free: 15.88 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001778/0.5441, allocations: 108 kB / 0.5604 GB, free: 15.77 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004058/0.5482, allocations: 1.255 MB / 0.5616 GB, free: 14.64 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003341/0.5485, allocations: 262.9 kB / 0.5619 GB, free: 14.43 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006441/0.5492, allocations: 467.6 kB / 0.5623 GB, free: 14.02 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004972/0.5541, allocations: 2.592 MB / 0.5648 GB, free: 11.64 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.559e-06/0.5541, allocations: 0 / 0.5648 GB, free: 11.64 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.973e-06/0.5541, allocations: 0 / 0.5648 GB, free: 11.64 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.675e-05/0.5542, allocations: 0 / 0.5648 GB, free: 11.64 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.002685/0.5568, allocations: 1.446 MB / 0.5663 GB, free: 10.16 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.583e-05/0.5569, allocations: 8.031 kB / 0.5663 GB, free: 10.16 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009463/0.5578, allocations: 219.9 kB / 0.5665 GB, free: 9.941 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001062/0.5589, allocations: 0.5231 MB / 0.567 GB, free: 9.391 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002224/0.5591, allocations: 118 kB / 0.5671 GB, free: 9.262 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001706/0.5593, allocations: 92.38 kB / 0.5672 GB, free: 9.172 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001853/0.5611, allocations: 1.049 MB / 0.5682 GB, free: 8.105 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.133e-05/0.5612, allocations: 0 / 0.5682 GB, free: 8.105 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.609e-05/0.5613, allocations: 32 kB / 0.5682 GB, free: 8.074 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.893e-05/0.5613, allocations: 20 kB / 0.5683 GB, free: 8.055 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002047/0.5633, allocations: 1.265 MB / 0.5695 GB, free: 6.789 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.005364/0.5687, allocations: 2.709 MB / 0.5721 GB, free: 4.004 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002311/0.571, allocations: 1.246 MB / 0.5734 GB, free: 2.754 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006625/0.5717, allocations: 387.7 kB / 0.5737 GB, free: 2.371 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004715/0.5764, allocations: 2.069 MB / 0.5757 GB, free: 288 kB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.435e-05/0.5764, allocations: 39.06 kB / 0.5758 GB, free: 236 kB / 414.1 MB Notification: Performance of pre-optimization done (n=56): time 1.883e-06/0.5764, allocations: 3.938 kB / 0.5758 GB, free: 232 kB / 414.1 MB Notification: Performance of matching and sorting (n=63): time 0.003499/0.5799, allocations: 1.596 MB / 0.5773 GB, free: 14.6 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.89e-05/0.58, allocations: 63.94 kB / 0.5774 GB, free: 14.52 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006069/0.5806, allocations: 0.4986 MB / 0.5779 GB, free: 14.02 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 4.8e-05/0.5806, allocations: 37.7 kB / 0.5779 GB, free: 13.97 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000355/0.581, allocations: 471.7 kB / 0.5784 GB, free: 13.5 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000212/0.5812, allocations: 246 kB / 0.5786 GB, free: 13.26 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002525/0.5814, allocations: 174.6 kB / 0.5788 GB, free: 13.09 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0002144/0.5817, allocations: 370.8 kB / 0.5791 GB, free: 12.71 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003884/0.582, allocations: 209.9 kB / 0.5793 GB, free: 12.51 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007019/0.5827, allocations: 0.5334 MB / 0.5799 GB, free: 11.83 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001161/0.5839, allocations: 0.8143 MB / 0.5807 GB, free: 10.86 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.442e-06/0.5839, allocations: 4 kB / 0.5807 GB, free: 10.86 MB / 430.1 MB Notification: Performance of matching and sorting (n=115) (initialization): time 0.001464/0.5854, allocations: 0.8562 MB / 0.5815 GB, free: 9.996 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.389e-05/0.5854, allocations: 11.94 kB / 0.5815 GB, free: 9.984 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.634e-05/0.5854, allocations: 12 kB / 0.5815 GB, free: 9.973 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.117e-05/0.5854, allocations: 19.98 kB / 0.5815 GB, free: 9.953 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001002/0.5864, allocations: 268.1 kB / 0.5818 GB, free: 9.691 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.636e-05/0.5865, allocations: 23.88 kB / 0.5818 GB, free: 9.668 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000422/0.5869, allocations: 35.98 kB / 0.5818 GB, free: 9.633 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.185e-05/0.587, allocations: 48 kB / 0.5819 GB, free: 9.586 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.0003659/0.5873, allocations: 237.5 kB / 0.5821 GB, free: 9.344 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000116/0.5875, allocations: 63.58 kB / 0.5822 GB, free: 9.281 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001438/0.5889, allocations: 0.6794 MB / 0.5828 GB, free: 8.594 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.261e-05/0.5889, allocations: 19.86 kB / 0.5829 GB, free: 8.574 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.011e-06/0.5889, allocations: 0 / 0.5829 GB, free: 8.574 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.754e-06/0.5889, allocations: 0 / 0.5829 GB, free: 8.574 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000975/0.5899, allocations: 0.5807 MB / 0.5834 GB, free: 7.945 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.688e-06/0.5899, allocations: 0 / 0.5834 GB, free: 7.945 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000781/0.5907, allocations: 179.9 kB / 0.5836 GB, free: 7.77 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.243e-06/0.5907, allocations: 4 kB / 0.5836 GB, free: 7.766 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.474e-05/0.5907, allocations: 19.98 kB / 0.5836 GB, free: 7.746 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.162e-06/0.5908, allocations: 4 kB / 0.5836 GB, free: 7.742 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.879e-06/0.5908, allocations: 3.938 kB / 0.5836 GB, free: 7.738 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001549/0.5923, allocations: 0.9529 MB / 0.5846 GB, free: 6.758 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002787/0.5926, allocations: 111.5 kB / 0.5847 GB, free: 6.648 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.902e-05/0.5927, allocations: 24 kB / 0.5847 GB, free: 6.625 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002774/0.593, allocations: 12 kB / 0.5847 GB, free: 6.613 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001217/0.5931, allocations: 56.5 kB / 0.5848 GB, free: 6.559 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.176e-05/0.5931, allocations: 24 kB / 0.5848 GB, free: 6.535 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0003763/0.5935, allocations: 318.9 kB / 0.5851 GB, free: 6.227 MB / 430.1 MB Notification: Performance of sort global known variables: time 9e-08/0.5935, allocations: 0 / 0.5851 GB, free: 6.227 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.001499/0.595, allocations: 482.6 kB / 0.5855 GB, free: 5.754 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.001159/0.5962, allocations: 0.6027 MB / 0.5861 GB, free: 5.137 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.001064/0.5972, allocations: 0.5774 MB / 0.5867 GB, free: 4.559 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.885e-06/0.5972, allocations: 0 / 0.5867 GB, free: 4.559 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004216/0.5977, allocations: 256.3 kB / 0.5869 GB, free: 4.312 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007782/0.5984, allocations: 167.8 kB / 0.5871 GB, free: 4.156 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002535/0.601, allocations: 1.509 MB / 0.5886 GB, free: 2.605 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003817/0.6013, allocations: 373.4 kB / 0.5889 GB, free: 2.215 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.000523/0.6019, allocations: 165.2 kB / 0.5891 GB, free: 2.051 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002223/0.6021, allocations: 99.39 kB / 0.5892 GB, free: 1.953 MB / 430.1 MB Notification: Performance of SimCode: time 5.81e-07/0.6021, allocations: 0 / 0.5892 GB, free: 1.953 MB / 430.1 MB Notification: Performance of Templates: time 0.02624/0.6283, allocations: 15.58 MB / 0.6044 GB, free: 2.5 MB / 446.1 MB " [Timeout remaining time 659] make -j1 -f Chemical_Chemical.Obsolete.Examples.SimpleReaction2.makefile [Timeout 660] (rm -f Chemical_Chemical.Obsolete.Examples.SimpleReaction2.pipe ; mkfifo Chemical_Chemical.Obsolete.Examples.SimpleReaction2.pipe ; head -c 1048576 < Chemical_Chemical.Obsolete.Examples.SimpleReaction2.pipe >> ../files/Chemical_Chemical.Obsolete.Examples.SimpleReaction2.sim & ./Chemical_Chemical.Obsolete.Examples.SimpleReaction2 -abortSlowSimulation -alarm=480 -s gbode -lv LOG_STATS > Chemical_Chemical.Obsolete.Examples.SimpleReaction2.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.87594971100043] Failed to read output from testmodel.py, exit status != 0: 0.6377156160015147 0.65904137 0.100007438 Calling exit ...