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.1306/0.1306, allocations: 15.26 MB / 30.21 MB, free: 3.297 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.001096/0.001096, allocations: 181.1 kB / 35.29 MB, free: 2.379 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.513/1.513, allocations: 223.2 MB / 263.4 MB, free: 6.543 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.0009016/0.0009015, allocations: 96.3 kB / 318.8 MB, free: 3.473 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003693/0.0003694, allocations: 7.812 kB / 383.9 MB, free: 50.75 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0954/0.09579, allocations: 54.64 MB / 438.6 MB, free: 440 kB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3572/0.453, allocations: 100.5 MB / 0.5264 GB, free: 15.65 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003016/0.4534, allocations: 69.97 kB / 0.5265 GB, free: 15.65 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1527/0.6061, allocations: 67.33 MB / 0.5923 GB, free: 11.77 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.355e-06/0.6062, allocations: 0 / 0.5923 GB, free: 11.77 MB / 394.7 MB Notification: Performance of Transformations before backend: time 7.424e-05/0.6063, allocations: 40 kB / 0.5923 GB, free: 11.73 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.005692/0.612, allocations: 2.183 MB / 0.5944 GB, free: 9.613 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.485e-05/0.612, allocations: 15.97 kB / 0.5944 GB, free: 9.598 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002122/0.6142, allocations: 480.2 kB / 0.5949 GB, free: 9.184 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002736/0.6169, allocations: 1.08 MB / 0.596 GB, free: 8.324 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000206/0.6171, allocations: 188.8 kB / 0.5961 GB, free: 8.184 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003865/0.6175, allocations: 195.5 kB / 0.5963 GB, free: 8.055 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004634/0.6222, allocations: 3.04 MB / 0.5993 GB, free: 5.477 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.619e-05/0.6223, allocations: 4 kB / 0.5993 GB, free: 5.473 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001689/0.6224, allocations: 68 kB / 0.5994 GB, free: 5.406 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.404e-05/0.6225, allocations: 44 kB / 0.5994 GB, free: 5.363 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006117/0.6286, allocations: 4.404 MB / 0.6037 GB, free: 0.957 MB / 394.7 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.01434/0.643, allocations: 8.88 MB / 0.6124 GB, free: 7.848 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006726/0.6497, allocations: 4.029 MB / 0.6163 GB, free: 3.746 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0008113/0.6506, allocations: 496.9 kB / 0.6168 GB, free: 3.262 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.078e-05/0.6506, allocations: 60.5 kB / 0.6168 GB, free: 3.191 MB / 410.7 MB Notification: Performance of pre-optimization done (n=195): time 4.168e-06/0.6507, allocations: 0 / 0.6168 GB, free: 3.191 MB / 410.7 MB Notification: Performance of matching and sorting (n=255): time 0.04797/0.6986, allocations: 13.53 MB / 0.6301 GB, free: 5.48 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.564e-05/0.6987, allocations: 103.4 kB / 0.6302 GB, free: 5.359 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001604/0.7004, allocations: 1.02 MB / 0.6311 GB, free: 4.332 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004022/0.7008, allocations: 65.7 kB / 0.6312 GB, free: 4.262 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004578/0.7012, allocations: 0.6339 MB / 0.6318 GB, free: 3.617 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.00106/0.7023, allocations: 0.843 MB / 0.6327 GB, free: 2.762 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002915/0.7026, allocations: 44 kB / 0.6327 GB, free: 2.719 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.000212/0.7029, allocations: 394.7 kB / 0.6331 GB, free: 2.328 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002341/0.7052, allocations: 1.563 MB / 0.6346 GB, free: 0.7617 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002572/0.7078, allocations: 1.902 MB / 0.6365 GB, free: 14.75 MB / 442.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.00275/0.7105, allocations: 1.81 MB / 0.6382 GB, free: 12.92 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.234e-05/0.7106, allocations: 4 kB / 0.6382 GB, free: 12.91 MB / 442.7 MB Notification: Performance of matching and sorting (n=303) (initialization): time 0.01351/0.7241, allocations: 4.747 MB / 0.6429 GB, free: 8.141 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.933e-05/0.7242, allocations: 10.03 kB / 0.6429 GB, free: 8.133 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.026e-05/0.7242, allocations: 8 kB / 0.6429 GB, free: 8.125 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01009/0.7343, allocations: 1.301 MB / 0.6442 GB, free: 6.805 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002984/0.7373, allocations: 0.5422 MB / 0.6447 GB, free: 6.262 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01723/0.7546, allocations: 10.02 MB / 0.6545 GB, free: 11.65 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002227/0.7569, allocations: 111.8 kB / 0.6546 GB, free: 11.54 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005415/0.7574, allocations: 95.95 kB / 0.6547 GB, free: 11.45 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. 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (269): * Single equations (assignments): 263 * 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 {(2,100.0%) 12,(1,100.0%) 3} * Non-linear torn systems: 4 {1 6,1 3,1 3,1 6} Notification: Performance of prepare postOptimizeDAE: time 0.001451/0.7589, allocations: 384 kB / 0.655 GB, free: 11.06 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006232/0.7595, allocations: 158.1 kB / 0.6552 GB, free: 10.91 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01469/0.7742, allocations: 4.65 MB / 0.6597 GB, free: 6.215 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.611e-05/0.7743, allocations: 28 kB / 0.6598 GB, free: 6.188 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.123e-05/0.7744, allocations: 4 kB / 0.6598 GB, free: 6.184 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.142e-05/0.7745, allocations: 15.94 kB / 0.6598 GB, free: 6.168 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02228/0.7968, allocations: 8.94 MB / 0.6685 GB, free: 13.04 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.608e-05/0.7969, allocations: 11.94 kB / 0.6685 GB, free: 13.03 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002613/0.7995, allocations: 484.1 kB / 0.669 GB, free: 12.55 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0105/0.81, allocations: 1.309 MB / 0.6703 GB, free: 11.22 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005539/0.8106, allocations: 71.97 kB / 0.6703 GB, free: 11.15 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.2819/1.093, allocations: 10.74 MB / 0.6808 GB, free: 102.8 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.288e-05/1.093, allocations: 13.03 kB / 0.6808 GB, free: 102.8 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01621/1.109, allocations: 7.164 MB / 0.6878 GB, free: 101.5 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005746/1.109, allocations: 239.2 kB / 0.688 GB, free: 101.4 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003483/1.11, allocations: 61.09 kB / 0.6881 GB, free: 101.4 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001252/1.111, allocations: 89.72 kB / 0.6882 GB, free: 101.4 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004084/1.111, allocations: 220.9 kB / 0.6884 GB, free: 101.4 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001649/1.112, allocations: 88.98 kB / 0.6885 GB, free: 101.4 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.0009417/1.113, allocations: 0.7956 MB / 0.6893 GB, free: 101.3 MB / 474.7 MB Notification: Performance of sort global known variables: time 1.5e-07/1.113, allocations: 2.406 kB / 0.6893 GB, free: 101.3 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.004265/1.117, allocations: 1.232 MB / 0.6905 GB, free: 101.3 MB / 474.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 37 * Number of states: 7 (A1.logn,B1.logn,H2O.logn,A.logn,B.logn,H2O1.amountOfBonds,H2O1.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 (244): * Single equations (assignments): 237 * 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: 7 * 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: 5 {1 3,1 6,1 6,1 1,2 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.002649/1.12, allocations: 1.262 MB / 0.6917 GB, free: 101.1 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.006847/1.126, allocations: 4.13 MB / 0.6957 GB, free: 100.7 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 1.265e-05/1.126, allocations: 1.188 kB / 0.6957 GB, free: 100.7 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003802/1.13, allocations: 2.487 MB / 0.6982 GB, free: 100.1 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002019/1.132, allocations: 324.3 kB / 0.6985 GB, free: 100.1 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006849/1.139, allocations: 5.013 MB / 0.7034 GB, free: 98 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001012/1.14, allocations: 1.398 MB / 0.7047 GB, free: 97.28 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.001648/1.142, allocations: 305.6 kB / 0.705 GB, free: 97.24 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000482/1.142, allocations: 172.2 kB / 0.7052 GB, free: 97.23 MB / 474.7 MB Notification: Performance of SimCode: time 1.072e-06/1.142, allocations: 0 / 0.7052 GB, free: 97.23 MB / 474.7 MB Notification: Performance of Templates: time 0.05847/1.201, allocations: 46.07 MB / 0.7502 GB, free: 94.61 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)