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.001876/0.001876, allocations: 93.47 kB / 19.44 MB, free: 336 kB / 13.93 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.002431/0.002431, allocations: 169.2 kB / 22.76 MB, free: 1.664 MB / 18.57 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.617/1.617, allocations: 177.1 MB / 203.1 MB, free: 5.574 MB / 186.7 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.1449/0.1449, allocations: 17.36 MB / 276.9 MB, free: 11.71 MB / 266.7 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 5.21e-06/5.21e-06, allocations: 3.984 kB / 352.7 MB, free: 10.35 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.149e-05/3.67e-05, allocations: 4.984 kB / 352.7 MB, free: 10.34 MB / 282.7 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.04181/0.04184, allocations: 26.5 MB / 379.2 MB, free: 15.98 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.01795/0.05979, allocations: 11.67 MB / 390.9 MB, free: 4.262 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009347/0.06073, allocations: 15.88 kB / 390.9 MB, free: 4.246 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0008817/0.06161, allocations: 242 kB / 391.1 MB, free: 4.008 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003401/0.06501, allocations: 1.035 MB / 392.2 MB, free: 2.965 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.005365/0.07038, allocations: 1.572 MB / 393.7 MB, free: 1.383 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.002695/0.07307, allocations: 1.306 MB / 395 MB, free: 72 kB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009417/0.07401, allocations: 0.5812 MB / 395.6 MB, free: 15.46 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001166/0.07518, allocations: 0.854 MB / 396.5 MB, free: 14.61 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001041/0.07622, allocations: 0.5574 MB / 397 MB, free: 14.05 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002086/0.07643, allocations: 108 kB / 397.1 MB, free: 13.95 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004075/0.0805, allocations: 1.24 MB / 398.4 MB, free: 12.71 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000364/0.08087, allocations: 263.2 kB / 398.6 MB, free: 12.45 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0006419/0.08151, allocations: 407.1 kB / 399 MB, free: 12.05 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00619/0.0877, allocations: 2.748 MB / 401.8 MB, free: 9.293 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.073e-06/0.08771, allocations: 0 / 401.8 MB, free: 9.293 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.073e-06/0.08771, allocations: 0 / 401.8 MB, free: 9.293 MB / 330.7 MB Notification: Performance of Transformations before backend: time 2.139e-05/0.08773, allocations: 0 / 401.8 MB, free: 9.293 MB / 330.7 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.003792/0.09152, allocations: 1.612 MB / 403.4 MB, free: 7.641 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.797e-05/0.09158, allocations: 11.97 kB / 403.4 MB, free: 7.629 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001264/0.09284, allocations: 355 kB / 403.7 MB, free: 7.281 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00112/0.09396, allocations: 0.5175 MB / 404.3 MB, free: 6.734 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001661/0.09413, allocations: 126 kB / 404.4 MB, free: 6.598 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001801/0.09431, allocations: 92.33 kB / 404.5 MB, free: 6.508 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002095/0.09641, allocations: 1.076 MB / 405.5 MB, free: 5.41 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.546e-05/0.09643, allocations: 192 / 405.5 MB, free: 5.41 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001098/0.09654, allocations: 40.12 kB / 405.6 MB, free: 5.371 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.825e-05/0.09657, allocations: 20 kB / 405.6 MB, free: 5.352 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002558/0.09913, allocations: 1.226 MB / 406.8 MB, free: 4.125 MB / 330.7 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.006862/0.106, allocations: 3.198 MB / 410 MB, free: 0.8477 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.1485/0.2545, allocations: 1.198 MB / 411.2 MB, free: 62.4 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008964/0.2554, allocations: 376.9 kB / 411.6 MB, free: 62.39 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005014/0.2604, allocations: 2.272 MB / 413.9 MB, free: 61.93 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.898e-05/0.2604, allocations: 40.52 kB / 413.9 MB, free: 61.88 MB / 330.7 MB Notification: Performance of pre-optimization done (n=56): time 2.354e-06/0.2604, allocations: 1.344 kB / 413.9 MB, free: 61.88 MB / 330.7 MB Notification: Performance of matching and sorting (n=63): time 0.003426/0.2638, allocations: 1.587 MB / 415.5 MB, free: 61.22 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.429e-05/0.2639, allocations: 62.75 kB / 415.6 MB, free: 61.16 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000676/0.2646, allocations: 0.6409 MB / 416.2 MB, free: 60.81 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 3.487e-05/0.2646, allocations: 35.73 kB / 416.2 MB, free: 60.77 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003037/0.2649, allocations: 0.5462 MB / 416.8 MB, free: 60.39 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001665/0.2651, allocations: 240.5 kB / 417 MB, free: 60.23 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002397/0.2653, allocations: 199.8 kB / 417.2 MB, free: 60.12 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001705/0.2655, allocations: 0.5806 MB / 417.8 MB, free: 59.59 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003765/0.2659, allocations: 195.8 kB / 418 MB, free: 59.53 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000609/0.2665, allocations: 0.6806 MB / 418.7 MB, free: 58.86 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001096/0.2676, allocations: 0.9659 MB / 419.6 MB, free: 58.03 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.985e-06/0.2676, allocations: 3.594 kB / 419.6 MB, free: 58.03 MB / 330.7 MB Notification: Performance of matching and sorting (n=115) (initialization): time 0.001451/0.269, allocations: 0.8724 MB / 420.5 MB, free: 57.69 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.14e-05/0.269, allocations: 14.94 kB / 420.5 MB, free: 57.69 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.899e-05/0.2691, allocations: 10.41 kB / 420.5 MB, free: 57.69 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.682e-05/0.2691, allocations: 17.44 kB / 420.5 MB, free: 57.69 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009729/0.2701, allocations: 261.9 kB / 420.8 MB, free: 57.67 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.065e-05/0.2701, allocations: 30.56 kB / 420.8 MB, free: 57.66 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000425/0.2705, allocations: 26.77 kB / 420.9 MB, free: 57.64 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.868e-05/0.2706, allocations: 50.92 kB / 420.9 MB, free: 57.64 MB / 330.7 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.000296/0.2709, allocations: 279.3 kB / 421.2 MB, free: 57.4 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001693/0.2711, allocations: 85.45 kB / 421.3 MB, free: 57.36 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001481/0.2726, allocations: 0.6687 MB / 421.9 MB, free: 57.11 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.405e-05/0.2726, allocations: 6.656 kB / 421.9 MB, free: 57.11 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.063e-06/0.2726, allocations: 7.891 kB / 421.9 MB, free: 57.11 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.477e-05/0.2726, allocations: 3.969 kB / 422 MB, free: 57.11 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009889/0.2736, allocations: 0.6987 MB / 422.7 MB, free: 56.69 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.779e-06/0.2736, allocations: 1.656 kB / 422.7 MB, free: 56.69 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000712/0.2743, allocations: 170.9 kB / 422.8 MB, free: 56.68 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.653e-06/0.2743, allocations: 11.88 kB / 422.8 MB, free: 56.67 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.582e-05/0.2744, allocations: 21.2 kB / 422.9 MB, free: 56.66 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.433e-06/0.2744, allocations: 3.594 kB / 422.9 MB, free: 56.66 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.895e-06/0.2744, allocations: 3.109 kB / 422.9 MB, free: 56.66 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001326/0.2757, allocations: 1.005 MB / 423.9 MB, free: 56.14 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000258/0.276, allocations: 114.6 kB / 424 MB, free: 56.08 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.173e-05/0.276, allocations: 16.7 kB / 424 MB, free: 56.07 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002494/0.2763, allocations: 20.19 kB / 424 MB, free: 56.06 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001271/0.2764, allocations: 55.66 kB / 424.1 MB, free: 56.05 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.288e-05/0.2765, allocations: 31.78 kB / 424.1 MB, free: 56.04 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0003477/0.2768, allocations: 383.6 kB / 424.5 MB, free: 55.84 MB / 330.7 MB Notification: Performance of sort global known variables: time 1e-07/0.2768, allocations: 0 / 424.5 MB, free: 55.84 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.001314/0.2781, allocations: 484.5 kB / 424.9 MB, free: 55.79 MB / 330.7 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.0009157/0.279, allocations: 0.6196 MB / 425.6 MB, free: 55.59 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.000921/0.28, allocations: 0.6052 MB / 426.2 MB, free: 55.4 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/0.28, allocations: 0 / 426.2 MB, free: 55.4 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003398/0.2803, allocations: 290.8 kB / 426.5 MB, free: 55.31 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007713/0.2811, allocations: 161 kB / 426.6 MB, free: 55.27 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001973/0.283, allocations: 1.471 MB / 428.1 MB, free: 54.22 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002358/0.2833, allocations: 366.4 kB / 428.4 MB, free: 53.95 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0004658/0.2837, allocations: 160.8 kB / 428.6 MB, free: 53.86 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001796/0.2839, allocations: 103.3 kB / 428.7 MB, free: 53.77 MB / 330.7 MB Notification: Performance of SimCode: time 9.31e-07/0.2839, allocations: 0 / 428.7 MB, free: 53.77 MB / 330.7 MB Notification: Performance of Templates: time 0.0192/0.3031, allocations: 14.3 MB / 443 MB, free: 41.06 MB / 330.7 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=240 -lv LOG_STATS > Chemical_Chemical.Obsolete.Examples.SimpleReaction2.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.569342207047157]