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.0-master/package.mo", uses=false) Using package Chemical with version 1.4.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 1.4.0-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.0009634/0.0009632, allocations: 99.78 kB / 15.05 MB, free: 1.105 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.001066/0.001066, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.391/1.391, allocations: 223.2 MB / 239.9 MB, free: 5.414 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 1.4.0-master/package.mo): time 0.2306/0.2306, allocations: 15.26 MB / 306.2 MB, free: 15.76 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003158/0.000316, allocations: 8 kB / 371.4 MB, free: 3.988 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3191/0.3194, allocations: 54.62 MB / 426 MB, free: 40.06 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Chemical.Examples.ExothermicReaction): time 0.008247/0.3277, allocations: 7.718 MB / 433.7 MB, free: 37.76 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.02097/0.3488, allocations: 19.64 MB / 453.3 MB, free: 23.66 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001954/0.3508, allocations: 35.16 kB / 453.4 MB, free: 23.64 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00139/0.3522, allocations: 482.8 kB / 453.8 MB, free: 23.39 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006002/0.3582, allocations: 1.963 MB / 455.8 MB, free: 22.09 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.008595/0.3668, allocations: 2.674 MB / 458.5 MB, free: 20.46 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.003832/0.3707, allocations: 1.662 MB / 460.1 MB, free: 19.57 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001691/0.3724, allocations: 1.085 MB / 461.2 MB, free: 19.13 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001462/0.3739, allocations: 0.8757 MB / 462.1 MB, free: 18.78 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001353/0.3752, allocations: 1.167 MB / 463.3 MB, free: 18.36 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002102/0.3754, allocations: 118.7 kB / 463.4 MB, free: 18.36 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01168/0.3871, allocations: 2.796 MB / 466.2 MB, free: 17.84 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0009645/0.3882, allocations: 398.8 kB / 466.6 MB, free: 17.64 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001317/0.3895, allocations: 372.7 kB / 466.9 MB, free: 17.45 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008535/0.398, allocations: 2.999 MB / 469.9 MB, free: 16.47 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.767e-06/0.3981, allocations: 0 / 469.9 MB, free: 16.47 MB / 350.1 MB Notification: Performance of FrontEnd: time 3.697e-06/0.3981, allocations: 0 / 469.9 MB, free: 16.47 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.966e-05/0.3982, allocations: 0 / 469.9 MB, free: 16.47 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.00551/0.4037, allocations: 2.214 MB / 472.1 MB, free: 15.15 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.512e-05/0.4037, allocations: 9.188 kB / 472.1 MB, free: 15.15 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002121/0.4059, allocations: 412.6 kB / 472.6 MB, free: 15.03 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001711/0.4076, allocations: 0.8315 MB / 473.4 MB, free: 14.46 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001685/0.4078, allocations: 201.2 kB / 473.6 MB, free: 14.33 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003581/0.4081, allocations: 183.4 kB / 473.8 MB, free: 14.27 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003748/0.4119, allocations: 2.054 MB / 475.8 MB, free: 13.46 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.518e-05/0.412, allocations: 1.062 kB / 475.8 MB, free: 13.46 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000177/0.4121, allocations: 71.16 kB / 475.9 MB, free: 13.41 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.756e-05/0.4122, allocations: 47.38 kB / 475.9 MB, free: 13.41 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004482/0.4167, allocations: 2.568 MB / 478.5 MB, free: 12.66 MB / 350.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.01134/0.4281, allocations: 6.244 MB / 484.7 MB, free: 9.043 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00504/0.4331, allocations: 2.522 MB / 487.3 MB, free: 7.93 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0095/0.4427, allocations: 7.838 MB / 495.1 MB, free: 15.6 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.099e-05/0.4428, allocations: 51.69 kB / 495.2 MB, free: 15.54 MB / 366.1 MB Notification: Performance of pre-optimization done (n=122): time 3.697e-06/0.4428, allocations: 0 / 495.2 MB, free: 15.54 MB / 366.1 MB Notification: Performance of matching and sorting (n=150): time 0.02803/0.4708, allocations: 6.24 MB / 0.4896 GB, free: 9.141 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.999e-05/0.4709, allocations: 94.42 kB / 0.4897 GB, free: 9.031 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00119/0.4721, allocations: 0.9411 MB / 0.4906 GB, free: 8.074 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000232/0.4724, allocations: 49.7 kB / 0.4907 GB, free: 8.02 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005134/0.4729, allocations: 0.8366 MB / 0.4915 GB, free: 7.168 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004326/0.4733, allocations: 0.516 MB / 0.492 GB, free: 6.645 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.099e-05/0.4734, allocations: 40 kB / 0.4921 GB, free: 6.605 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001402/0.4736, allocations: 381.9 kB / 0.4924 GB, free: 6.227 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009113/0.4745, allocations: 0.5193 MB / 0.4929 GB, free: 5.703 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001297/0.4758, allocations: 1.228 MB / 0.4941 GB, free: 4.141 MB / 366.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.001378/0.4772, allocations: 0.8078 MB / 0.4949 GB, free: 3.312 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.328e-05/0.4772, allocations: 11.95 kB / 0.4949 GB, free: 3.301 MB / 366.1 MB Notification: Performance of matching and sorting (n=258) (initialization): time 0.008503/0.4857, allocations: 2.553 MB / 0.4974 GB, free: 0.7266 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.503e-05/0.4858, allocations: 16.12 kB / 0.4974 GB, free: 0.7109 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.58e-05/0.4858, allocations: 24 kB / 0.4975 GB, free: 0.6875 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005961/0.4918, allocations: 0.7407 MB / 0.4982 GB, free: 15.93 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002332/0.4942, allocations: 0.5227 MB / 0.4987 GB, free: 15.41 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01227/0.5065, allocations: 7.626 MB / 0.5061 GB, free: 7.25 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002144/0.5086, allocations: 115.8 kB / 0.5062 GB, free: 7.137 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002438/0.5089, allocations: 108 kB / 0.5064 GB, free: 7.031 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 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: 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 (linear and non-linear blocks): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(3,77.8%) 6,(1,100.0%) 3} * Non-linear torn systems: 2 {1 3,1 3} Notification: Performance of prepare postOptimizeDAE: time 0.0009048/0.5098, allocations: 385 kB / 0.5067 GB, free: 6.641 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003229/0.5102, allocations: 134.6 kB / 0.5068 GB, free: 6.508 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009432/0.5196, allocations: 2.533 MB / 0.5093 GB, free: 3.918 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.856e-05/0.5196, allocations: 12 kB / 0.5093 GB, free: 3.906 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.11e-05/0.5197, allocations: 4 kB / 0.5093 GB, free: 3.902 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.256e-05/0.5197, allocations: 7.969 kB / 0.5093 GB, free: 3.895 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006209/0.5259, allocations: 2.517 MB / 0.5118 GB, free: 1.285 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.918e-05/0.526, allocations: 8.297 kB / 0.5118 GB, free: 1.277 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001463/0.5274, allocations: 315.5 kB / 0.5121 GB, free: 0.9688 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00701/0.5345, allocations: 0.7923 MB / 0.5129 GB, free: 164 kB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002406/0.5347, allocations: 43.98 kB / 0.5129 GB, free: 120 kB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01188/0.5466, allocations: 8.747 MB / 0.5215 GB, free: 6.691 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.228e-06/0.5466, allocations: 7.938 kB / 0.5215 GB, free: 6.684 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009717/0.5564, allocations: 2.986 MB / 0.5244 GB, free: 3.586 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000623/0.557, allocations: 215.3 kB / 0.5246 GB, free: 3.355 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002567/0.5573, allocations: 28 kB / 0.5246 GB, free: 3.328 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009259/0.5582, allocations: 55.83 kB / 0.5247 GB, free: 3.273 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002829/0.5585, allocations: 128.9 kB / 0.5248 GB, free: 3.145 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001152/0.5586, allocations: 47.98 kB / 0.5248 GB, free: 3.098 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0008106/0.5595, allocations: 0.6225 MB / 0.5255 GB, free: 2.469 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.81e-07/0.5595, allocations: 0 / 0.5255 GB, free: 2.469 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.00354/0.563, allocations: 1.015 MB / 0.5264 GB, free: 1.453 MB / 398.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 (linear and non-linear blocks): 0 * Torn equation systems: 5 * 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%) 7} * Non-linear torn systems: 3 {1 3,1 1,2 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.002175/0.5652, allocations: 1.066 MB / 0.5275 GB, free: 388 kB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.003764/0.569, allocations: 2.057 MB / 0.5295 GB, free: 14.27 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 6.201e-06/0.569, allocations: 3.938 kB / 0.5295 GB, free: 14.27 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002129/0.5712, allocations: 1.368 MB / 0.5308 GB, free: 12.84 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001659/0.5728, allocations: 282.1 kB / 0.5311 GB, free: 12.56 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005552/0.5784, allocations: 3.646 MB / 0.5347 GB, free: 8.848 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00083/0.5793, allocations: 1.296 MB / 0.5359 GB, free: 7.523 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.001461/0.5807, allocations: 335.9 kB / 0.5362 GB, free: 7.191 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004169/0.5812, allocations: 203.2 kB / 0.5364 GB, free: 6.992 MB / 414.1 MB Notification: Performance of SimCode: time 4.91e-07/0.5812, allocations: 4 kB / 0.5364 GB, free: 6.988 MB / 414.1 MB Notification: Performance of Templates: time 0.05156/0.6327, allocations: 34.38 MB / 0.57 GB, free: 4.746 MB / 446.1 MB make -j1 -f Chemical_Chemical.Examples.ExothermicReaction.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: