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.001742/0.001742, 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.001534/0.001534, allocations: 213.3 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.461/1.461, allocations: 230.6 MB / 256 MB, free: 8 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.139/0.139, allocations: 23.89 MB / 336.3 MB, free: 11.18 MB / 270.1 MB " [Timeout remaining time 180] 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.002124/0.002124, allocations: 71.89 kB / 471.7 MB, free: 7.164 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.304/0.3061, allocations: 59.87 MB / 0.5191 GB, free: 9.855 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.0376/0.3437, allocations: 25.9 MB / 0.5444 GB, free: 13.83 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.01608/0.3598, allocations: 11.71 MB / 0.5559 GB, free: 3.035 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007748/0.3605, allocations: 19.81 kB / 0.5559 GB, free: 3.016 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008121/0.3613, allocations: 265.7 kB / 0.5561 GB, free: 2.812 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002843/0.3642, allocations: 0.9936 MB / 0.5571 GB, free: 1.969 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004576/0.3688, allocations: 1.537 MB / 0.5586 GB, free: 0.7031 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.002056/0.3708, allocations: 1.256 MB / 0.5598 GB, free: 15.58 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009401/0.3718, allocations: 0.5695 MB / 0.5604 GB, free: 15.12 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000824/0.3726, allocations: 0.6184 MB / 0.561 GB, free: 14.57 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001145/0.3737, allocations: 0.6787 MB / 0.5616 GB, free: 14.02 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002524/0.374, allocations: 111.9 kB / 0.5617 GB, free: 13.91 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004233/0.3782, allocations: 1.297 MB / 0.563 GB, free: 12.75 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003468/0.3786, allocations: 262.6 kB / 0.5633 GB, free: 12.54 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006651/0.3792, allocations: 0.5463 MB / 0.5638 GB, free: 12.04 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005549/0.3848, allocations: 2.59 MB / 0.5663 GB, free: 9.66 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.574e-06/0.3848, allocations: 3.984 kB / 0.5663 GB, free: 9.656 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.553e-06/0.3848, allocations: 4 kB / 0.5663 GB, free: 9.652 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.622e-05/0.3848, allocations: 0 / 0.5663 GB, free: 9.652 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.002865/0.3877, allocations: 1.45 MB / 0.5678 GB, free: 8.168 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.749e-05/0.3877, allocations: 8.031 kB / 0.5678 GB, free: 8.16 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009423/0.3886, allocations: 219.9 kB / 0.568 GB, free: 7.945 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001022/0.3897, allocations: 0.5154 MB / 0.5685 GB, free: 7.402 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001274/0.3898, allocations: 122 kB / 0.5686 GB, free: 7.27 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001635/0.39, allocations: 92.38 kB / 0.5687 GB, free: 7.18 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001809/0.3918, allocations: 1.053 MB / 0.5697 GB, free: 6.109 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.461e-05/0.3918, allocations: 0 / 0.5697 GB, free: 6.109 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.429e-05/0.3919, allocations: 36 kB / 0.5697 GB, free: 6.074 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.477e-05/0.3919, allocations: 24 kB / 0.5698 GB, free: 6.051 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002177/0.3941, allocations: 1.273 MB / 0.571 GB, free: 4.777 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.006105/0.4002, allocations: 3.432 MB / 0.5744 GB, free: 1.164 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002261/0.4025, allocations: 1.265 MB / 0.5756 GB, free: 15.89 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006171/0.4031, allocations: 395.7 kB / 0.576 GB, free: 15.5 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004742/0.4078, allocations: 2.201 MB / 0.5781 GB, free: 13.28 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.762e-05/0.4078, allocations: 35.06 kB / 0.5782 GB, free: 13.23 MB / 430.1 MB Notification: Performance of pre-optimization done (n=56): time 2.545e-06/0.4079, allocations: 7.938 kB / 0.5782 GB, free: 13.23 MB / 430.1 MB Notification: Performance of matching and sorting (n=63): time 0.003386/0.4112, allocations: 1.596 MB / 0.5797 GB, free: 11.6 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.866e-05/0.4113, allocations: 64.05 kB / 0.5798 GB, free: 11.52 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006487/0.4119, allocations: 0.5184 MB / 0.5803 GB, free: 11 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 5.012e-05/0.412, allocations: 37.7 kB / 0.5803 GB, free: 10.95 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003603/0.4124, allocations: 475.7 kB / 0.5808 GB, free: 10.48 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002066/0.4126, allocations: 238 kB / 0.581 GB, free: 10.25 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002411/0.4128, allocations: 170.6 kB / 0.5812 GB, free: 10.07 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0002065/0.413, allocations: 378.8 kB / 0.5815 GB, free: 9.695 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003887/0.4134, allocations: 209.9 kB / 0.5817 GB, free: 9.488 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006654/0.4141, allocations: 0.5335 MB / 0.5822 GB, free: 8.809 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001143/0.4152, allocations: 0.8182 MB / 0.583 GB, free: 7.84 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.462e-06/0.4152, allocations: 4 kB / 0.5831 GB, free: 7.836 MB / 430.1 MB Notification: Performance of matching and sorting (n=115) (initialization): time 0.00143/0.4166, allocations: 0.8522 MB / 0.5839 GB, free: 6.977 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.23e-05/0.4167, allocations: 8 kB / 0.5839 GB, free: 6.969 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.592e-05/0.4167, allocations: 12 kB / 0.5839 GB, free: 6.957 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.367e-05/0.4167, allocations: 19.94 kB / 0.5839 GB, free: 6.938 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009842/0.4177, allocations: 268.2 kB / 0.5842 GB, free: 6.676 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.439e-05/0.4177, allocations: 19.94 kB / 0.5842 GB, free: 6.656 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004248/0.4182, allocations: 35.98 kB / 0.5842 GB, free: 6.621 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.671e-05/0.4182, allocations: 48 kB / 0.5843 GB, free: 6.574 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.0003465/0.4186, allocations: 234 kB / 0.5845 GB, free: 6.336 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001147/0.4187, allocations: 63.58 kB / 0.5846 GB, free: 6.273 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001378/0.4201, allocations: 0.6991 MB / 0.5852 GB, free: 5.566 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.558e-06/0.4201, allocations: 11.94 kB / 0.5853 GB, free: 5.555 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.799e-06/0.4201, allocations: 0 / 0.5853 GB, free: 5.555 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.847e-06/0.4201, allocations: 7.922 kB / 0.5853 GB, free: 5.547 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001083/0.4212, allocations: 0.7401 MB / 0.586 GB, free: 4.746 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.547e-06/0.4212, allocations: 0 / 0.586 GB, free: 4.746 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007508/0.4219, allocations: 171.8 kB / 0.5861 GB, free: 4.578 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.846e-06/0.4219, allocations: 4 kB / 0.5862 GB, free: 4.574 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.986e-05/0.422, allocations: 27.94 kB / 0.5862 GB, free: 4.547 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.232e-06/0.422, allocations: 8.125 kB / 0.5862 GB, free: 4.539 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.603e-06/0.422, allocations: 0 / 0.5862 GB, free: 4.539 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001475/0.4235, allocations: 0.9529 MB / 0.5871 GB, free: 3.559 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002808/0.4238, allocations: 115.5 kB / 0.5872 GB, free: 3.445 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.797e-05/0.4238, allocations: 23.92 kB / 0.5873 GB, free: 3.422 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002789/0.4241, allocations: 20 kB / 0.5873 GB, free: 3.402 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001019/0.4242, allocations: 48.56 kB / 0.5873 GB, free: 3.355 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.918e-05/0.4243, allocations: 28 kB / 0.5873 GB, free: 3.328 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0004132/0.4247, allocations: 338.8 kB / 0.5877 GB, free: 3 MB / 430.1 MB Notification: Performance of sort global known variables: time 8e-08/0.4247, allocations: 0 / 0.5877 GB, free: 3 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.001389/0.4261, allocations: 494.6 kB / 0.5881 GB, free: 2.516 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.001113/0.4272, allocations: 0.6029 MB / 0.5887 GB, free: 1.898 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.001057/0.4282, allocations: 0.5624 MB / 0.5893 GB, free: 1.336 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.485e-06/0.4282, allocations: 4.125 kB / 0.5893 GB, free: 1.332 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004332/0.4287, allocations: 263.6 kB / 0.5895 GB, free: 1.078 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008198/0.4295, allocations: 160.2 kB / 0.5897 GB, free: 0.9297 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002551/0.4321, allocations: 1.525 MB / 0.5912 GB, free: 15.36 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006212/0.4327, allocations: 0.95 MB / 0.5921 GB, free: 14.38 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0005297/0.4332, allocations: 173.4 kB / 0.5923 GB, free: 14.21 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000227/0.4334, allocations: 103.4 kB / 0.5924 GB, free: 14.11 MB / 446.1 MB Notification: Performance of SimCode: time 4.31e-07/0.4334, allocations: 4 kB / 0.5924 GB, free: 14.11 MB / 446.1 MB Notification: Performance of Templates: time 0.02613/0.4596, allocations: 14.95 MB / 0.607 GB, free: 15.21 MB / 462.1 MB " [Timeout remaining time 660] 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: 5.314288169145584] Failed to read output from testmodel.py, exit status != 0: 0.4681576187722385 0.48212653699999997 0.094225613 Calling exit ...