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.1359/0.1359, allocations: 15.26 MB / 31.21 MB, free: 3.102 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.0009399/0.0009396, allocations: 175.8 kB / 36.29 MB, free: 2.254 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.512/1.512, allocations: 223.3 MB / 264.5 MB, free: 6.188 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.0007988/0.000799, allocations: 102.4 kB / 319.9 MB, free: 3.133 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004697/0.0004696, allocations: 13.81 kB / 385.2 MB, free: 50.36 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1202/0.1206, allocations: 54.64 MB / 439.8 MB, free: 72 kB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3943/0.515, allocations: 100.6 MB / 0.5277 GB, free: 15.66 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004395/0.5155, allocations: 70.06 kB / 0.5278 GB, free: 15.66 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1669/0.6824, allocations: 66.92 MB / 0.5931 GB, free: 11.7 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.914e-06/0.6825, allocations: 0 / 0.5931 GB, free: 11.7 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.0001197/0.6826, allocations: 36 kB / 0.5932 GB, free: 11.66 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.006405/0.689, allocations: 2.179 MB / 0.5953 GB, free: 9.551 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.688e-05/0.6891, allocations: 8.875 kB / 0.5953 GB, free: 9.543 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002373/0.6915, allocations: 472.8 kB / 0.5957 GB, free: 9.137 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003143/0.6946, allocations: 1.107 MB / 0.5968 GB, free: 8.246 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002552/0.6949, allocations: 194.3 kB / 0.597 GB, free: 8.102 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007837/0.6957, allocations: 186.5 kB / 0.5972 GB, free: 7.98 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006342/0.7021, allocations: 3.059 MB / 0.6002 GB, free: 5.359 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.747e-05/0.7022, allocations: 7.938 kB / 0.6002 GB, free: 5.352 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003104/0.7025, allocations: 76 kB / 0.6003 GB, free: 5.277 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.25e-05/0.7025, allocations: 40 kB / 0.6003 GB, free: 5.238 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007083/0.7096, allocations: 4.396 MB / 0.6046 GB, free: 0.8398 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.01832/0.728, allocations: 8.884 MB / 0.6133 GB, free: 7.73 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00711/0.7351, allocations: 4.039 MB / 0.6172 GB, free: 3.613 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002339/0.7375, allocations: 1.504 MB / 0.6187 GB, free: 2.105 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007841/0.7383, allocations: 492.9 kB / 0.6191 GB, free: 1.625 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.503e-05/0.7384, allocations: 48.56 kB / 0.6192 GB, free: 1.566 MB / 410.7 MB Notification: Performance of pre-optimization done (n=195): time 3.988e-06/0.7384, allocations: 0 / 0.6192 GB, free: 1.566 MB / 410.7 MB Notification: Performance of matching and sorting (n=255): time 0.04459/0.783, allocations: 13.54 MB / 0.6324 GB, free: 3.848 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.935e-05/0.7832, allocations: 103.4 kB / 0.6325 GB, free: 3.727 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00204/0.7852, allocations: 1.118 MB / 0.6336 GB, free: 2.602 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0005449/0.7858, allocations: 69.7 kB / 0.6337 GB, free: 2.527 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005781/0.7864, allocations: 0.6221 MB / 0.6343 GB, free: 1.895 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001249/0.7876, allocations: 0.847 MB / 0.6351 GB, free: 1.035 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003486/0.788, allocations: 48 kB / 0.6352 GB, free: 0.9883 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0002828/0.7883, allocations: 402.7 kB / 0.6355 GB, free: 0.5898 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002851/0.7912, allocations: 1.559 MB / 0.6371 GB, free: 15.03 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003057/0.7942, allocations: 1.902 MB / 0.6389 GB, free: 13.01 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.005904/0.8002, allocations: 3.61 MB / 0.6424 GB, free: 9.281 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.788e-05/0.8002, allocations: 0 / 0.6424 GB, free: 9.281 MB / 442.7 MB Notification: Performance of matching and sorting (n=303) (initialization): time 0.01387/0.8141, allocations: 4.751 MB / 0.6471 GB, free: 4.5 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.113e-05/0.8142, allocations: 8.531 kB / 0.6471 GB, free: 4.492 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.635e-05/0.8142, allocations: 12 kB / 0.6471 GB, free: 4.48 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.008699/0.8229, allocations: 1.311 MB / 0.6484 GB, free: 3.152 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003014/0.826, allocations: 0.5344 MB / 0.6489 GB, free: 2.617 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01806/0.8441, allocations: 9.905 MB / 0.6586 GB, free: 8.117 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003113/0.8473, allocations: 103.9 kB / 0.6587 GB, free: 8.016 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006882/0.848, allocations: 103.9 kB / 0.6588 GB, free: 7.914 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.001769/0.8498, allocations: 385 kB / 0.6591 GB, free: 7.531 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007493/0.8506, allocations: 154.1 kB / 0.6593 GB, free: 7.379 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01478/0.8653, allocations: 4.643 MB / 0.6638 GB, free: 2.707 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.105e-05/0.8655, allocations: 24 kB / 0.6638 GB, free: 2.684 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.277e-05/0.8655, allocations: 7.938 kB / 0.6639 GB, free: 2.676 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.627e-05/0.8656, allocations: 11.95 kB / 0.6639 GB, free: 2.664 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02287/0.8885, allocations: 8.944 MB / 0.6726 GB, free: 9.523 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.033e-05/0.8886, allocations: 11.94 kB / 0.6726 GB, free: 9.512 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002527/0.8911, allocations: 479.3 kB / 0.6731 GB, free: 9.043 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.009357/0.9005, allocations: 1.321 MB / 0.6744 GB, free: 7.699 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005516/0.9011, allocations: 71.97 kB / 0.6744 GB, free: 7.629 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.2833/1.184, allocations: 10.6 MB / 0.6848 GB, free: 101.4 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.815e-06/1.184, allocations: 14.12 kB / 0.6848 GB, free: 101.4 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01603/1.201, allocations: 6.746 MB / 0.6914 GB, free: 100.6 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008504/1.201, allocations: 238.7 kB / 0.6916 GB, free: 100.6 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004019/1.202, allocations: 63.09 kB / 0.6917 GB, free: 100.6 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001299/1.203, allocations: 88.83 kB / 0.6918 GB, free: 100.6 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005226/1.204, allocations: 217.8 kB / 0.692 GB, free: 100.5 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001917/1.204, allocations: 88.89 kB / 0.692 GB, free: 100.5 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.001453/1.205, allocations: 0.7944 MB / 0.6928 GB, free: 100.4 MB / 474.7 MB Notification: Performance of sort global known variables: time 1.51e-07/1.205, allocations: 1.062 kB / 0.6928 GB, free: 100.4 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.005391/1.211, allocations: 1.232 MB / 0.694 GB, free: 100.4 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.002958/1.214, allocations: 1.272 MB / 0.6953 GB, free: 100.3 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.006804/1.221, allocations: 4.124 MB / 0.6993 GB, free: 99.81 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 1.742e-05/1.221, allocations: 1.5 kB / 0.6993 GB, free: 99.81 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004453/1.225, allocations: 2.482 MB / 0.7017 GB, free: 99.24 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003364/1.228, allocations: 371.1 kB / 0.7021 GB, free: 99.24 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00729/1.236, allocations: 5.031 MB / 0.707 GB, free: 97.16 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001058/1.237, allocations: 1.351 MB / 0.7083 GB, free: 96.44 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.001629/1.238, allocations: 308.9 kB / 0.7086 GB, free: 96.4 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004474/1.239, allocations: 173.9 kB / 0.7088 GB, free: 96.39 MB / 474.7 MB Notification: Performance of SimCode: time 9.72e-07/1.239, allocations: 2.438 kB / 0.7088 GB, free: 96.39 MB / 474.7 MB Notification: Performance of Templates: time 0.06499/1.304, allocations: 47.03 MB / 0.7547 GB, free: 91.95 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)