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.1-master/package.mo", uses=false) Using package Chemical with version 1.4.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 1.4.1-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.001154/0.001153, allocations: 92.16 kB / 16.02 MB, free: 80 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001532/0.001532, allocations: 180 kB / 16.92 MB, free: 6.652 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.377/1.377, allocations: 223.3 MB / 241 MB, free: 5.289 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 1.4.1-master/package.mo): time 0.1975/0.1975, allocations: 15.28 MB / 307.4 MB, free: 15.65 MB / 254.1 MB Warning: Ignoring unknown experiment annotation option: __Dymola_Algorithm = "Dassl" Notification: Performance of FrontEnd - loaded program: time 0.0002965/0.0002964, allocations: 11.98 kB / 372.7 MB, free: 3.574 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2768/0.2771, allocations: 54.62 MB / 427.4 MB, free: 40.24 MB / 350.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 1.4.1-master/package.mo:3019:6-3019: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.1-master/package.mo:3019:6-3019: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.0276/0.3048, allocations: 24.45 MB / 451.8 MB, free: 32.37 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.01141/0.3162, allocations: 11.48 MB / 463.3 MB, free: 24.95 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008365/0.3171, allocations: 18.12 kB / 463.3 MB, free: 24.95 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006821/0.3178, allocations: 241 kB / 463.6 MB, free: 24.82 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00254/0.3203, allocations: 0.8423 MB / 464.4 MB, free: 24.3 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003985/0.3243, allocations: 1.322 MB / 465.7 MB, free: 23.52 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0018/0.3261, allocations: 1.211 MB / 466.9 MB, free: 22.93 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007533/0.3269, allocations: 0.5753 MB / 467.5 MB, free: 22.68 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006773/0.3276, allocations: 0.5393 MB / 468 MB, free: 22.52 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007964/0.3284, allocations: 0.6181 MB / 468.7 MB, free: 22.29 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001206/0.3285, allocations: 55.19 kB / 468.7 MB, free: 22.29 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0045/0.333, allocations: 1.236 MB / 469.9 MB, free: 21.97 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002963/0.3334, allocations: 208.6 kB / 470.2 MB, free: 21.87 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006526/0.334, allocations: 0.5193 MB / 470.7 MB, free: 21.56 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002636/0.3367, allocations: 1.821 MB / 472.5 MB, free: 20.77 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.931e-06/0.3367, allocations: 4 kB / 472.5 MB, free: 20.77 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.974e-06/0.3367, allocations: 0 / 472.5 MB, free: 20.77 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.425e-05/0.3367, allocations: 0 / 472.5 MB, free: 20.77 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.002194/0.3389, allocations: 1.269 MB / 473.8 MB, free: 19.57 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.256e-05/0.339, allocations: 8.031 kB / 473.8 MB, free: 19.56 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008781/0.3399, allocations: 212.7 kB / 474 MB, free: 19.38 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006291/0.3405, allocations: 0.5397 MB / 474.5 MB, free: 18.87 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.058e-05/0.3406, allocations: 99.03 kB / 474.6 MB, free: 18.77 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000133/0.3407, allocations: 96.28 kB / 474.7 MB, free: 18.68 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00142/0.3422, allocations: 1.058 MB / 475.8 MB, free: 17.8 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.057e-05/0.3422, allocations: 0 / 475.8 MB, free: 17.8 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.406e-05/0.3423, allocations: 36 kB / 475.8 MB, free: 17.77 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.784e-05/0.3423, allocations: 20 kB / 475.8 MB, free: 17.75 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001656/0.344, allocations: 1.273 MB / 477.1 MB, free: 16.66 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.004274/0.3483, allocations: 3.444 MB / 480.5 MB, free: 13.58 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001944/0.3502, allocations: 1.533 MB / 482.1 MB, free: 12.12 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005531/0.3508, allocations: 435.2 kB / 482.5 MB, free: 11.73 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004182/0.355, allocations: 3.968 MB / 486.5 MB, free: 7.691 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.924e-05/0.355, allocations: 39.88 kB / 486.5 MB, free: 7.645 MB / 350.1 MB Notification: Performance of pre-optimization done (n=56): time 2.275e-06/0.355, allocations: 4 kB / 486.5 MB, free: 7.641 MB / 350.1 MB Notification: Performance of matching and sorting (n=63): time 0.002952/0.358, allocations: 1.662 MB / 488.2 MB, free: 6.031 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.96e-05/0.358, allocations: 59.97 kB / 488.2 MB, free: 5.961 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005149/0.3586, allocations: 0.5131 MB / 488.7 MB, free: 5.512 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.482e-05/0.3586, allocations: 33.7 kB / 488.8 MB, free: 5.473 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002102/0.3588, allocations: 458.2 kB / 489.2 MB, free: 5.059 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001258/0.359, allocations: 225.5 kB / 489.4 MB, free: 4.855 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.434e-05/0.359, allocations: 81.2 kB / 489.5 MB, free: 4.781 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 9.009e-05/0.3591, allocations: 372.4 kB / 489.9 MB, free: 4.43 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003348/0.3595, allocations: 218.1 kB / 490.1 MB, free: 4.246 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004652/0.36, allocations: 0.5306 MB / 490.6 MB, free: 3.605 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008232/0.3608, allocations: 0.8116 MB / 491.4 MB, free: 2.672 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.839e-06/0.3608, allocations: 7.938 kB / 491.5 MB, free: 2.664 MB / 350.1 MB Notification: Performance of matching and sorting (n=115) (initialization): time 0.001146/0.362, allocations: 0.8458 MB / 492.3 MB, free: 1.875 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.155e-05/0.362, allocations: 12.75 kB / 492.3 MB, free: 1.863 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.312e-05/0.362, allocations: 8.844 kB / 492.3 MB, free: 1.855 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.558e-05/0.362, allocations: 19.94 kB / 492.3 MB, free: 1.836 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009103/0.363, allocations: 270.8 kB / 492.6 MB, free: 1.605 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.208e-05/0.363, allocations: 22.61 kB / 492.6 MB, free: 1.586 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005266/0.3635, allocations: 54.97 kB / 492.7 MB, free: 1.539 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.054e-05/0.3636, allocations: 50.06 kB / 492.7 MB, free: 1.492 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002666/0.3639, allocations: 232.9 kB / 493 MB, free: 1.258 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.117e-05/0.364, allocations: 67.16 kB / 493 MB, free: 1.191 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001205/0.3652, allocations: 0.6947 MB / 493.7 MB, free: 0.5703 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.572e-06/0.3652, allocations: 4.703 kB / 493.7 MB, free: 0.5664 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.22e-06/0.3652, allocations: 0 / 493.7 MB, free: 0.5664 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.082e-05/0.3652, allocations: 3.375 kB / 493.7 MB, free: 0.5664 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001021/0.3662, allocations: 0.7731 MB / 494.5 MB, free: 15.86 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.088e-06/0.3663, allocations: 0 / 494.5 MB, free: 15.86 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007706/0.367, allocations: 179.6 kB / 494.7 MB, free: 15.71 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.895e-06/0.3671, allocations: 4 kB / 494.7 MB, free: 15.71 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.304e-05/0.3671, allocations: 21.86 kB / 494.7 MB, free: 15.69 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.432e-06/0.3671, allocations: 4.891 kB / 494.7 MB, free: 15.68 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.176e-06/0.3671, allocations: 4.125 kB / 494.7 MB, free: 15.68 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001424/0.3686, allocations: 0.9502 MB / 495.7 MB, free: 14.77 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002758/0.3689, allocations: 185.6 kB / 495.8 MB, free: 14.59 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.308e-05/0.3689, allocations: 20.55 kB / 495.9 MB, free: 14.57 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003174/0.3693, allocations: 27.19 kB / 495.9 MB, free: 14.55 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001123/0.3694, allocations: 45.39 kB / 495.9 MB, free: 14.52 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.446e-05/0.3694, allocations: 30.2 kB / 496 MB, free: 14.49 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0003834/0.3698, allocations: 338.3 kB / 496.3 MB, free: 14.21 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.3698, allocations: 0 / 496.3 MB, free: 14.21 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.001453/0.3713, allocations: 476.3 kB / 496.8 MB, free: 13.76 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.001134/0.3724, allocations: 0.5944 MB / 497.3 MB, free: 13.21 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001101/0.3736, allocations: 0.5968 MB / 497.9 MB, free: 12.68 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.416e-06/0.3736, allocations: 1.875 kB / 497.9 MB, free: 12.68 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003935/0.374, allocations: 289.3 kB / 498.2 MB, free: 12.42 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009561/0.3749, allocations: 151.4 kB / 498.4 MB, free: 12.29 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002776/0.3777, allocations: 1.982 MB / 0.4886 GB, free: 10.43 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005838/0.3783, allocations: 0.9577 MB / 0.4896 GB, free: 9.543 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003256/0.3787, allocations: 128.5 kB / 0.4897 GB, free: 9.434 MB / 366.1 MB Notification: Performance of SimCode: time 6.11e-07/0.3787, allocations: 0 / 0.4897 GB, free: 9.434 MB / 366.1 MB Notification: Performance of Templates: time 0.02027/0.3989, allocations: 12.25 MB / 0.5017 GB, free: 14.27 MB / 382.1 MB make -j1 -f Chemical_Chemical.Examples.SimpleReaction2.makefile (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)