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.001522/0.001522, allocations: 110.4 kB / 18.94 MB, free: 2.949 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.001692/0.001692, allocations: 218.7 kB / 22.26 MB, free: 5.121 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.38/1.38, allocations: 230.6 MB / 256 MB, free: 7.957 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.131/0.131, allocations: 23.86 MB / 336.3 MB, free: 11.16 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.001932/0.001932, allocations: 71.89 kB / 471.6 MB, free: 7.176 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2773/0.2792, allocations: 59.86 MB / 0.519 GB, free: 9.875 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.03184/0.3111, allocations: 25.04 MB / 0.5435 GB, free: 14.66 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.01049/0.3216, allocations: 8.051 MB / 0.5514 GB, free: 7.238 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005498/0.3221, allocations: 11.88 kB / 0.5514 GB, free: 7.227 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005434/0.3227, allocations: 193.7 kB / 0.5516 GB, free: 7.078 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001585/0.3242, allocations: 0.6944 MB / 0.5522 GB, free: 6.488 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002413/0.3267, allocations: 1.044 MB / 0.5533 GB, free: 5.633 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.00112/0.3278, allocations: 0.9398 MB / 0.5542 GB, free: 4.785 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005453/0.3283, allocations: 440.1 kB / 0.5546 GB, free: 4.453 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004999/0.3288, allocations: 468.2 kB / 0.555 GB, free: 4.043 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007186/0.3295, allocations: 0.4975 MB / 0.5555 GB, free: 3.641 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001162/0.3297, allocations: 80 kB / 0.5556 GB, free: 3.562 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001984/0.3316, allocations: 0.8692 MB / 0.5564 GB, free: 2.789 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000211/0.3319, allocations: 198.3 kB / 0.5566 GB, free: 2.629 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003946/0.3322, allocations: 419.4 kB / 0.557 GB, free: 2.25 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002517/0.3348, allocations: 1.819 MB / 0.5588 GB, free: 0.7969 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.519e-06/0.3348, allocations: 0.8906 kB / 0.5588 GB, free: 0.7969 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.203e-06/0.3348, allocations: 0 / 0.5588 GB, free: 0.7969 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.032e-05/0.3348, allocations: 0 / 0.5588 GB, free: 0.7969 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.001911/0.3367, allocations: 1.121 MB / 0.5599 GB, free: 15.73 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.336e-05/0.3367, allocations: 8.031 kB / 0.5599 GB, free: 15.73 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006169/0.3373, allocations: 162.1 kB / 0.5601 GB, free: 15.59 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007388/0.3381, allocations: 422.3 kB / 0.5605 GB, free: 15.21 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001045/0.3382, allocations: 102.7 kB / 0.5606 GB, free: 15.1 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001156/0.3383, allocations: 73.12 kB / 0.5606 GB, free: 15.03 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001261/0.3396, allocations: 0.7802 MB / 0.5614 GB, free: 14.38 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.74e-05/0.3396, allocations: 0 / 0.5614 GB, free: 14.38 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.761e-05/0.3396, allocations: 28 kB / 0.5614 GB, free: 14.35 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.45e-05/0.3397, allocations: 16 kB / 0.5614 GB, free: 14.33 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00145/0.3411, allocations: 0.8819 MB / 0.5623 GB, free: 13.57 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.003932/0.345, allocations: 2.528 MB / 0.5648 GB, free: 11.03 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001404/0.3464, allocations: 0.8162 MB / 0.5656 GB, free: 10.21 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004342/0.3469, allocations: 287.2 kB / 0.5658 GB, free: 9.926 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003153/0.35, allocations: 1.594 MB / 0.5674 GB, free: 8.309 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.646e-05/0.3501, allocations: 30.56 kB / 0.5674 GB, free: 8.27 MB / 414.1 MB Notification: Performance of pre-optimization done (n=41): time 1.503e-06/0.3501, allocations: 0 / 0.5674 GB, free: 8.27 MB / 414.1 MB Notification: Performance of matching and sorting (n=46): time 0.002323/0.3524, allocations: 1.178 MB / 0.5686 GB, free: 7.059 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.315e-05/0.3524, allocations: 55.41 kB / 0.5686 GB, free: 6.992 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004637/0.3529, allocations: 425.7 kB / 0.569 GB, free: 6.566 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.213e-05/0.3529, allocations: 29.7 kB / 0.5691 GB, free: 6.531 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002845/0.3532, allocations: 380.2 kB / 0.5694 GB, free: 6.152 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001406/0.3533, allocations: 166.6 kB / 0.5696 GB, free: 5.988 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001632/0.3535, allocations: 130.6 kB / 0.5697 GB, free: 5.855 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001788/0.3537, allocations: 362.8 kB / 0.5701 GB, free: 5.492 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002765/0.354, allocations: 153.9 kB / 0.5702 GB, free: 5.34 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004572/0.3544, allocations: 392.4 kB / 0.5706 GB, free: 4.855 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007887/0.3552, allocations: 0.5708 MB / 0.5711 GB, free: 4.176 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.545e-06/0.3552, allocations: 0 / 0.5711 GB, free: 4.176 MB / 414.1 MB Notification: Performance of matching and sorting (n=83) (initialization): time 0.000985/0.3562, allocations: 0.6209 MB / 0.5717 GB, free: 3.547 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.974e-05/0.3562, allocations: 12.19 kB / 0.5718 GB, free: 3.535 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.45e-05/0.3562, allocations: 11.94 kB / 0.5718 GB, free: 3.523 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.245e-05/0.3563, allocations: 12 kB / 0.5718 GB, free: 3.512 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006861/0.3569, allocations: 199.7 kB / 0.572 GB, free: 3.316 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.982e-05/0.357, allocations: 12 kB / 0.572 GB, free: 3.305 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002668/0.3572, allocations: 20 kB / 0.572 GB, free: 3.285 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.901e-05/0.3573, allocations: 43.98 kB / 0.572 GB, free: 3.242 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.0002493/0.3575, allocations: 205.5 kB / 0.5722 GB, free: 3.031 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.463e-05/0.3576, allocations: 51.67 kB / 0.5723 GB, free: 2.98 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000935/0.3586, allocations: 0.5051 MB / 0.5728 GB, free: 2.473 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.641e-06/0.3586, allocations: 4 kB / 0.5728 GB, free: 2.469 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.95e-06/0.3586, allocations: 0 / 0.5728 GB, free: 2.469 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.781e-06/0.3586, allocations: 0 / 0.5728 GB, free: 2.469 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008033/0.3594, allocations: 0.6033 MB / 0.5734 GB, free: 1.805 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.645e-06/0.3594, allocations: 0 / 0.5734 GB, free: 1.805 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005917/0.36, allocations: 151.8 kB / 0.5735 GB, free: 1.656 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.246e-06/0.36, allocations: 0 / 0.5735 GB, free: 1.656 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.299e-05/0.36, allocations: 15.94 kB / 0.5735 GB, free: 1.641 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.27e-06/0.36, allocations: 8.125 kB / 0.5735 GB, free: 1.633 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.302e-06/0.36, allocations: 0 / 0.5735 GB, free: 1.633 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001041/0.3611, allocations: 0.7302 MB / 0.5743 GB, free: 0.875 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001856/0.3612, allocations: 83.67 kB / 0.5743 GB, free: 0.793 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.693e-05/0.3613, allocations: 19.94 kB / 0.5744 GB, free: 0.7734 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002058/0.3615, allocations: 12 kB / 0.5744 GB, free: 0.7617 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.029e-05/0.3616, allocations: 40.36 kB / 0.5744 GB, free: 0.7227 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.046e-05/0.3616, allocations: 16 kB / 0.5744 GB, free: 0.707 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0002949/0.3619, allocations: 279.1 kB / 0.5747 GB, free: 444 kB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3619, allocations: 0 / 0.5747 GB, free: 444 kB / 414.1 MB Notification: Performance of remove unused functions: time 0.0009726/0.3629, allocations: 335.1 kB / 0.575 GB, free: 108 kB / 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.0007313/0.3636, allocations: 445.8 kB / 0.5754 GB, free: 15.66 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0007069/0.3643, allocations: 406.1 kB / 0.5758 GB, free: 15.26 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/0.3643, allocations: 0.6875 kB / 0.5758 GB, free: 15.26 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002856/0.3646, allocations: 194.4 kB / 0.576 GB, free: 15.07 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006896/0.3653, allocations: 138 kB / 0.5761 GB, free: 14.95 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001907/0.3672, allocations: 1.211 MB / 0.5773 GB, free: 13.7 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000513/0.3677, allocations: 0.8822 MB / 0.5782 GB, free: 12.79 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0003443/0.3681, allocations: 128.5 kB / 0.5783 GB, free: 12.66 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001563/0.3682, allocations: 71.41 kB / 0.5784 GB, free: 12.59 MB / 430.1 MB Notification: Performance of SimCode: time 3.2e-07/0.3682, allocations: 4 kB / 0.5784 GB, free: 12.59 MB / 430.1 MB Notification: Performance of Templates: time 0.01826/0.3865, allocations: 10.67 MB / 0.5888 GB, free: 1.961 MB / 430.1 MB " [Timeout remaining time 660] 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: 4.890528139891103] Failed to read output from testmodel.py, exit status != 0: 0.39502302510663867 0.408523454 0.07085538000000001 Calling exit ...