Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Chemical_Chemical.Examples.SimpleReaction2.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.SimpleReaction2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Chemical_Chemical.Examples.SimpleReaction2") translateModel(Chemical.Examples.SimpleReaction2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Chemical_Chemical.Examples.SimpleReaction2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001206/0.001206, allocations: 107.1 kB / 16.41 MB, free: 6.465 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.001222/0.001223, allocations: 190.7 kB / 17.35 MB, free: 5.715 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.366/1.366, allocations: 222.9 MB / 241 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 1.4.1-master/package.mo): time 0.0779/0.0779, allocations: 15.31 MB / 306.5 MB, free: 15.4 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001178/0.001178, allocations: 59.91 kB / 425.8 MB, free: 11.47 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1018/0.103, allocations: 53.61 MB / 479.5 MB, free: 5.805 MB / 350.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 1.4.1-master/package.mo:4740:7-4740:66:writable] Warning: An inner declaration for outer component system could not be found and was automatically generated. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 1.4.1-master/package.mo:4740:7-4740:66:writable] Notification: The diagnostics message for the missing inner is: Your model is using an outer "system" component but an inner "system" component is not defined. For simulation drag Modelica.Fluid.System into your model to specify system properties. Notification: Performance of NFInst.instantiate(Chemical.Examples.SimpleReaction2): time 0.03605/0.139, allocations: 24.68 MB / 0.4923 GB, free: 13.21 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01372/0.1528, allocations: 11.62 MB / 0.5037 GB, free: 1.539 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007397/0.1536, allocations: 11.94 kB / 0.5037 GB, free: 1.527 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008879/0.1545, allocations: 262 kB / 0.5039 GB, free: 1.27 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003131/0.1576, allocations: 0.989 MB / 0.5049 GB, free: 280 kB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.2308/0.3884, allocations: 1.506 MB / 0.5064 GB, free: 18.84 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.001819/0.3903, allocations: 1.248 MB / 0.5076 GB, free: 18.83 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008501/0.3911, allocations: 0.6985 MB / 0.5083 GB, free: 18.77 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006989/0.3918, allocations: 0.6118 MB / 0.5089 GB, free: 18.77 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000912/0.3928, allocations: 0.6592 MB / 0.5095 GB, free: 18.68 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001676/0.3929, allocations: 106.7 kB / 0.5096 GB, free: 18.68 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003802/0.3968, allocations: 1.291 MB / 0.5109 GB, free: 18.68 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002315/0.397, allocations: 259.5 kB / 0.5111 GB, free: 18.65 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005079/0.3975, allocations: 0.5475 MB / 0.5117 GB, free: 18.51 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004978/0.4025, allocations: 2.515 MB / 0.5141 GB, free: 18.27 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.789e-06/0.4025, allocations: 0 / 0.5141 GB, free: 18.27 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.482e-06/0.4025, allocations: 0 / 0.5141 GB, free: 18.27 MB / 382.1 MB Notification: Performance of Transformations before backend: time 2.143e-05/0.4026, allocations: 0 / 0.5141 GB, free: 18.27 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 222 * Number of variables: 222 Notification: Performance of Generate backend data structure: time 0.002809/0.4054, allocations: 1.484 MB / 0.5156 GB, free: 17.48 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.859e-05/0.4054, allocations: 11.53 kB / 0.5156 GB, free: 17.48 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009944/0.4064, allocations: 214.4 kB / 0.5158 GB, free: 17.43 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009008/0.4073, allocations: 0.5737 MB / 0.5163 GB, free: 17.15 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.131e-05/0.4074, allocations: 93.94 kB / 0.5164 GB, free: 17.11 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001545/0.4076, allocations: 97.22 kB / 0.5165 GB, free: 17.11 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001723/0.4093, allocations: 1.053 MB / 0.5176 GB, free: 16.69 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.961e-05/0.4094, allocations: 0 / 0.5176 GB, free: 16.69 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.383e-05/0.4095, allocations: 35.16 kB / 0.5176 GB, free: 16.66 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.318e-05/0.4095, allocations: 24.34 kB / 0.5176 GB, free: 16.66 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001962/0.4115, allocations: 1.274 MB / 0.5189 GB, free: 16.3 MB / 382.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.005053/0.4165, allocations: 3.469 MB / 0.5222 GB, free: 14.23 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002202/0.4187, allocations: 1.525 MB / 0.5237 GB, free: 13.52 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000592/0.4194, allocations: 439.1 kB / 0.5241 GB, free: 13.34 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004508/0.4239, allocations: 4.037 MB / 0.5281 GB, free: 10.16 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.748e-05/0.4239, allocations: 43 kB / 0.5281 GB, free: 10.12 MB / 382.1 MB Notification: Performance of pre-optimization done (n=56): time 2.425e-06/0.4239, allocations: 0 / 0.5281 GB, free: 10.12 MB / 382.1 MB Notification: Performance of matching and sorting (n=63): time 0.00316/0.4271, allocations: 1.66 MB / 0.5298 GB, free: 9.25 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.86e-05/0.4271, allocations: 64.75 kB / 0.5298 GB, free: 9.188 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000576/0.4277, allocations: 0.5159 MB / 0.5303 GB, free: 8.945 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 3.99e-05/0.4278, allocations: 35.23 kB / 0.5304 GB, free: 8.906 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002209/0.428, allocations: 460 kB / 0.5308 GB, free: 8.543 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001326/0.4281, allocations: 226.3 kB / 0.531 GB, free: 8.371 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002013/0.4283, allocations: 173.7 kB / 0.5312 GB, free: 8.285 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 8.312e-05/0.4284, allocations: 375.1 kB / 0.5315 GB, free: 7.945 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003377/0.4288, allocations: 213.1 kB / 0.5317 GB, free: 7.879 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004409/0.4292, allocations: 0.5306 MB / 0.5323 GB, free: 7.391 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008529/0.4301, allocations: 0.8138 MB / 0.533 GB, free: 6.793 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.921e-06/0.4301, allocations: 9.312 kB / 0.5331 GB, free: 6.793 MB / 382.1 MB Notification: Performance of matching and sorting (n=115) (initialization): time 0.001164/0.4313, allocations: 0.8481 MB / 0.5339 GB, free: 6.508 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.094e-05/0.4313, allocations: 8.781 kB / 0.5339 GB, free: 6.508 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.86e-05/0.4313, allocations: 12.53 kB / 0.5339 GB, free: 6.508 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.373e-05/0.4313, allocations: 20.34 kB / 0.5339 GB, free: 6.508 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009471/0.4323, allocations: 261.6 kB / 0.5342 GB, free: 6.484 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.774e-05/0.4323, allocations: 26.11 kB / 0.5342 GB, free: 6.477 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004974/0.4328, allocations: 29.31 kB / 0.5342 GB, free: 6.465 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.734e-05/0.4329, allocations: 50.19 kB / 0.5343 GB, free: 6.457 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 49 * 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 (115): * Single equations (assignments): 115 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002647/0.4332, allocations: 240.3 kB / 0.5345 GB, free: 6.262 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.258e-05/0.4333, allocations: 62.38 kB / 0.5346 GB, free: 6.23 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001127/0.4344, allocations: 0.6866 MB / 0.5352 GB, free: 5.953 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.598e-06/0.4345, allocations: 8.625 kB / 0.5352 GB, free: 5.949 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.094e-06/0.4345, allocations: 6.594 kB / 0.5352 GB, free: 5.945 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002243/0.4347, allocations: 183.6 kB / 0.5354 GB, free: 5.797 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.182e-05/0.4348, allocations: 12.09 kB / 0.5354 GB, free: 5.789 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000279/0.4351, allocations: 17.59 kB / 0.5355 GB, free: 5.777 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.637e-05/0.4352, allocations: 41.59 kB / 0.5355 GB, free: 5.773 MB / 382.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001155/0.4363, allocations: 0.6754 MB / 0.5362 GB, free: 5.438 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001064/0.4374, allocations: 0.9837 MB / 0.5371 GB, free: 4.828 MB / 382.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0003012/0.4377, allocations: 244.5 kB / 0.5373 GB, free: 4.703 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0003423/0.4381, allocations: 338 kB / 0.5377 GB, free: 4.504 MB / 382.1 MB Notification: Performance of Backend: time 4.41e-07/0.4381, allocations: 1.844 kB / 0.5377 GB, free: 4.504 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.002815/0.4409, allocations: 1.132 MB / 0.5388 GB, free: 3.812 MB / 382.1 MB Notification: Performance of SimCode: time 0.001981/0.4429, allocations: 1.855 MB / 0.5406 GB, free: 1.969 MB / 382.1 MB Notification: Performance of Templates: time 0.0246/0.4675, allocations: 16.86 MB / 0.5571 GB, free: 1.891 MB / 398.1 MB make -j1 -f Chemical_Chemical.Examples.SimpleReaction2.makefile (rm -f Chemical_Chemical.Examples.SimpleReaction2.pipe ; mkfifo Chemical_Chemical.Examples.SimpleReaction2.pipe ; head -c 1048576 < Chemical_Chemical.Examples.SimpleReaction2.pipe >> ../files/Chemical_Chemical.Examples.SimpleReaction2.sim & ./Chemical_Chemical.Examples.SimpleReaction2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > Chemical_Chemical.Examples.SimpleReaction2.pipe 2>&1)