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/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.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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001429/0.00143, allocations: 103.3 kB / 16.35 MB, free: 5.824 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001464/0.001464, allocations: 190.5 kB / 17.29 MB, free: 5.48 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.365/1.365, allocations: 222.9 MB / 241 MB, free: 14.96 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 1.4.1-master/package.mo): time 0.08389/0.08389, allocations: 15.3 MB / 306.4 MB, free: 15.41 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001251/0.001251, allocations: 63.75 kB / 371.7 MB, free: 50.66 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08986/0.09113, allocations: 53.62 MB / 425.3 MB, free: 13.3 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Chemical.Examples.ExothermicReaction): time 0.00685/0.09802, allocations: 8.551 MB / 433.9 MB, free: 4.719 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.02702/0.1251, allocations: 23.25 MB / 457.1 MB, free: 13.38 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001156/0.1263, allocations: 23.88 kB / 457.2 MB, free: 13.35 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001317/0.1276, allocations: 0.5196 MB / 457.7 MB, free: 12.83 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005305/0.133, allocations: 2.005 MB / 459.7 MB, free: 10.81 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00734/0.1403, allocations: 3.002 MB / 462.7 MB, free: 7.789 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.003218/0.1436, allocations: 2.492 MB / 465.2 MB, free: 5.285 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001769/0.1454, allocations: 1.427 MB / 466.6 MB, free: 3.809 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001399/0.1468, allocations: 1.223 MB / 467.8 MB, free: 2.582 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00158/0.1484, allocations: 1.359 MB / 469.2 MB, free: 1.219 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002678/0.1486, allocations: 216 kB / 469.4 MB, free: 1.008 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.007292/0.1559, allocations: 2.598 MB / 472 MB, free: 14.41 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00058/0.1566, allocations: 0.5063 MB / 472.5 MB, free: 13.9 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00135/0.1579, allocations: 1.097 MB / 473.6 MB, free: 12.8 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0101/0.168, allocations: 5.01 MB / 478.6 MB, free: 7.77 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.34e-06/0.1681, allocations: 0 / 478.6 MB, free: 7.77 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.044e-06/0.1681, allocations: 0 / 478.6 MB, free: 7.77 MB / 350.1 MB Notification: Performance of Transformations before backend: time 3.314e-05/0.1681, allocations: 0 / 478.6 MB, free: 7.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: 455 * Number of variables: 455 Notification: Performance of Generate backend data structure: time 0.005189/0.1733, allocations: 2.662 MB / 481.3 MB, free: 5.051 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.576e-05/0.1734, allocations: 15.97 kB / 481.3 MB, free: 5.035 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001839/0.1752, allocations: 413.8 kB / 481.7 MB, free: 4.629 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001807/0.177, allocations: 0.9632 MB / 482.7 MB, free: 3.625 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002159/0.1773, allocations: 191.5 kB / 482.9 MB, free: 3.426 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000308/0.1776, allocations: 184.3 kB / 483 MB, free: 3.246 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003595/0.1812, allocations: 2.086 MB / 485.1 MB, free: 1.129 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.27e-05/0.1812, allocations: 7.938 kB / 485.1 MB, free: 1.121 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001727/0.1814, allocations: 68 kB / 485.2 MB, free: 1.055 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.389e-05/0.1815, allocations: 44 kB / 485.2 MB, free: 1.012 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004191/0.1857, allocations: 2.581 MB / 487.8 MB, free: 14.43 MB / 366.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.01051/0.1962, allocations: 6.334 MB / 494.2 MB, free: 7.867 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004937/0.2011, allocations: 2.534 MB / 496.7 MB, free: 5.266 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001296/0.2025, allocations: 0.8473 MB / 497.5 MB, free: 4.41 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0107/0.2132, allocations: 8.076 MB / 0.4938 GB, free: 11.41 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.381e-05/0.2133, allocations: 43.69 kB / 0.4938 GB, free: 11.36 MB / 382.1 MB Notification: Performance of pre-optimization done (n=122): time 2.946e-06/0.2133, allocations: 0 / 0.4938 GB, free: 11.36 MB / 382.1 MB Notification: Performance of matching and sorting (n=150): time 0.0288/0.2421, allocations: 6.176 MB / 0.4998 GB, free: 5.004 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.984e-05/0.2422, allocations: 98.36 kB / 0.4999 GB, free: 4.891 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001144/0.2433, allocations: 0.9373 MB / 0.5008 GB, free: 3.938 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001639/0.2435, allocations: 53.7 kB / 0.5009 GB, free: 3.879 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005328/0.244, allocations: 0.8327 MB / 0.5017 GB, free: 3.031 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004372/0.2445, allocations: 0.516 MB / 0.5022 GB, free: 2.508 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005097/0.245, allocations: 371.3 kB / 0.5026 GB, free: 2.137 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 9.58e-05/0.2451, allocations: 305.1 kB / 0.5029 GB, free: 1.836 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009371/0.2461, allocations: 0.531 MB / 0.5034 GB, free: 1.301 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.1818/0.4279, allocations: 1.238 MB / 0.5046 GB, free: 78.11 MB / 382.1 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.003285/0.4312, allocations: 2.043 MB / 0.5066 GB, free: 77.11 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.38e-05/0.4312, allocations: 8.219 kB / 0.5066 GB, free: 77.11 MB / 382.1 MB Notification: Performance of matching and sorting (n=258) (initialization): time 0.009691/0.4409, allocations: 2.545 MB / 0.5091 GB, free: 76.86 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.461e-05/0.441, allocations: 11.78 kB / 0.5091 GB, free: 76.86 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.564e-05/0.441, allocations: 24.16 kB / 0.5091 GB, free: 76.86 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005979/0.447, allocations: 0.7025 MB / 0.5098 GB, free: 76.82 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001988/0.449, allocations: 0.5175 MB / 0.5103 GB, free: 76.78 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01102/0.4601, allocations: 8.254 MB / 0.5184 GB, free: 69.71 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001528/0.4616, allocations: 73.36 kB / 0.5184 GB, free: 69.68 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001949/0.4618, allocations: 112.2 kB / 0.5185 GB, free: 69.67 MB / 382.1 MB Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization system: 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: 107 * 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 (241): * Single equations (assignments): 237 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(3,6,77.8%), (1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,3), (1,3)} Notification: Performance of prepare postOptimizeDAE: time 0.0007211/0.4626, allocations: 378.7 kB / 0.5189 GB, free: 69.39 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003113/0.4629, allocations: 139.4 kB / 0.519 GB, free: 69.39 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009266/0.4722, allocations: 2.486 MB / 0.5215 GB, free: 68.44 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.675e-05/0.4722, allocations: 14.47 kB / 0.5215 GB, free: 68.44 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.823e-05/0.4723, allocations: 2.75 kB / 0.5215 GB, free: 68.44 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.585e-05/0.4723, allocations: 8.531 kB / 0.5215 GB, free: 68.44 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005454/0.4778, allocations: 2.528 MB / 0.5239 GB, free: 67.23 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.275e-05/0.4778, allocations: 6.266 kB / 0.524 GB, free: 67.23 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001461/0.4793, allocations: 314.1 kB / 0.5243 GB, free: 67.21 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.006629/0.4859, allocations: 0.7493 MB / 0.525 GB, free: 67.06 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002008/0.4861, allocations: 43.16 kB / 0.525 GB, free: 67.04 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01041/0.4966, allocations: 9.49 MB / 0.5343 GB, free: 58.56 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.309e-06/0.4966, allocations: 3.906 kB / 0.5343 GB, free: 58.56 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008855/0.5055, allocations: 2.816 MB / 0.537 GB, free: 57.07 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004582/0.506, allocations: 203 kB / 0.5372 GB, free: 56.89 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002125/0.5062, allocations: 29.31 kB / 0.5373 GB, free: 56.87 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008149/0.507, allocations: 39.39 kB / 0.5373 GB, free: 56.84 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002955/0.5073, allocations: 125 kB / 0.5374 GB, free: 56.77 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.149e-05/0.5074, allocations: 53.33 kB / 0.5375 GB, free: 56.75 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0007241/0.5081, allocations: 0.6293 MB / 0.5381 GB, free: 56.4 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.5081, allocations: 0 / 0.5381 GB, free: 56.4 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.003367/0.5115, allocations: 1.052 MB / 0.5391 GB, free: 56.27 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * 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 (137): * Single equations (assignments): 132 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,3,100.0%), (2,7,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 3 systems {(1,3), (1,1), (2,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001949/0.5135, allocations: 1.105 MB / 0.5402 GB, free: 55.73 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.003251/0.5167, allocations: 2.078 MB / 0.5422 GB, free: 53.61 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 5.941e-06/0.5168, allocations: 4 kB / 0.5422 GB, free: 53.61 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001794/0.5186, allocations: 1.36 MB / 0.5436 GB, free: 52.18 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001586/0.5202, allocations: 330.8 kB / 0.5439 GB, free: 51.88 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005831/0.526, allocations: 3 MB / 0.5468 GB, free: 48.84 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000793/0.5269, allocations: 1.264 MB / 0.548 GB, free: 47.54 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.001283/0.5282, allocations: 331 kB / 0.5484 GB, free: 47.23 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000382/0.5285, allocations: 203.3 kB / 0.5485 GB, free: 47.03 MB / 382.1 MB Notification: Performance of SimCode: time 1.112e-06/0.5286, allocations: 0 / 0.5485 GB, free: 47.03 MB / 382.1 MB Notification: Performance of Templates: time 0.04313/0.5717, allocations: 37.34 MB / 0.585 GB, free: 9.891 MB / 382.1 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 -s gbode -lv LOG_STATS > Chemical_Chemical.Examples.ExothermicReaction.pipe 2>&1)