Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Chemical_Chemical.Examples.ExothermicReaction.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.ExothermicReaction,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Chemical_Chemical.Examples.ExothermicReaction") translateModel(Chemical.Examples.ExothermicReaction,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Chemical_Chemical.Examples.ExothermicReaction") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 1.4.0-master/package.mo): time 0.09835/0.09835, allocations: 15.26 MB / 22.73 MB, free: 0.9727 MB / 18.57 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00104/0.00104, allocations: 189 kB / 27.52 MB, free: 6.117 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.456/1.456, allocations: 221.5 MB / 253.7 MB, free: 10.38 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009186/0.0009187, allocations: 98.31 kB / 308.8 MB, free: 10.48 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 1.329e-05/1.326e-05, allocations: 2.781 kB / 369.6 MB, free: 53.91 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1039/0.1039, allocations: 54.64 MB / 424.2 MB, free: 13.86 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4638/0.5678, allocations: 99.79 MB / 0.5117 GB, free: 12.3 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002512/0.5681, allocations: 65.58 kB / 0.5118 GB, free: 12.3 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1535/0.7216, allocations: 66.15 MB / 0.5764 GB, free: 15.91 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.633e-06/0.7217, allocations: 4 kB / 0.5764 GB, free: 15.91 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.0001316/0.7218, allocations: 40 kB / 0.5764 GB, free: 15.87 MB / 394.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 455 * Number of variables: 455 Notification: Performance of Generate backend data structure: time 0.005781/0.7276, allocations: 2.069 MB / 0.5784 GB, free: 13.75 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.131e-05/0.7277, allocations: 16.02 kB / 0.5785 GB, free: 13.74 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002112/0.7298, allocations: 476.8 kB / 0.5789 GB, free: 13.27 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002608/0.7324, allocations: 1.077 MB / 0.58 GB, free: 12.17 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001774/0.7326, allocations: 139 kB / 0.5801 GB, free: 12.02 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005644/0.7332, allocations: 111.9 kB / 0.5802 GB, free: 11.91 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.006022/0.7392, allocations: 4.236 MB / 0.5843 GB, free: 7.672 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004414/0.7437, allocations: 2.399 MB / 0.5867 GB, free: 5.242 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.042e-05/0.7437, allocations: 3.984 kB / 0.5867 GB, free: 5.238 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001827/0.7439, allocations: 4 kB / 0.5867 GB, free: 5.234 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.917e-05/0.744, allocations: 47.95 kB / 0.5867 GB, free: 5.188 MB / 394.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.01516/0.7592, allocations: 8.573 MB / 0.5951 GB, free: 12.5 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006631/0.7658, allocations: 3.918 MB / 0.5989 GB, free: 8.508 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001962/0.7678, allocations: 1.434 MB / 0.6003 GB, free: 7.074 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007679/0.7686, allocations: 499.5 kB / 0.6008 GB, free: 6.602 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.234e-05/0.7687, allocations: 64.64 kB / 0.6009 GB, free: 6.531 MB / 410.7 MB Notification: Performance of pre-optimization done (n=195): time 4.368e-06/0.7687, allocations: 0 / 0.6009 GB, free: 6.531 MB / 410.7 MB Notification: Performance of matching and sorting (n=261): time 0.04783/0.8165, allocations: 12.88 MB / 0.6135 GB, free: 9.57 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.945e-05/0.8166, allocations: 111.7 kB / 0.6136 GB, free: 9.441 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001354/0.818, allocations: 0.8787 MB / 0.6144 GB, free: 8.559 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004088/0.8184, allocations: 25.7 kB / 0.6144 GB, free: 8.527 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004174/0.8188, allocations: 0.6337 MB / 0.6151 GB, free: 7.883 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009932/0.8198, allocations: 0.8389 MB / 0.6159 GB, free: 7.031 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003195/0.8202, allocations: 0 / 0.6159 GB, free: 7.031 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0002743/0.8205, allocations: 451.8 kB / 0.6163 GB, free: 6.582 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002456/0.8229, allocations: 1.676 MB / 0.618 GB, free: 4.902 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002674/0.8256, allocations: 1.984 MB / 0.6199 GB, free: 2.809 MB / 426.7 MB Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: solution_at_constant_temperature.temperature = solution_at_constant_temperature.temperature_start (fixedTemperature.T = solution_at_constant_temperature.temperature_start) Notification: Performance of analyzeInitialSystem (initialization): time 0.005409/0.831, allocations: 2.299 MB / 0.6221 GB, free: 0.4922 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.444e-05/0.8311, allocations: 4.188 kB / 0.6221 GB, free: 500 kB / 426.7 MB Notification: Performance of matching and sorting (n=316) (initialization): time 0.01534/0.8464, allocations: 5.213 MB / 0.6272 GB, free: 11.25 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.806e-05/0.8465, allocations: 11.94 kB / 0.6272 GB, free: 11.23 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.039e-05/0.8465, allocations: 8 kB / 0.6272 GB, free: 11.23 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.007423/0.8539, allocations: 1.18 MB / 0.6284 GB, free: 10.03 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002853/0.8568, allocations: 0.5539 MB / 0.6289 GB, free: 9.477 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01424/0.8711, allocations: 9.478 MB / 0.6382 GB, free: 15.49 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002867/0.874, allocations: 179.6 kB / 0.6384 GB, free: 15.31 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006511/0.8746, allocations: 123.9 kB / 0.6385 GB, free: 15.19 MB / 458.7 MB Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization sytem: solution_at_constant_temperature.temperature = solution_at_constant_temperature.temperature_start. Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: A1.solution.n:DUMMY_STATE(flow=false min = 0.0 max = 0.0 unit = "mol" ) "Amount of the solution" type: Real Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: A1.solution.I:VARIABLE(flow=false min = 0.0 max = 0.0 unit = "1" ) "Mole fraction based ionic strength of the solution" type: Real Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: A.solution.n:DUMMY_STATE(flow=false min = 0.0 max = 0.0 unit = "mol" ) "Amount of the solution" type: Real Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: A.solution.I:VARIABLE(flow=false min = 0.0 max = 0.0 unit = "1" ) "Mole fraction based ionic strength of the solution" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 34 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (272): * Single equations (assignments): 262 * Array equations: 4 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(2,100.0%) 12,(1,100.0%) 3} * Non-linear torn systems: 4 {1 6,1 3,1 6,1 3} Notification: Performance of prepare postOptimizeDAE: time 0.0009431/0.8756, allocations: 151.6 kB / 0.6386 GB, free: 15.04 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006972/0.8763, allocations: 146.2 kB / 0.6388 GB, free: 14.89 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01739/0.8937, allocations: 5.428 MB / 0.6441 GB, free: 9.43 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0176/0.9114, allocations: 4.935 MB / 0.6489 GB, free: 4.469 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.014e-05/0.9114, allocations: 0 / 0.6489 GB, free: 4.469 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.681e-05/0.9115, allocations: 23.89 kB / 0.6489 GB, free: 4.445 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02718/0.9387, allocations: 10.48 MB / 0.6592 GB, free: 9.82 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.13e-05/0.9388, allocations: 15.95 kB / 0.6592 GB, free: 9.805 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002505/0.9413, allocations: 487.2 kB / 0.6596 GB, free: 9.328 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01058/0.9519, allocations: 1.637 MB / 0.6612 GB, free: 7.676 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005691/0.9526, allocations: 47.94 kB / 0.6613 GB, free: 7.629 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.2872/1.24, allocations: 11.42 MB / 0.6724 GB, free: 111.6 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.009135/1.249, allocations: 4.316 MB / 0.6766 GB, free: 108.9 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0189/1.268, allocations: 8.127 MB / 0.6846 GB, free: 107.4 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006496/1.269, allocations: 254.1 kB / 0.6848 GB, free: 107.3 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004671/1.269, allocations: 23.36 kB / 0.6848 GB, free: 107.3 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001762/1.271, allocations: 107 kB / 0.685 GB, free: 107.3 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004784/1.271, allocations: 235.1 kB / 0.6852 GB, free: 107.2 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001733/1.272, allocations: 100.8 kB / 0.6853 GB, free: 107.2 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.000707/1.272, allocations: 0.682 MB / 0.6859 GB, free: 107.1 MB / 474.7 MB Notification: Performance of sort global known variables: time 1.323e-06/1.272, allocations: 0 / 0.6859 GB, free: 107.1 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.004512/1.277, allocations: 1.408 MB / 0.6873 GB, free: 107.1 MB / 474.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 43 * Number of states: 7 ($STATESET2.x[3],$STATESET2.x[2],$STATESET2.x[1],$STATESET1.x[4],$STATESET1.x[3],$STATESET1.x[2],$STATESET1.x[1]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (237): * Single equations (assignments): 231 * 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: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 3,(2,100.0%) 12} * Non-linear torn systems: 4 {1 6,4 6,1 6,5 8} Notification: Performance of Backend phase and start with SimCode phase: time 0.00214/1.279, allocations: 1.216 MB / 0.6885 GB, free: 107.1 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.005091/1.284, allocations: 4.264 MB / 0.6927 GB, free: 106.6 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 8.315e-06/1.284, allocations: 0 / 0.6927 GB, free: 106.6 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003351/1.287, allocations: 2.644 MB / 0.6952 GB, free: 106.2 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001721/1.289, allocations: 283.9 kB / 0.6955 GB, free: 106.2 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005827/1.295, allocations: 3.989 MB / 0.6994 GB, free: 105 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008374/1.296, allocations: 1.446 MB / 0.7008 GB, free: 104.2 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.001581/1.297, allocations: 322.5 kB / 0.7011 GB, free: 104.2 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005618/1.298, allocations: 184.9 kB / 0.7013 GB, free: 104.2 MB / 474.7 MB Notification: Performance of SimCode: time 9.11e-07/1.298, allocations: 6.438 kB / 0.7013 GB, free: 104.2 MB / 474.7 MB Notification: Performance of Templates: time 0.06015/1.358, allocations: 45.98 MB / 0.7462 GB, free: 92.9 MB / 474.7 MB make -j1 -f Chemical_Chemical.Examples.ExothermicReaction.makefile (rm -f Chemical_Chemical.Examples.ExothermicReaction.pipe ; mkfifo Chemical_Chemical.Examples.ExothermicReaction.pipe ; head -c 1048576 < Chemical_Chemical.Examples.ExothermicReaction.pipe >> ../files/Chemical_Chemical.Examples.ExothermicReaction.sim & ./Chemical_Chemical.Examples.ExothermicReaction -abortSlowSimulation -alarm=480 -lv LOG_STATS > Chemical_Chemical.Examples.ExothermicReaction.pipe 2>&1)