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.008222/0.008222, allocations: 100.9 kB / 15.73 MB, free: 6.445 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.001642/0.001642, allocations: 193.9 kB / 16.68 MB, free: 6.355 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.414/1.414, allocations: 222.9 MB / 240.4 MB, free: 4.32 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 1.4.1-master/package.mo): time 0.3148/0.3148, allocations: 15.32 MB / 305.8 MB, free: 15.22 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001434/0.001434, allocations: 67.89 kB / 425.2 MB, free: 13.11 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3765/0.3779, allocations: 53.6 MB / 478.8 MB, free: 26.01 MB / 366.1 MB Notification: Performance of NFInst.instantiate(Chemical.Examples.ExothermicReaction): time 0.01064/0.3886, allocations: 8.556 MB / 487.4 MB, free: 19.7 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.02734/0.416, allocations: 23.24 MB / 0.4986 GB, free: 0.7383 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002872/0.419, allocations: 21.62 kB / 0.4987 GB, free: 0.7305 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00208/0.4211, allocations: 0.516 MB / 0.4992 GB, free: 328 kB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.009393/0.4306, allocations: 2.006 MB / 0.5011 GB, free: 14.75 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01192/0.4426, allocations: 3.002 MB / 0.504 GB, free: 12.4 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.005134/0.4477, allocations: 2.503 MB / 0.5065 GB, free: 10.62 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002182/0.4499, allocations: 1.427 MB / 0.5079 GB, free: 9.145 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002111/0.452, allocations: 1.231 MB / 0.5091 GB, free: 7.91 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002349/0.4544, allocations: 1.351 MB / 0.5104 GB, free: 6.555 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003634/0.4548, allocations: 216 kB / 0.5106 GB, free: 6.344 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01153/0.4663, allocations: 2.594 MB / 0.5131 GB, free: 3.742 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0009958/0.4674, allocations: 0.5179 MB / 0.5137 GB, free: 3.223 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001903/0.4693, allocations: 1.081 MB / 0.5147 GB, free: 2.137 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01662/0.4859, allocations: 5.033 MB / 0.5196 GB, free: 13.09 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.828e-06/0.486, allocations: 0 / 0.5196 GB, free: 13.09 MB / 398.1 MB Notification: Performance of FrontEnd: time 4.008e-06/0.486, allocations: 4 kB / 0.5196 GB, free: 13.08 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.063e-05/0.4861, allocations: 3.938 kB / 0.5196 GB, free: 13.08 MB / 398.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.005941/0.492, allocations: 2.658 MB / 0.5222 GB, free: 10.36 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.303e-05/0.4921, allocations: 12.03 kB / 0.5222 GB, free: 10.35 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001794/0.4939, allocations: 413.8 kB / 0.5226 GB, free: 9.945 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001689/0.4956, allocations: 0.9515 MB / 0.5236 GB, free: 8.949 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001928/0.4958, allocations: 199.5 kB / 0.5238 GB, free: 8.742 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003052/0.4961, allocations: 188.3 kB / 0.5239 GB, free: 8.559 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003558/0.4997, allocations: 2.086 MB / 0.526 GB, free: 6.441 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.57e-05/0.4997, allocations: 0 / 0.526 GB, free: 6.441 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001715/0.4999, allocations: 72 kB / 0.526 GB, free: 6.371 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.469e-05/0.4999, allocations: 40 kB / 0.5261 GB, free: 6.332 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004281/0.5042, allocations: 2.581 MB / 0.5286 GB, free: 3.75 MB / 398.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.01125/0.5155, allocations: 6.341 MB / 0.5348 GB, free: 13.18 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004933/0.5204, allocations: 2.531 MB / 0.5373 GB, free: 10.59 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001228/0.5217, allocations: 0.8512 MB / 0.5381 GB, free: 9.73 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01166/0.5334, allocations: 8.065 MB / 0.546 GB, free: 0.7383 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.605e-05/0.5335, allocations: 47.69 kB / 0.546 GB, free: 0.6836 MB / 414.1 MB Notification: Performance of pre-optimization done (n=122): time 3.357e-06/0.5335, allocations: 3.938 kB / 0.546 GB, free: 0.6797 MB / 414.1 MB Notification: Performance of matching and sorting (n=150): time 0.02639/0.5599, allocations: 6.191 MB / 0.5521 GB, free: 10.31 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.811e-05/0.56, allocations: 90.42 kB / 0.5521 GB, free: 10.21 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001239/0.5612, allocations: 0.9451 MB / 0.5531 GB, free: 9.246 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001298/0.5614, allocations: 49.7 kB / 0.5531 GB, free: 9.191 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005578/0.5619, allocations: 0.8327 MB / 0.5539 GB, free: 8.344 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004859/0.5624, allocations: 0.5083 MB / 0.5544 GB, free: 7.828 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004945/0.5629, allocations: 375.2 kB / 0.5548 GB, free: 7.453 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.000131/0.5631, allocations: 301.1 kB / 0.5551 GB, free: 7.156 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009187/0.564, allocations: 0.5272 MB / 0.5556 GB, free: 6.625 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001455/0.5654, allocations: 1.247 MB / 0.5568 GB, free: 5.039 MB / 430.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.002789/0.5682, allocations: 2.052 MB / 0.5588 GB, free: 2.641 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.816e-06/0.5683, allocations: 4 kB / 0.5588 GB, free: 2.637 MB / 430.1 MB Notification: Performance of matching and sorting (n=258) (initialization): time 0.007926/0.5762, allocations: 2.537 MB / 0.5613 GB, free: 80 kB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.463e-05/0.5763, allocations: 18.19 kB / 0.5613 GB, free: 64 kB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.316e-05/0.5763, allocations: 24 kB / 0.5613 GB, free: 40 kB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005574/0.5819, allocations: 0.698 MB / 0.562 GB, free: 15.33 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002922/0.5848, allocations: 0.5304 MB / 0.5625 GB, free: 14.8 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01368/0.5985, allocations: 8.261 MB / 0.5706 GB, free: 5.984 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0019/0.6005, allocations: 76.03 kB / 0.5707 GB, free: 5.91 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004769/0.601, allocations: 112.3 kB / 0.5708 GB, free: 5.801 MB / 446.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.00121/0.6022, allocations: 373.1 kB / 0.5711 GB, free: 5.426 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005398/0.6028, allocations: 146.2 kB / 0.5713 GB, free: 5.281 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009112/0.6119, allocations: 2.479 MB / 0.5737 GB, free: 2.738 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.607e-05/0.6119, allocations: 16 kB / 0.5737 GB, free: 2.723 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.05e-05/0.612, allocations: 0 / 0.5737 GB, free: 2.723 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.96e-05/0.612, allocations: 15.91 kB / 0.5737 GB, free: 2.707 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006553/0.6186, allocations: 2.527 MB / 0.5762 GB, free: 88 kB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.706e-05/0.6186, allocations: 3.984 kB / 0.5762 GB, free: 84 kB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001528/0.6201, allocations: 316 kB / 0.5765 GB, free: 15.77 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.006304/0.6265, allocations: 0.7377 MB / 0.5772 GB, free: 15.02 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000249/0.6267, allocations: 43.92 kB / 0.5773 GB, free: 14.97 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01265/0.6394, allocations: 9.492 MB / 0.5865 GB, free: 4.777 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.714e-06/0.6395, allocations: 11.88 kB / 0.5865 GB, free: 4.766 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009564/0.649, allocations: 2.807 MB / 0.5893 GB, free: 1.895 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006192/0.6497, allocations: 199.5 kB / 0.5895 GB, free: 1.68 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004052/0.6501, allocations: 35.98 kB / 0.5895 GB, free: 1.645 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001139/0.6513, allocations: 35.94 kB / 0.5895 GB, free: 1.609 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003884/0.6517, allocations: 132.8 kB / 0.5897 GB, free: 1.484 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001232/0.6518, allocations: 51.98 kB / 0.5897 GB, free: 1.434 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.001259/0.6531, allocations: 0.6342 MB / 0.5903 GB, free: 0.793 MB / 462.1 MB Notification: Performance of sort global known variables: time 3.3e-07/0.6531, allocations: 0 / 0.5903 GB, free: 0.793 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.004373/0.6575, allocations: 1.05 MB / 0.5914 GB, free: 15.74 MB / 478.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.003039/0.6605, allocations: 1.091 MB / 0.5924 GB, free: 14.64 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.004356/0.6649, allocations: 2.084 MB / 0.5945 GB, free: 12.51 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 8.175e-06/0.6649, allocations: 0 / 0.5945 GB, free: 12.51 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002449/0.6674, allocations: 1.375 MB / 0.5958 GB, free: 11.07 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00244/0.6698, allocations: 330.1 kB / 0.5961 GB, free: 10.75 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006966/0.6768, allocations: 2.986 MB / 0.599 GB, free: 7.703 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001132/0.678, allocations: 1.271 MB / 0.6003 GB, free: 6.406 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.001485/0.6795, allocations: 327.8 kB / 0.6006 GB, free: 6.082 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004813/0.68, allocations: 203.3 kB / 0.6008 GB, free: 5.883 MB / 478.1 MB Notification: Performance of SimCode: time 1.523e-06/0.68, allocations: 0 / 0.6008 GB, free: 5.883 MB / 478.1 MB Notification: Performance of Templates: time 0.417/1.097, allocations: 38.36 MB / 0.6382 GB, free: 105.5 MB / 478.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 -lv LOG_STATS > Chemical_Chemical.Examples.ExothermicReaction.pipe 2>&1)