Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Chemical_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.001402/0.001402, allocations: 103.6 kB / 18.95 MB, free: 2.66 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.001621/0.001621, allocations: 218.5 kB / 22.25 MB, free: 5.258 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.502/1.502, allocations: 230.6 MB / 256 MB, free: 7.789 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.1765/0.1765, allocations: 23.89 MB / 336.3 MB, free: 10.95 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.SimpleReaction,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Chemical_Chemical.Obsolete.Examples.SimpleReaction") translateModel(Chemical.Obsolete.Examples.SimpleReaction,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Chemical_Chemical.Obsolete.Examples.SimpleReaction") [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.002147/0.002147, allocations: 71.88 kB / 471.6 MB, free: 7.008 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4118/0.4139, allocations: 59.85 MB / 0.519 GB, free: 9.77 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.SimpleReaction): time 0.07696/0.4909, allocations: 24.76 MB / 0.5432 GB, free: 14.74 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.01278/0.5037, allocations: 7.047 MB / 0.5501 GB, free: 8.328 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009825/0.5046, allocations: 15.88 kB / 0.5501 GB, free: 8.312 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009526/0.5056, allocations: 173.9 kB / 0.5502 GB, free: 8.184 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003137/0.5087, allocations: 0.7024 MB / 0.5509 GB, free: 7.586 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00365/0.5124, allocations: 1.051 MB / 0.552 GB, free: 6.723 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.001953/0.5143, allocations: 0.9341 MB / 0.5529 GB, free: 5.883 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001291/0.5156, allocations: 439.1 kB / 0.5533 GB, free: 5.551 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001262/0.5169, allocations: 465.8 kB / 0.5537 GB, free: 5.145 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00123/0.5181, allocations: 0.5046 MB / 0.5542 GB, free: 4.734 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000318/0.5184, allocations: 76 kB / 0.5543 GB, free: 4.66 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002945/0.5214, allocations: 0.841 MB / 0.5551 GB, free: 3.906 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004414/0.5218, allocations: 197.5 kB / 0.5553 GB, free: 3.746 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008597/0.5227, allocations: 343.8 kB / 0.5556 GB, free: 3.441 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005101/0.5278, allocations: 1.824 MB / 0.5574 GB, free: 1.98 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.823e-06/0.5278, allocations: 0 / 0.5574 GB, free: 1.98 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.924e-06/0.5278, allocations: 0 / 0.5574 GB, free: 1.98 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.623e-05/0.5278, allocations: 3.938 kB / 0.5574 GB, free: 1.977 MB / 398.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.003633/0.5315, allocations: 1.112 MB / 0.5585 GB, free: 0.9258 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.604e-05/0.5315, allocations: 12.03 kB / 0.5585 GB, free: 0.9141 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001071/0.5326, allocations: 158.2 kB / 0.5587 GB, free: 0.7773 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001186/0.5338, allocations: 422.7 kB / 0.5591 GB, free: 404 kB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001724/0.534, allocations: 110.5 kB / 0.5592 GB, free: 284 kB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002122/0.5342, allocations: 69.12 kB / 0.5592 GB, free: 216 kB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001902/0.5361, allocations: 0.7763 MB / 0.56 GB, free: 15.56 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.56e-05/0.5361, allocations: 0 / 0.56 GB, free: 15.56 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.685e-05/0.5362, allocations: 28 kB / 0.56 GB, free: 15.53 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.191e-05/0.5362, allocations: 16 kB / 0.56 GB, free: 15.52 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001824/0.538, allocations: 0.8699 MB / 0.5609 GB, free: 14.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.004871/0.5429, allocations: 1.993 MB / 0.5628 GB, free: 12.86 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00182/0.5447, allocations: 0.7929 MB / 0.5636 GB, free: 12.05 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00054/0.5453, allocations: 279.2 kB / 0.5639 GB, free: 11.78 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003837/0.5491, allocations: 1.512 MB / 0.5654 GB, free: 10.25 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.825e-05/0.5491, allocations: 38.56 kB / 0.5654 GB, free: 10.2 MB / 414.1 MB Notification: Performance of pre-optimization done (n=41): time 2.755e-06/0.5491, allocations: 0 / 0.5654 GB, free: 10.2 MB / 414.1 MB Notification: Performance of matching and sorting (n=46): time 0.003048/0.5522, allocations: 1.17 MB / 0.5665 GB, free: 8.996 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.533e-05/0.5523, allocations: 59.39 kB / 0.5666 GB, free: 8.926 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005955/0.5528, allocations: 401.7 kB / 0.567 GB, free: 8.523 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 4.676e-05/0.5529, allocations: 33.7 kB / 0.567 GB, free: 8.484 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004436/0.5533, allocations: 384 kB / 0.5674 GB, free: 8.102 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002556/0.5536, allocations: 166.6 kB / 0.5675 GB, free: 7.938 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002257/0.5538, allocations: 134.6 kB / 0.5677 GB, free: 7.801 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.00023/0.5541, allocations: 358.8 kB / 0.568 GB, free: 7.441 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000315/0.5544, allocations: 145.9 kB / 0.5681 GB, free: 7.297 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006408/0.555, allocations: 392.3 kB / 0.5685 GB, free: 6.812 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009052/0.5559, allocations: 0.5747 MB / 0.5691 GB, free: 6.129 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.087e-06/0.5559, allocations: 4 kB / 0.5691 GB, free: 6.125 MB / 414.1 MB Notification: Performance of matching and sorting (n=83) (initialization): time 0.00113/0.5571, allocations: 0.6169 MB / 0.5697 GB, free: 5.5 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.343e-05/0.5571, allocations: 8 kB / 0.5697 GB, free: 5.492 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.082e-05/0.5571, allocations: 8 kB / 0.5697 GB, free: 5.484 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.866e-05/0.5571, allocations: 15.94 kB / 0.5697 GB, free: 5.469 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007881/0.5579, allocations: 204 kB / 0.5699 GB, free: 5.27 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.588e-05/0.558, allocations: 19.92 kB / 0.5699 GB, free: 5.25 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004216/0.5584, allocations: 24 kB / 0.5699 GB, free: 5.227 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.426e-05/0.5585, allocations: 32 kB / 0.57 GB, free: 5.195 MB / 414.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.0003927/0.5589, allocations: 209.6 kB / 0.5702 GB, free: 4.98 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001329/0.559, allocations: 51.67 kB / 0.5702 GB, free: 4.93 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001199/0.5602, allocations: 497.3 kB / 0.5707 GB, free: 4.441 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.285e-06/0.5602, allocations: 7.938 kB / 0.5707 GB, free: 4.434 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.721e-06/0.5603, allocations: 0 / 0.5707 GB, free: 4.434 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.706e-06/0.5603, allocations: 3.984 kB / 0.5707 GB, free: 4.43 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008253/0.5611, allocations: 490.5 kB / 0.5712 GB, free: 3.902 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.266e-06/0.5611, allocations: 0 / 0.5712 GB, free: 3.902 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006067/0.5617, allocations: 139.9 kB / 0.5713 GB, free: 3.766 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.829e-06/0.5617, allocations: 0 / 0.5713 GB, free: 3.766 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.108e-05/0.5617, allocations: 19.98 kB / 0.5713 GB, free: 3.746 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.731e-06/0.5617, allocations: 8.125 kB / 0.5713 GB, free: 3.738 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.793e-06/0.5618, allocations: 7.875 kB / 0.5713 GB, free: 3.73 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001125/0.5629, allocations: 0.7264 MB / 0.5721 GB, free: 2.977 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002204/0.5631, allocations: 83.56 kB / 0.5721 GB, free: 2.895 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.511e-05/0.5632, allocations: 12 kB / 0.5721 GB, free: 2.883 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001997/0.5634, allocations: 12 kB / 0.5722 GB, free: 2.871 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001017/0.5635, allocations: 44.25 kB / 0.5722 GB, free: 2.828 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.928e-05/0.5635, allocations: 23.98 kB / 0.5722 GB, free: 2.805 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0002877/0.5638, allocations: 255.2 kB / 0.5725 GB, free: 2.555 MB / 414.1 MB Notification: Performance of sort global known variables: time 7.1e-08/0.5638, allocations: 0 / 0.5725 GB, free: 2.555 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.001189/0.565, allocations: 335.1 kB / 0.5728 GB, free: 2.227 MB / 414.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.0008698/0.5659, allocations: 434 kB / 0.5732 GB, free: 1.789 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0007515/0.5666, allocations: 414.6 kB / 0.5736 GB, free: 1.383 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.675e-06/0.5666, allocations: 4.062 kB / 0.5736 GB, free: 1.379 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003061/0.5669, allocations: 186.4 kB / 0.5738 GB, free: 1.199 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007428/0.5677, allocations: 138.2 kB / 0.5739 GB, free: 1.074 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002205/0.5699, allocations: 1.211 MB / 0.5751 GB, free: 15.82 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003125/0.5702, allocations: 296.1 kB / 0.5754 GB, free: 15.51 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0003678/0.5705, allocations: 116.4 kB / 0.5755 GB, free: 15.39 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001499/0.5707, allocations: 71.41 kB / 0.5756 GB, free: 15.32 MB / 430.1 MB Notification: Performance of SimCode: time 4.41e-07/0.5707, allocations: 0 / 0.5756 GB, free: 15.32 MB / 430.1 MB Notification: Performance of Templates: time 0.02036/0.591, allocations: 11.16 MB / 0.5864 GB, free: 4.266 MB / 430.1 MB " [Timeout remaining time 659] make -j1 -f Chemical_Chemical.Obsolete.Examples.SimpleReaction.makefile [Timeout 660] (rm -f Chemical_Chemical.Obsolete.Examples.SimpleReaction.pipe ; mkfifo Chemical_Chemical.Obsolete.Examples.SimpleReaction.pipe ; head -c 1048576 < Chemical_Chemical.Obsolete.Examples.SimpleReaction.pipe >> ../files/Chemical_Chemical.Obsolete.Examples.SimpleReaction.sim & ./Chemical_Chemical.Obsolete.Examples.SimpleReaction -abortSlowSimulation -alarm=480 -lv LOG_STATS > Chemical_Chemical.Obsolete.Examples.SimpleReaction.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.696946599986404] Failed to read output from testmodel.py, exit status != 0: 0.6003249576315284 0.614391569 0.0834275 Calling exit ...