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.001536/0.001536, allocations: 109.1 kB / 18.99 MB, free: 2.609 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.001784/0.001784, allocations: 218.5 kB / 22.3 MB, free: 5.281 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.542/1.542, allocations: 230.6 MB / 256.1 MB, free: 7.781 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.1838/0.1838, allocations: 23.89 MB / 336.4 MB, free: 10.93 MB / 270.1 MB " [Timeout remaining time 179] 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.002139/0.002139, allocations: 59.91 kB / 471.7 MB, free: 6.957 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4763/0.4785, allocations: 59.85 MB / 0.5191 GB, free: 9.812 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.07771/0.5562, allocations: 25.49 MB / 0.544 GB, free: 14.06 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.01814/0.5743, allocations: 10.26 MB / 0.554 GB, free: 4.734 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00132/0.5756, allocations: 15.81 kB / 0.554 GB, free: 4.719 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009435/0.5766, allocations: 234.4 kB / 0.5543 GB, free: 4.547 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003873/0.5804, allocations: 1 MB / 0.5552 GB, free: 3.695 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.006911/0.5874, allocations: 1.537 MB / 0.5567 GB, free: 2.43 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.004414/0.5918, allocations: 1.262 MB / 0.558 GB, free: 1.293 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001385/0.5932, allocations: 0.5545 MB / 0.5585 GB, free: 0.8516 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001107/0.5943, allocations: 0.6189 MB / 0.5591 GB, free: 304 kB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001254/0.5955, allocations: 0.6084 MB / 0.5597 GB, free: 15.82 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000221/0.5957, allocations: 108 kB / 0.5598 GB, free: 15.71 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004995/0.6007, allocations: 1.224 MB / 0.561 GB, free: 14.62 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000433/0.6012, allocations: 258.8 kB / 0.5613 GB, free: 14.41 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007528/0.6019, allocations: 471.9 kB / 0.5617 GB, free: 13.99 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008292/0.6102, allocations: 2.584 MB / 0.5642 GB, free: 11.6 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.364e-06/0.6102, allocations: 4 kB / 0.5642 GB, free: 11.6 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.743e-06/0.6102, allocations: 0 / 0.5642 GB, free: 11.6 MB / 414.1 MB Notification: Performance of Transformations before backend: time 2.687e-05/0.6102, allocations: 0 / 0.5642 GB, free: 11.6 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.003506/0.6138, allocations: 1.45 MB / 0.5657 GB, free: 10.11 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.918e-05/0.6138, allocations: 12.03 kB / 0.5657 GB, free: 10.1 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001189/0.615, allocations: 211.9 kB / 0.5659 GB, free: 9.895 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001133/0.6161, allocations: 0.5231 MB / 0.5664 GB, free: 9.344 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001565/0.6163, allocations: 126 kB / 0.5665 GB, free: 9.207 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00019/0.6165, allocations: 84.38 kB / 0.5666 GB, free: 9.125 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001911/0.6184, allocations: 1.049 MB / 0.5676 GB, free: 8.059 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.425e-05/0.6184, allocations: 0 / 0.5676 GB, free: 8.059 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000104/0.6185, allocations: 40 kB / 0.5676 GB, free: 8.02 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.409e-05/0.6185, allocations: 24 kB / 0.5677 GB, free: 7.996 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002193/0.6207, allocations: 1.257 MB / 0.5689 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.005863/0.6266, allocations: 2.71 MB / 0.5715 GB, free: 3.953 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002783/0.6294, allocations: 1.238 MB / 0.5727 GB, free: 2.715 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009444/0.6303, allocations: 395.6 kB / 0.5731 GB, free: 2.328 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00494/0.6353, allocations: 2.081 MB / 0.5752 GB, free: 232 kB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.716e-05/0.6353, allocations: 39.05 kB / 0.5752 GB, free: 180 kB / 414.1 MB Notification: Performance of pre-optimization done (n=56): time 2.675e-06/0.6353, allocations: 4 kB / 0.5752 GB, free: 176 kB / 414.1 MB Notification: Performance of matching and sorting (n=63): time 0.003639/0.6389, allocations: 1.592 MB / 0.5768 GB, free: 14.55 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.23e-05/0.639, allocations: 64 kB / 0.5768 GB, free: 14.47 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006659/0.6397, allocations: 0.4947 MB / 0.5773 GB, free: 13.96 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 4.595e-05/0.6397, allocations: 37.7 kB / 0.5773 GB, free: 13.92 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003744/0.6401, allocations: 475.7 kB / 0.5778 GB, free: 13.45 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.00022/0.6403, allocations: 238 kB / 0.578 GB, free: 13.21 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000241/0.6406, allocations: 166.6 kB / 0.5782 GB, free: 13.05 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0002111/0.6408, allocations: 378.8 kB / 0.5785 GB, free: 12.67 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003937/0.6412, allocations: 209.9 kB / 0.5787 GB, free: 12.46 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007179/0.6419, allocations: 0.5337 MB / 0.5793 GB, free: 11.78 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001227/0.6431, allocations: 0.8142 MB / 0.5801 GB, free: 10.81 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.879e-06/0.6431, allocations: 8 kB / 0.5801 GB, free: 10.8 MB / 430.1 MB Notification: Performance of matching and sorting (n=115) (initialization): time 0.001505/0.6446, allocations: 0.8527 MB / 0.5809 GB, free: 9.945 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.106e-05/0.6446, allocations: 15.94 kB / 0.5809 GB, free: 9.93 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.919e-05/0.6447, allocations: 12 kB / 0.5809 GB, free: 9.918 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.727e-05/0.6447, allocations: 16 kB / 0.5809 GB, free: 9.902 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009998/0.6457, allocations: 263.5 kB / 0.5812 GB, free: 9.645 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.914e-05/0.6457, allocations: 23.88 kB / 0.5812 GB, free: 9.621 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004649/0.6462, allocations: 35.98 kB / 0.5812 GB, free: 9.586 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.541e-05/0.6463, allocations: 52.06 kB / 0.5813 GB, free: 9.535 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.0003933/0.6467, allocations: 237.5 kB / 0.5815 GB, free: 9.293 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001249/0.6468, allocations: 63.58 kB / 0.5816 GB, free: 9.23 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001426/0.6482, allocations: 0.6833 MB / 0.5822 GB, free: 8.539 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.216e-05/0.6482, allocations: 15.94 kB / 0.5823 GB, free: 8.523 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.762e-06/0.6483, allocations: 0 / 0.5823 GB, free: 8.523 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.287e-06/0.6483, allocations: 3.984 kB / 0.5823 GB, free: 8.52 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001017/0.6493, allocations: 0.5768 MB / 0.5828 GB, free: 7.895 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.809e-06/0.6493, allocations: 0 / 0.5828 GB, free: 7.895 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007561/0.65, allocations: 176 kB / 0.583 GB, free: 7.723 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.215e-05/0.6501, allocations: 7.984 kB / 0.583 GB, free: 7.715 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.69e-05/0.6501, allocations: 23.98 kB / 0.583 GB, free: 7.691 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.069e-06/0.6501, allocations: 3.938 kB / 0.583 GB, free: 7.688 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.458e-06/0.6501, allocations: 7.938 kB / 0.583 GB, free: 7.68 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001541/0.6517, allocations: 0.9452 MB / 0.584 GB, free: 6.707 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002893/0.6519, allocations: 115.5 kB / 0.5841 GB, free: 6.594 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.09e-05/0.652, allocations: 15.94 kB / 0.5841 GB, free: 6.578 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002642/0.6523, allocations: 12 kB / 0.5841 GB, free: 6.566 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001328/0.6524, allocations: 64.44 kB / 0.5842 GB, free: 6.504 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.553e-05/0.6525, allocations: 24 kB / 0.5842 GB, free: 6.48 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0004152/0.6529, allocations: 318.9 kB / 0.5845 GB, free: 6.172 MB / 430.1 MB Notification: Performance of sort global known variables: time 7e-08/0.6529, allocations: 0 / 0.5845 GB, free: 6.172 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.001661/0.6545, allocations: 486.6 kB / 0.585 GB, free: 5.695 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.001343/0.6559, allocations: 0.5988 MB / 0.5855 GB, free: 5.082 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.001239/0.6571, allocations: 0.5767 MB / 0.5861 GB, free: 4.504 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 4.008e-06/0.6571, allocations: 0 / 0.5861 GB, free: 4.504 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004168/0.6575, allocations: 257.2 kB / 0.5863 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.0008971/0.6584, allocations: 160.1 kB / 0.5865 GB, free: 4.109 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002988/0.6614, allocations: 1.517 MB / 0.588 GB, free: 2.547 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004101/0.6618, allocations: 365.3 kB / 0.5883 GB, free: 2.164 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0006037/0.6624, allocations: 169.2 kB / 0.5885 GB, free: 1.996 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002353/0.6627, allocations: 112.4 kB / 0.5886 GB, free: 1.887 MB / 430.1 MB Notification: Performance of SimCode: time 7.51e-07/0.6627, allocations: 0 / 0.5886 GB, free: 1.887 MB / 430.1 MB Notification: Performance of Templates: time 0.0272/0.6899, allocations: 14.19 MB / 0.6024 GB, free: 3.832 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 -lv LOG_STATS > Chemical_Chemical.Obsolete.Examples.SimpleReaction2.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.023905070498586] Failed to read output from testmodel.py, exit status != 0: 0.7000380605459213 0.71537045 0.10173618100000001 Calling exit ...