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.001657/0.001657, allocations: 80.22 kB / 19.18 MB, free: 2.516 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.002119/0.002119, allocations: 168.3 kB / 22.46 MB, free: 5.379 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.491/1.491, allocations: 177.1 MB / 202.8 MB, free: 9.18 MB / 190.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.142/0.142, allocations: 17.37 MB / 276.5 MB, free: 15.3 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: Performance of FrontEnd - loaded program: time 2.414e-06/2.414e-06, allocations: 0 / 411.9 MB, free: 4.457 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.412e-05/3.654e-05, allocations: 2.281 kB / 411.9 MB, free: 4.453 MB / 334.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.04033/0.04036, allocations: 25.82 MB / 437.8 MB, free: 10.77 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.01632/0.05668, allocations: 10.26 MB / 448 MB, free: 480 kB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000881/0.05756, allocations: 19.81 kB / 448 MB, free: 460 kB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008902/0.05845, allocations: 242 kB / 448.3 MB, free: 216 kB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.2414/0.2999, allocations: 1.027 MB / 449.3 MB, free: 31.55 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004885/0.3047, allocations: 1.575 MB / 450.9 MB, free: 31.27 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.002047/0.3068, allocations: 1.301 MB / 452.2 MB, free: 30.93 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008114/0.3076, allocations: 0.5608 MB / 452.7 MB, free: 30.86 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001104/0.3087, allocations: 0.8521 MB / 453.6 MB, free: 30.81 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008993/0.3096, allocations: 0.5456 MB / 454.1 MB, free: 30.77 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001908/0.3098, allocations: 105.5 kB / 454.2 MB, free: 30.77 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004008/0.3138, allocations: 1.231 MB / 455.5 MB, free: 30.71 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002827/0.3141, allocations: 265.7 kB / 455.7 MB, free: 30.67 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005592/0.3146, allocations: 405 kB / 456.1 MB, free: 30.63 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005407/0.3201, allocations: 2.74 MB / 458.9 MB, free: 29.77 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.31e-06/0.3201, allocations: 0 / 458.9 MB, free: 29.77 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.443e-06/0.3201, allocations: 3.094 kB / 458.9 MB, free: 29.77 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.537e-05/0.3201, allocations: 0 / 458.9 MB, free: 29.77 MB / 366.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.003094/0.3232, allocations: 1.433 MB / 460.3 MB, free: 28.89 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.279e-05/0.3232, allocations: 11.78 kB / 460.3 MB, free: 28.89 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001318/0.3245, allocations: 213.7 kB / 460.5 MB, free: 28.82 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001272/0.3258, allocations: 0.5221 MB / 461.1 MB, free: 28.51 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001304/0.326, allocations: 120.4 kB / 461.2 MB, free: 28.42 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001818/0.3261, allocations: 90.98 kB / 461.3 MB, free: 28.39 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001944/0.3281, allocations: 1.054 MB / 462.3 MB, free: 27.97 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.266e-05/0.3281, allocations: 192 / 462.3 MB, free: 27.97 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.598e-05/0.3282, allocations: 36.34 kB / 462.3 MB, free: 27.94 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.9e-05/0.3282, allocations: 25.53 kB / 462.4 MB, free: 27.94 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001952/0.3302, allocations: 1.259 MB / 463.6 MB, free: 27.58 MB / 366.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.004506/0.3347, allocations: 2.694 MB / 466.3 MB, free: 26.14 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002104/0.3368, allocations: 1.228 MB / 467.6 MB, free: 25.73 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005238/0.3373, allocations: 401.8 kB / 467.9 MB, free: 25.56 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004164/0.3415, allocations: 2.082 MB / 470 MB, free: 24.68 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.384e-05/0.3415, allocations: 38.8 kB / 470.1 MB, free: 24.64 MB / 366.1 MB Notification: Performance of pre-optimization done (n=56): time 1.844e-06/0.3415, allocations: 2.688 kB / 470.1 MB, free: 24.64 MB / 366.1 MB Notification: Performance of matching and sorting (n=63): time 0.002964/0.3445, allocations: 1.597 MB / 471.7 MB, free: 23.81 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.804e-05/0.3445, allocations: 62.19 kB / 471.7 MB, free: 23.75 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004297/0.3449, allocations: 0.4995 MB / 472.2 MB, free: 23.43 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.557e-05/0.345, allocations: 36.73 kB / 472.3 MB, free: 23.39 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001806/0.3451, allocations: 474 kB / 472.7 MB, free: 22.97 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001175/0.3453, allocations: 225.8 kB / 472.9 MB, free: 22.78 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001781/0.3454, allocations: 177.5 kB / 473.1 MB, free: 22.67 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 7.356e-05/0.3455, allocations: 377.9 kB / 473.5 MB, free: 22.31 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003107/0.3458, allocations: 211.5 kB / 473.7 MB, free: 22.21 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004361/0.3463, allocations: 0.5341 MB / 474.2 MB, free: 21.69 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008127/0.3471, allocations: 0.8096 MB / 475 MB, free: 21.07 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.931e-06/0.3471, allocations: 5.812 kB / 475 MB, free: 21.07 MB / 366.1 MB Notification: Performance of matching and sorting (n=115) (initialization): time 0.001156/0.3482, allocations: 0.8562 MB / 475.9 MB, free: 20.71 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.63e-05/0.3483, allocations: 13.83 kB / 475.9 MB, free: 20.71 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.576e-05/0.3483, allocations: 11.34 kB / 475.9 MB, free: 20.71 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.223e-05/0.3483, allocations: 16.34 kB / 475.9 MB, free: 20.71 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009224/0.3492, allocations: 260 kB / 476.2 MB, free: 20.67 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.304e-05/0.3493, allocations: 23.67 kB / 476.2 MB, free: 20.67 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004233/0.3497, allocations: 27.81 kB / 476.2 MB, free: 20.66 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.15e-05/0.3498, allocations: 59.3 kB / 476.3 MB, free: 20.64 MB / 366.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.0002865/0.35, allocations: 235.3 kB / 476.5 MB, free: 20.46 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001002/0.3501, allocations: 64.77 kB / 476.6 MB, free: 20.42 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001129/0.3513, allocations: 0.6942 MB / 477.3 MB, free: 19.93 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.793e-06/0.3513, allocations: 10.66 kB / 477.3 MB, free: 19.92 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.811e-06/0.3513, allocations: 0 / 477.3 MB, free: 19.92 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.215e-06/0.3513, allocations: 7.078 kB / 477.3 MB, free: 19.92 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006703/0.352, allocations: 0.5745 MB / 477.9 MB, free: 19.32 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.487e-06/0.352, allocations: 4 kB / 477.9 MB, free: 19.31 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006908/0.3527, allocations: 171.1 kB / 478.1 MB, free: 19.16 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.43e-06/0.3527, allocations: 4 kB / 478.1 MB, free: 19.15 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.916e-05/0.3527, allocations: 24 kB / 478.1 MB, free: 19.13 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.651e-06/0.3527, allocations: 9.375 kB / 478.1 MB, free: 19.12 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.585e-06/0.3527, allocations: 0 / 478.1 MB, free: 19.12 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001083/0.3538, allocations: 0.9558 MB / 479 MB, free: 18.14 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001992/0.354, allocations: 107.6 kB / 479.1 MB, free: 18.04 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.336e-05/0.3541, allocations: 16 kB / 479.2 MB, free: 18.02 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002652/0.3543, allocations: 15.98 kB / 479.2 MB, free: 18.01 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001102/0.3545, allocations: 55.77 kB / 479.2 MB, free: 17.96 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.301e-05/0.3545, allocations: 34.58 kB / 479.3 MB, free: 17.93 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002603/0.3548, allocations: 318.9 kB / 479.6 MB, free: 17.62 MB / 366.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3548, allocations: 0 / 479.6 MB, free: 17.62 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.001501/0.3563, allocations: 482.6 kB / 480.1 MB, free: 17.14 MB / 366.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.001068/0.3573, allocations: 0.6196 MB / 480.7 MB, free: 16.61 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.000857/0.3582, allocations: 0.5738 MB / 481.2 MB, free: 16.07 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.675e-06/0.3582, allocations: 0 / 481.2 MB, free: 16.07 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003226/0.3585, allocations: 261.3 kB / 481.5 MB, free: 15.84 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008101/0.3593, allocations: 154.8 kB / 481.7 MB, free: 15.71 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00206/0.3614, allocations: 1.429 MB / 483.1 MB, free: 14.27 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002413/0.3616, allocations: 368 kB / 483.4 MB, free: 13.89 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0004719/0.3621, allocations: 168 kB / 483.6 MB, free: 13.77 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001978/0.3623, allocations: 103.1 kB / 483.7 MB, free: 13.68 MB / 366.1 MB Notification: Performance of SimCode: time 8.31e-07/0.3623, allocations: 0 / 483.7 MB, free: 13.68 MB / 366.1 MB Notification: Performance of Templates: time 0.02005/0.3823, allocations: 14.19 MB / 497.9 MB, free: 0.543 MB / 366.1 MB " [Timeout remaining time 660] 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: 5.447714250534773] Failed to read output from testmodel.py, exit status != 0: 0.39143116399645805 0.40580870199999997 0.08267911700000001 Calling exit ...