Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Chemical_Chemical.Examples.SimpleReaction.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.SimpleReaction,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Chemical_Chemical.Examples.SimpleReaction") translateModel(Chemical.Examples.SimpleReaction,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Chemical_Chemical.Examples.SimpleReaction") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009913/0.0009913, 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.001449/0.001449, 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.391/1.391, allocations: 223.2 MB / 239.9 MB, free: 5.352 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 1.4.0-master/package.mo): time 0.1725/0.1725, allocations: 15.26 MB / 306.2 MB, free: 15.8 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003527/0.0003528, allocations: 8 kB / 371.3 MB, free: 4.062 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3042/0.3045, allocations: 54.62 MB / 426 MB, free: 40.32 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.SimpleReaction): time 0.003576/0.3081, allocations: 3.796 MB / 429.8 MB, free: 40.04 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.006743/0.3149, allocations: 6.779 MB / 436.5 MB, free: 35.97 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004582/0.3154, allocations: 14.44 kB / 436.6 MB, free: 35.96 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004954/0.3159, allocations: 166.2 kB / 436.7 MB, free: 35.88 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001398/0.3173, allocations: 0.6869 MB / 437.4 MB, free: 35.41 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001997/0.3193, allocations: 0.9062 MB / 438.3 MB, free: 34.86 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007386/0.3201, allocations: 0.6302 MB / 438.9 MB, free: 34.52 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000439/0.3205, allocations: 420 kB / 439.4 MB, free: 34.37 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000311/0.3208, allocations: 333.3 kB / 439.7 MB, free: 34.23 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004317/0.3213, allocations: 426 kB / 440.1 MB, free: 34.08 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 7.438e-05/0.3214, allocations: 43.16 kB / 440.1 MB, free: 34.08 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002124/0.3235, allocations: 0.9242 MB / 441.1 MB, free: 33.91 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001436/0.3236, allocations: 152.7 kB / 441.2 MB, free: 33.83 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001308/0.3238, allocations: 165 kB / 441.4 MB, free: 33.73 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001335/0.3251, allocations: 1.057 MB / 442.4 MB, free: 33.39 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.286e-06/0.3251, allocations: 0 / 442.4 MB, free: 33.39 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.873e-06/0.3251, allocations: 0 / 442.4 MB, free: 33.39 MB / 350.1 MB Notification: Performance of Transformations before backend: time 9.908e-06/0.3252, allocations: 0 / 442.4 MB, free: 33.39 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: 168 * Number of variables: 168 Notification: Performance of Generate backend data structure: time 0.001529/0.3267, allocations: 1.012 MB / 443.4 MB, free: 32.68 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.92e-05/0.3267, allocations: 9.656 kB / 443.5 MB, free: 32.68 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005806/0.3273, allocations: 158 kB / 443.6 MB, free: 32.62 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004955/0.3278, allocations: 433.8 kB / 444 MB, free: 32.29 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.294e-05/0.3279, allocations: 79.8 kB / 444.1 MB, free: 32.24 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.974e-05/0.328, allocations: 71.06 kB / 444.2 MB, free: 32.21 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001118/0.3291, allocations: 0.7623 MB / 444.9 MB, free: 31.89 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.85e-05/0.3292, allocations: 0 / 444.9 MB, free: 31.89 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.783e-05/0.3292, allocations: 26.62 kB / 445 MB, free: 31.87 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.804e-05/0.3293, allocations: 20.16 kB / 445 MB, free: 31.87 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001176/0.3305, allocations: 0.877 MB / 445.9 MB, free: 31.61 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.003132/0.3336, allocations: 2.55 MB / 448.4 MB, free: 29.96 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001218/0.3348, allocations: 1.01 MB / 449.4 MB, free: 29.44 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002773/0.3376, allocations: 2.753 MB / 452.2 MB, free: 27.18 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.76e-05/0.3376, allocations: 41.66 kB / 452.2 MB, free: 27.14 MB / 350.1 MB Notification: Performance of pre-optimization done (n=41): time 1.863e-06/0.3377, allocations: 0 / 452.2 MB, free: 27.14 MB / 350.1 MB Notification: Performance of matching and sorting (n=46): time 0.001988/0.3397, allocations: 1.222 MB / 453.4 MB, free: 26.45 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.676e-05/0.3397, allocations: 54.44 kB / 453.5 MB, free: 26.39 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003639/0.3401, allocations: 424.7 kB / 453.9 MB, free: 26.17 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.086e-05/0.3401, allocations: 36.67 kB / 453.9 MB, free: 26.13 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001552/0.3403, allocations: 366.3 kB / 454.3 MB, free: 25.84 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.092e-05/0.3404, allocations: 160.3 kB / 454.5 MB, free: 25.71 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.413e-05/0.3404, allocations: 15 kB / 454.5 MB, free: 25.7 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 7.83e-05/0.3405, allocations: 356.1 kB / 454.8 MB, free: 25.37 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002294/0.3407, allocations: 147.3 kB / 455 MB, free: 25.32 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003037/0.341, allocations: 386.4 kB / 455.3 MB, free: 24.97 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002895/0.3413, allocations: 215 kB / 455.5 MB, free: 24.87 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.675e-06/0.3413, allocations: 0 / 455.5 MB, free: 24.87 MB / 350.1 MB Notification: Performance of matching and sorting (n=83) (initialization): time 0.0007749/0.3421, allocations: 0.6073 MB / 456.2 MB, free: 24.61 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.705e-05/0.3421, allocations: 6.281 kB / 456.2 MB, free: 24.61 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.005e-05/0.3422, allocations: 9.531 kB / 456.2 MB, free: 24.61 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.271e-05/0.3422, allocations: 13.91 kB / 456.2 MB, free: 24.61 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006794/0.3429, allocations: 203.8 kB / 456.4 MB, free: 24.59 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.631e-05/0.3429, allocations: 20.14 kB / 456.4 MB, free: 24.58 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003296/0.3432, allocations: 51.5 kB / 456.5 MB, free: 24.55 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.851e-05/0.3433, allocations: 35.05 kB / 456.5 MB, free: 24.55 MB / 350.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001883/0.3435, allocations: 205.4 kB / 456.7 MB, free: 24.37 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.445e-05/0.3436, allocations: 52.28 kB / 456.7 MB, free: 24.34 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008303/0.3444, allocations: 0.4895 MB / 457.2 MB, free: 24.12 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.901e-06/0.3444, allocations: 6.359 kB / 457.2 MB, free: 24.12 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.422e-06/0.3444, allocations: 3.984 kB / 457.2 MB, free: 24.12 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.801e-06/0.3444, allocations: 3.031 kB / 457.2 MB, free: 24.12 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006467/0.3451, allocations: 0.6309 MB / 457.9 MB, free: 23.7 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.527e-06/0.3451, allocations: 5.188 kB / 457.9 MB, free: 23.7 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005974/0.3457, allocations: 137.7 kB / 458 MB, free: 23.69 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.553e-06/0.3457, allocations: 7.562 kB / 458 MB, free: 23.68 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.111e-05/0.3458, allocations: 26.11 kB / 458 MB, free: 23.67 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.31e-06/0.3458, allocations: 3.25 kB / 458 MB, free: 23.67 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.084e-06/0.3458, allocations: 1.156 kB / 458.1 MB, free: 23.67 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009495/0.3467, allocations: 0.7591 MB / 458.8 MB, free: 23.21 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001479/0.3469, allocations: 157.9 kB / 459 MB, free: 23.07 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.083e-05/0.347, allocations: 11.25 kB / 459 MB, free: 23.06 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002399/0.3472, allocations: 23.36 kB / 459 MB, free: 23.05 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.675e-05/0.3473, allocations: 40.09 kB / 459 MB, free: 23.04 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.252e-05/0.3473, allocations: 19.34 kB / 459.1 MB, free: 23.04 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002576/0.3476, allocations: 271.5 kB / 459.3 MB, free: 22.9 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.3476, allocations: 1.062 kB / 459.3 MB, free: 22.9 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0008888/0.3485, allocations: 317.6 kB / 459.6 MB, free: 22.82 MB / 350.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 (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.0006358/0.3492, allocations: 419.6 kB / 460 MB, free: 22.62 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0006537/0.3498, allocations: 435.8 kB / 460.5 MB, free: 22.48 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.3498, allocations: 0 / 460.5 MB, free: 22.48 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002733/0.3501, allocations: 207.5 kB / 460.7 MB, free: 22.41 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005751/0.3507, allocations: 110.3 kB / 460.8 MB, free: 22.38 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001738/0.3524, allocations: 1.509 MB / 462.3 MB, free: 21.45 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003388/0.3528, allocations: 0.904 MB / 463.2 MB, free: 20.74 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0004671/0.3533, allocations: 118.8 kB / 463.3 MB, free: 20.7 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001534/0.3534, allocations: 75.47 kB / 463.4 MB, free: 20.69 MB / 350.1 MB Notification: Performance of SimCode: time 2.5e-07/0.3534, allocations: 0 / 463.4 MB, free: 20.69 MB / 350.1 MB Notification: Performance of Templates: time 0.01767/0.3711, allocations: 9.128 MB / 472.5 MB, free: 19.43 MB / 350.1 MB make -j1 -f Chemical_Chemical.Examples.SimpleReaction.makefile Environment - environmentSimulation: (rm -f Chemical_Chemical.Examples.SimpleReaction.pipe ; mkfifo Chemical_Chemical.Examples.SimpleReaction.pipe ; head -c 1048576 < Chemical_Chemical.Examples.SimpleReaction.pipe >> ../files/Chemical_Chemical.Examples.SimpleReaction.sim & ./Chemical_Chemical.Examples.SimpleReaction -abortSlowSimulation -alarm=480 -lv LOG_STATS > Chemical_Chemical.Examples.SimpleReaction.pipe 2>&1) Environment - environmentSimulation: