Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Chemical_Chemical.Examples.SimpleReaction2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 1.4.0-master/package.mo", uses=false) Using package Chemical with version 1.4.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 1.4.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Chemical.Examples.SimpleReaction2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Chemical_Chemical.Examples.SimpleReaction2") translateModel(Chemical.Examples.SimpleReaction2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Chemical_Chemical.Examples.SimpleReaction2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009356/0.0009356, allocations: 99.86 kB / 15.05 MB, free: 1.105 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.000953/0.0009531, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.306/1.306, allocations: 223.2 MB / 239.9 MB, free: 5.359 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 1.4.0-master/package.mo): time 0.2154/0.2154, allocations: 15.26 MB / 306.2 MB, free: 15.77 MB / 254.1 MB Warning: Ignoring unknown experiment annotation option: __Dymola_Algorithm = "Dassl" Notification: Performance of FrontEnd - loaded program: time 0.0003442/0.0003442, allocations: 8 kB / 371.4 MB, free: 4.004 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2794/0.2798, allocations: 54.62 MB / 426 MB, free: 40.05 MB / 350.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 1.4.0-master/package.mo:3011:6-3011:65: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 1.4.0-master/package.mo:3011:6-3011:65: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.Examples.SimpleReaction2): time 0.004063/0.2839, allocations: 4.544 MB / 430.5 MB, free: 39.71 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.008874/0.2928, allocations: 9.828 MB / 440.3 MB, free: 32.97 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006732/0.2935, allocations: 17.72 kB / 440.4 MB, free: 32.96 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006179/0.2941, allocations: 242.2 kB / 440.6 MB, free: 32.84 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00211/0.2962, allocations: 0.9682 MB / 441.6 MB, free: 32.19 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00323/0.2995, allocations: 1.338 MB / 442.9 MB, free: 31.37 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001356/0.3009, allocations: 0.8358 MB / 443.7 MB, free: 30.92 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000548/0.3014, allocations: 0.5419 MB / 444.3 MB, free: 30.71 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004662/0.3019, allocations: 450.3 kB / 444.7 MB, free: 30.52 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005779/0.3025, allocations: 0.5754 MB / 445.3 MB, free: 30.32 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001027/0.3026, allocations: 55.62 kB / 445.4 MB, free: 30.32 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00399/0.3066, allocations: 1.381 MB / 446.7 MB, free: 30.06 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002049/0.3068, allocations: 199.2 kB / 446.9 MB, free: 29.96 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002639/0.3071, allocations: 198.7 kB / 447.1 MB, free: 29.85 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002606/0.3097, allocations: 1.497 MB / 448.6 MB, free: 29.36 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.316e-06/0.3097, allocations: 4 kB / 448.6 MB, free: 29.36 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.304e-06/0.3097, allocations: 0 / 448.6 MB, free: 29.36 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.753e-05/0.3098, allocations: 2.938 kB / 448.6 MB, free: 29.36 MB / 350.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.002005/0.3118, allocations: 1.268 MB / 449.9 MB, free: 28.52 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.476e-05/0.3118, allocations: 8.688 kB / 449.9 MB, free: 28.52 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008138/0.3126, allocations: 214.1 kB / 450.1 MB, free: 28.45 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006187/0.3133, allocations: 0.5094 MB / 450.6 MB, free: 28.06 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.588e-05/0.3133, allocations: 99.73 kB / 450.7 MB, free: 28 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001268/0.3135, allocations: 95.27 kB / 450.8 MB, free: 27.96 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001311/0.3148, allocations: 1.031 MB / 451.8 MB, free: 27.54 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.954e-05/0.3148, allocations: 0 / 451.8 MB, free: 27.54 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.218e-05/0.3149, allocations: 34.31 kB / 451.9 MB, free: 27.52 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.642e-05/0.3149, allocations: 26.02 kB / 451.9 MB, free: 27.51 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001572/0.3165, allocations: 1.267 MB / 453.2 MB, free: 27.15 MB / 350.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.004131/0.3207, allocations: 3.419 MB / 456.6 MB, free: 24.98 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001995/0.3227, allocations: 1.523 MB / 458.1 MB, free: 24.25 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004449/0.3271, allocations: 3.921 MB / 462 MB, free: 21.04 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.039e-05/0.3272, allocations: 38.28 kB / 462.1 MB, free: 20.99 MB / 350.1 MB Notification: Performance of pre-optimization done (n=56): time 2.766e-06/0.3272, allocations: 4 kB / 462.1 MB, free: 20.99 MB / 350.1 MB Notification: Performance of matching and sorting (n=63): time 0.002932/0.3301, allocations: 1.657 MB / 463.7 MB, free: 20.11 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.747e-05/0.3302, allocations: 62.28 kB / 463.8 MB, free: 20.05 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005415/0.3307, allocations: 0.5071 MB / 464.3 MB, free: 19.8 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.498e-05/0.3308, allocations: 35.92 kB / 464.3 MB, free: 19.77 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001989/0.331, allocations: 460.3 kB / 464.8 MB, free: 19.4 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001181/0.3311, allocations: 224.4 kB / 465 MB, free: 19.22 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.389e-05/0.3311, allocations: 19.97 kB / 465 MB, free: 19.21 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 8.998e-05/0.3312, allocations: 375 kB / 465.4 MB, free: 18.87 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003377/0.3316, allocations: 209.8 kB / 465.6 MB, free: 18.8 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004935/0.3321, allocations: 0.5292 MB / 466.1 MB, free: 18.3 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004558/0.3325, allocations: 290.8 kB / 466.4 MB, free: 18.16 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.642e-06/0.3326, allocations: 3.188 kB / 466.4 MB, free: 18.16 MB / 350.1 MB Notification: Performance of matching and sorting (n=115) (initialization): time 0.0013/0.3339, allocations: 0.841 MB / 467.3 MB, free: 17.81 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.534e-05/0.3339, allocations: 14.39 kB / 467.3 MB, free: 17.81 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.656e-05/0.3339, allocations: 15.03 kB / 467.3 MB, free: 17.8 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.478e-05/0.334, allocations: 18.62 kB / 467.3 MB, free: 17.8 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009633/0.3349, allocations: 260.6 kB / 467.6 MB, free: 17.78 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.475e-05/0.335, allocations: 23.2 kB / 467.6 MB, free: 17.78 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005245/0.3355, allocations: 54.14 kB / 467.6 MB, free: 17.76 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.931e-05/0.3356, allocations: 50.12 kB / 467.7 MB, free: 17.75 MB / 350.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002819/0.3359, allocations: 234.1 kB / 467.9 MB, free: 17.56 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.744e-05/0.336, allocations: 65.97 kB / 468 MB, free: 17.52 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001307/0.3373, allocations: 0.6932 MB / 468.7 MB, free: 17.21 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.715e-06/0.3373, allocations: 7.656 kB / 468.7 MB, free: 17.21 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.995e-06/0.3373, allocations: 4.562 kB / 468.7 MB, free: 17.21 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.969e-06/0.3373, allocations: 3 kB / 468.7 MB, free: 17.21 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001086/0.3384, allocations: 0.7725 MB / 469.5 MB, free: 16.74 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.889e-06/0.3384, allocations: 1.188 kB / 469.5 MB, free: 16.74 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007675/0.3392, allocations: 176.5 kB / 469.6 MB, free: 16.72 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.046e-05/0.3392, allocations: 4.594 kB / 469.6 MB, free: 16.72 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.258e-05/0.3393, allocations: 27.2 kB / 469.7 MB, free: 16.71 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.275e-06/0.3393, allocations: 4.891 kB / 469.7 MB, free: 16.71 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.507e-06/0.3393, allocations: 5.25 kB / 469.7 MB, free: 16.7 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001331/0.3406, allocations: 0.9878 MB / 470.7 MB, free: 16.15 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002375/0.3409, allocations: 176.5 kB / 470.8 MB, free: 16 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.743e-05/0.341, allocations: 18.08 kB / 470.8 MB, free: 15.99 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003005/0.3413, allocations: 25.05 kB / 470.9 MB, free: 15.98 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001136/0.3414, allocations: 57.55 kB / 470.9 MB, free: 15.96 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.134e-05/0.3415, allocations: 30.69 kB / 471 MB, free: 15.95 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0003462/0.3418, allocations: 335.9 kB / 471.3 MB, free: 15.8 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.71e-07/0.3418, allocations: 1.25 kB / 471.3 MB, free: 15.8 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.001302/0.3431, allocations: 460.8 kB / 471.7 MB, free: 15.69 MB / 350.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0008738/0.344, allocations: 0.5668 MB / 472.3 MB, free: 15.42 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001029/0.3451, allocations: 0.5918 MB / 472.9 MB, free: 15.23 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.176e-06/0.3451, allocations: 0 / 472.9 MB, free: 15.23 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003987/0.3455, allocations: 290 kB / 473.2 MB, free: 15.13 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000693/0.3462, allocations: 140.6 kB / 473.3 MB, free: 15.08 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00238/0.3486, allocations: 1.882 MB / 475.2 MB, free: 13.95 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004375/0.349, allocations: 0.9778 MB / 476.2 MB, free: 13.23 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0006638/0.3497, allocations: 165.1 kB / 476.3 MB, free: 13.18 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002172/0.3499, allocations: 102.1 kB / 476.4 MB, free: 13.16 MB / 350.1 MB Notification: Performance of SimCode: time 5.51e-07/0.3499, allocations: 0 / 476.4 MB, free: 13.16 MB / 350.1 MB Notification: Performance of Templates: time 0.01984/0.3698, allocations: 12.81 MB / 489.2 MB, free: 5.68 MB / 350.1 MB make -j1 -f Chemical_Chemical.Examples.SimpleReaction2.makefile Environment - environmentSimulation: (rm -f Chemical_Chemical.Examples.SimpleReaction2.pipe ; mkfifo Chemical_Chemical.Examples.SimpleReaction2.pipe ; head -c 1048576 < Chemical_Chemical.Examples.SimpleReaction2.pipe >> ../files/Chemical_Chemical.Examples.SimpleReaction2.sim & ./Chemical_Chemical.Examples.SimpleReaction2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > Chemical_Chemical.Examples.SimpleReaction2.pipe 2>&1) Environment - environmentSimulation: