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/Chemical 1.4.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 Chemical with version 1.4.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 1.4.0-master/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/Chemical 1.4.0-master/package.mo): time 0.1141/0.1141, allocations: 15.26 MB / 27.82 MB, free: 5.395 MB / 24.77 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001044/0.001044, allocations: 188.4 kB / 32.7 MB, free: 0.5156 MB / 24.77 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.52/1.52, allocations: 221.4 MB / 258.8 MB, free: 15.98 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001046/0.001046, allocations: 95.62 kB / 314 MB, free: 15.76 MB / 250.7 MB Warning: Ignoring unknown experiment annotation option: __Dymola_Algorithm = "Dassl" Notification: Performance of FrontEnd - loaded program: time 3.801e-05/3.814e-05, allocations: 0 / 376.5 MB, free: 1.434 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4692/0.4692, allocations: 54.61 MB / 431.1 MB, free: 50.02 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1501/0.6194, allocations: 99.8 MB / 0.5185 GB, free: 15.46 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002329/0.6197, allocations: 68.5 kB / 0.5185 GB, free: 15.39 MB / 394.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 1.4.0-master/package.mo:4721:7-4721:66:writable] Warning: No corresponding 'inner' declaration found for component .Modelica.Fluid.System solution.system declared as 'outer '. The existing 'inner' components are: There are no 'inner' components defined in the model in any of the parent scopes of 'outer' component's scope: Chemical.Components.Solution. Check if you have not misspelled the 'outer' component name. Please declare an 'inner' component with the same name in the top scope. Continuing flattening by only considering the 'outer' component declaration. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 1.4.0-master/package.mo:3011:6-3011:65:writable] Warning: No corresponding 'inner' declaration found for component .Modelica.Fluid.System A.system declared as 'outer '. The existing 'inner' components are: There are no 'inner' components defined in the model in any of the parent scopes of 'outer' component's scope: Chemical.Components.Substance$A. Check if you have not misspelled the 'outer' component name. Please declare an 'inner' component with the same name in the top scope. Continuing flattening by only considering the 'outer' component declaration. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 1.4.0-master/package.mo:3011:6-3011:65:writable] Warning: No corresponding 'inner' declaration found for component .Modelica.Fluid.System B.system declared as 'outer '. The existing 'inner' components are: There are no 'inner' components defined in the model in any of the parent scopes of 'outer' component's scope: Chemical.Components.Substance$B. Check if you have not misspelled the 'outer' component name. Please declare an 'inner' component with the same name in the top scope. Continuing flattening by only considering the 'outer' component declaration. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 1.4.0-master/package.mo:3011:6-3011:65:writable] Warning: No corresponding 'inner' declaration found for component .Modelica.Fluid.System C.system declared as 'outer '. The existing 'inner' components are: There are no 'inner' components defined in the model in any of the parent scopes of 'outer' component's scope: Chemical.Components.Substance$C. Check if you have not misspelled the 'outer' component name. Please declare an 'inner' component with the same name in the top scope. Continuing flattening by only considering the 'outer' component declaration. Notification: Performance of FrontEnd - DAE generated: time 0.0878/0.7075, allocations: 34.34 MB / 0.5521 GB, free: 13.25 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.544e-06/0.7075, allocations: 0 / 0.5521 GB, free: 13.25 MB / 426.7 MB Notification: Performance of Transformations before backend: time 5.427e-05/0.7076, allocations: 28 kB / 0.5521 GB, free: 13.22 MB / 426.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.002559/0.7102, allocations: 1.262 MB / 0.5533 GB, free: 11.91 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.267e-05/0.7102, allocations: 8.031 kB / 0.5533 GB, free: 11.91 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008696/0.7111, allocations: 262.8 kB / 0.5536 GB, free: 11.65 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001326/0.7125, allocations: 0.7626 MB / 0.5543 GB, free: 10.84 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001062/0.7126, allocations: 91.7 kB / 0.5544 GB, free: 10.75 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001494/0.7127, allocations: 99.84 kB / 0.5545 GB, free: 10.65 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002107/0.7148, allocations: 1.494 MB / 0.556 GB, free: 9.137 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.117e-05/0.7149, allocations: 0 / 0.556 GB, free: 9.137 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.836e-05/0.715, allocations: 36 kB / 0.556 GB, free: 9.102 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.093e-05/0.715, allocations: 20 kB / 0.556 GB, free: 9.082 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002595/0.7176, allocations: 2.14 MB / 0.5581 GB, free: 6.938 MB / 426.7 MB Warning: The model contains alias variables with conflicting start and/or 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.006957/0.7246, allocations: 4.812 MB / 0.5628 GB, free: 1.949 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00289/0.7275, allocations: 2.142 MB / 0.5649 GB, free: 15.75 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009086/0.7284, allocations: 0.7724 MB / 0.5657 GB, free: 14.98 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004209/0.7288, allocations: 252.1 kB / 0.5659 GB, free: 14.73 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.447e-05/0.7289, allocations: 43.34 kB / 0.5659 GB, free: 14.68 MB / 442.7 MB Notification: Performance of pre-optimization done (n=98): time 3.557e-06/0.7289, allocations: 1.125 kB / 0.5659 GB, free: 14.68 MB / 442.7 MB Notification: Performance of matching and sorting (n=122): time 0.008663/0.7376, allocations: 4.746 MB / 0.5706 GB, free: 9.863 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.232e-05/0.7377, allocations: 64.41 kB / 0.5706 GB, free: 9.789 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00074/0.7384, allocations: 0.5581 MB / 0.5712 GB, free: 9.227 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 9.378e-05/0.7385, allocations: 45.7 kB / 0.5712 GB, free: 9.176 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003053/0.7388, allocations: 396.7 kB / 0.5716 GB, free: 8.781 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004344/0.7393, allocations: 417.9 kB / 0.572 GB, free: 8.367 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.67e-05/0.7393, allocations: 20 kB / 0.572 GB, free: 8.348 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0003095/0.7397, allocations: 398.7 kB / 0.5724 GB, free: 7.949 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001064/0.7407, allocations: 0.6899 MB / 0.5731 GB, free: 7.258 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001167/0.7419, allocations: 0.8147 MB / 0.5739 GB, free: 6.41 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001154/0.7431, allocations: 0.7624 MB / 0.5746 GB, free: 5.648 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.693e-06/0.7431, allocations: 5.172 kB / 0.5746 GB, free: 5.645 MB / 442.7 MB Notification: Performance of matching and sorting (n=138) (initialization): time 0.00295/0.7461, allocations: 1.816 MB / 0.5764 GB, free: 3.816 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.077e-05/0.7461, allocations: 8 kB / 0.5764 GB, free: 3.809 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.82e-05/0.7461, allocations: 8.328 kB / 0.5764 GB, free: 3.801 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006317/0.7468, allocations: 144.8 kB / 0.5765 GB, free: 3.656 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001446/0.7482, allocations: 283.6 kB / 0.5768 GB, free: 3.379 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001015/0.7493, allocations: 0.7787 MB / 0.5776 GB, free: 2.574 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008383/0.7501, allocations: 43.98 kB / 0.5776 GB, free: 2.531 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001005/0.7502, allocations: 51.92 kB / 0.5777 GB, free: 2.48 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (132): * Single equations (assignments): 131 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 6} Notification: Performance of prepare postOptimizeDAE: time 0.0002866/0.7505, allocations: 158.6 kB / 0.5778 GB, free: 2.32 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001818/0.7507, allocations: 90.88 kB / 0.5779 GB, free: 2.23 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003481/0.7542, allocations: 1.951 MB / 0.5798 GB, free: 284 kB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.599e-05/0.7542, allocations: 12 kB / 0.5798 GB, free: 272 kB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.125e-05/0.7542, allocations: 4 kB / 0.5798 GB, free: 268 kB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.006e-05/0.7543, allocations: 11.92 kB / 0.5798 GB, free: 256 kB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.3886/1.143, allocations: 3.978 MB / 0.5837 GB, free: 109.1 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.164e-05/1.143, allocations: 4.75 kB / 0.5837 GB, free: 109.1 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001383/1.144, allocations: 269.4 kB / 0.584 GB, free: 109.1 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004785/1.145, allocations: 142.5 kB / 0.5841 GB, free: 109.1 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.724e-05/1.145, allocations: 36.31 kB / 0.5842 GB, free: 109.1 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007175/1.146, allocations: 0.7811 MB / 0.5849 GB, free: 108.6 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.013e-05/1.146, allocations: 10.67 kB / 0.5849 GB, free: 108.6 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004557/1.15, allocations: 3.167 MB / 0.588 GB, free: 108.1 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006953/1.151, allocations: 264.7 kB / 0.5883 GB, free: 108 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001232/1.151, allocations: 27.55 kB / 0.5883 GB, free: 108 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006243/1.152, allocations: 47.41 kB / 0.5883 GB, free: 108 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002404/1.152, allocations: 99.02 kB / 0.5884 GB, free: 108 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.823e-05/1.152, allocations: 42.61 kB / 0.5885 GB, free: 108 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0006798/1.153, allocations: 452.9 kB / 0.5889 GB, free: 107.9 MB / 442.7 MB Notification: Performance of sort global known variables: time 1.3e-07/1.153, allocations: 2.406 kB / 0.5889 GB, free: 107.9 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.002269/1.155, allocations: 0.5723 MB / 0.5895 GB, free: 107.9 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 17 * Number of states: 4 (solution.temperature,A.logn,B.logn,C.logn) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (131): * Single equations (assignments): 130 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 6} Notification: Performance of Backend phase and start with SimCode phase: time 0.001793/1.157, allocations: 0.6725 MB / 0.5901 GB, free: 107.7 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.003347/1.16, allocations: 1.631 MB / 0.5917 GB, free: 107.7 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 7.253e-06/1.16, allocations: 1.719 kB / 0.5917 GB, free: 107.7 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001486/1.162, allocations: 0.8728 MB / 0.5926 GB, free: 107.7 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001796/1.164, allocations: 281.9 kB / 0.5928 GB, free: 107.7 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003719/1.167, allocations: 1.816 MB / 0.5946 GB, free: 107.2 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008223/1.168, allocations: 1.07 MB / 0.5957 GB, free: 106.5 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.0009638/1.169, allocations: 173.8 kB / 0.5958 GB, free: 106.5 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003244/1.169, allocations: 98.27 kB / 0.5959 GB, free: 106.5 MB / 442.7 MB Notification: Performance of SimCode: time 1.943e-06/1.169, allocations: 0 / 0.5959 GB, free: 106.5 MB / 442.7 MB Notification: Performance of Templates: time 0.04225/1.212, allocations: 21.49 MB / 0.6169 GB, free: 105.4 MB / 442.7 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)