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.001136/0.001136, allocations: 115.2 kB / 16.42 MB, free: 6.449 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.001251/0.001251, allocations: 183.9 kB / 17.35 MB, free: 5.738 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.276/1.276, allocations: 222.9 MB / 241.1 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 1.4.1-master/package.mo): time 0.07302/0.07302, allocations: 15.31 MB / 306.5 MB, free: 15.41 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001173/0.001173, allocations: 63.89 kB / 425.9 MB, free: 11.45 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08352/0.08471, allocations: 53.6 MB / 479.5 MB, free: 5.797 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.03116/0.1159, allocations: 24.6 MB / 0.4923 GB, free: 13.27 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01234/0.1283, allocations: 11.63 MB / 0.5036 GB, free: 1.594 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000462/0.1287, allocations: 11.94 kB / 0.5036 GB, free: 1.582 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006354/0.1294, allocations: 258.1 kB / 0.5039 GB, free: 1.328 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002076/0.1315, allocations: 0.9734 MB / 0.5048 GB, free: 356 kB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.1846/0.3161, allocations: 1.5 MB / 0.5063 GB, free: 18.79 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.001565/0.3177, allocations: 1.246 MB / 0.5075 GB, free: 18.79 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007617/0.3185, allocations: 0.7021 MB / 0.5082 GB, free: 18.73 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006035/0.3191, allocations: 0.6087 MB / 0.5088 GB, free: 18.73 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007659/0.3199, allocations: 0.6655 MB / 0.5094 GB, free: 18.64 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001648/0.32, allocations: 109.1 kB / 0.5095 GB, free: 18.64 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003133/0.3232, allocations: 1.286 MB / 0.5108 GB, free: 18.64 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000222/0.3234, allocations: 260.9 kB / 0.511 GB, free: 18.6 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004611/0.3239, allocations: 0.5442 MB / 0.5116 GB, free: 18.46 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003684/0.3276, allocations: 2.509 MB / 0.514 GB, free: 18.22 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.878e-06/0.3276, allocations: 0.7969 kB / 0.514 GB, free: 18.22 MB / 382.1 MB Notification: Performance of FrontEnd: time 9.42e-07/0.3276, allocations: 0 / 0.514 GB, free: 18.22 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.511e-05/0.3276, allocations: 2.656 kB / 0.514 GB, free: 18.22 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.002741/0.3304, allocations: 1.493 MB / 0.5155 GB, free: 17.44 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.593e-05/0.3304, allocations: 8.562 kB / 0.5155 GB, free: 17.44 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009541/0.3314, allocations: 210.1 kB / 0.5157 GB, free: 17.38 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007672/0.3322, allocations: 0.5756 MB / 0.5163 GB, free: 17.1 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.41e-05/0.3322, allocations: 97.39 kB / 0.5163 GB, free: 17.07 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001453/0.3324, allocations: 93.97 kB / 0.5164 GB, free: 17.06 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001671/0.3341, allocations: 1.054 MB / 0.5175 GB, free: 16.65 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.981e-05/0.3341, allocations: 5.109 kB / 0.5175 GB, free: 16.65 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.402e-05/0.3342, allocations: 35.64 kB / 0.5175 GB, free: 16.62 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.796e-05/0.3342, allocations: 21.94 kB / 0.5175 GB, free: 16.62 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001887/0.3361, allocations: 1.272 MB / 0.5188 GB, free: 16.26 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.004889/0.341, allocations: 3.469 MB / 0.5222 GB, free: 14.2 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002071/0.3431, allocations: 1.516 MB / 0.5236 GB, free: 13.49 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005697/0.3437, allocations: 445.2 kB / 0.5241 GB, free: 13.31 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004201/0.3479, allocations: 4.033 MB / 0.528 GB, free: 10.13 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.703e-05/0.3479, allocations: 45.44 kB / 0.528 GB, free: 10.09 MB / 382.1 MB Notification: Performance of pre-optimization done (n=56): time 2.064e-06/0.3479, allocations: 0 / 0.528 GB, free: 10.09 MB / 382.1 MB Notification: Performance of matching and sorting (n=63): time 0.002795/0.3507, allocations: 1.665 MB / 0.5297 GB, free: 9.219 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.826e-05/0.3508, allocations: 57.97 kB / 0.5297 GB, free: 9.156 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004794/0.3513, allocations: 0.5177 MB / 0.5302 GB, free: 8.91 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 3.775e-05/0.3513, allocations: 36.45 kB / 0.5303 GB, free: 8.871 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000173/0.3515, allocations: 456.5 kB / 0.5307 GB, free: 8.512 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001106/0.3516, allocations: 227.3 kB / 0.5309 GB, free: 8.34 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001878/0.3518, allocations: 172.1 kB / 0.5311 GB, free: 8.254 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 7.789e-05/0.3519, allocations: 375.5 kB / 0.5314 GB, free: 7.914 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003323/0.3522, allocations: 215.3 kB / 0.5316 GB, free: 7.848 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004349/0.3527, allocations: 0.5341 MB / 0.5322 GB, free: 7.355 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008177/0.3535, allocations: 0.8127 MB / 0.533 GB, free: 6.762 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.31e-06/0.3535, allocations: 2.75 kB / 0.533 GB, free: 6.762 MB / 382.1 MB Notification: Performance of matching and sorting (n=115) (initialization): time 0.001121/0.3546, allocations: 0.8478 MB / 0.5338 GB, free: 6.477 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.891e-05/0.3547, allocations: 12.12 kB / 0.5338 GB, free: 6.477 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.312e-05/0.3547, allocations: 12.84 kB / 0.5338 GB, free: 6.477 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.249e-05/0.3547, allocations: 16.38 kB / 0.5338 GB, free: 6.477 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008775/0.3556, allocations: 269.6 kB / 0.5341 GB, free: 6.465 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.38e-05/0.3556, allocations: 25.62 kB / 0.5341 GB, free: 6.465 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000452/0.3561, allocations: 31.38 kB / 0.5341 GB, free: 6.449 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.702e-05/0.3562, allocations: 47.19 kB / 0.5342 GB, free: 6.441 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.0002601/0.3564, allocations: 239.7 kB / 0.5344 GB, free: 6.266 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.178e-05/0.3565, allocations: 61 kB / 0.5345 GB, free: 6.234 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001072/0.3576, allocations: 0.6826 MB / 0.5351 GB, free: 5.957 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.147e-06/0.3576, allocations: 8.531 kB / 0.5351 GB, free: 5.953 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.917e-06/0.3576, allocations: 3.375 kB / 0.5352 GB, free: 5.953 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001839/0.3578, allocations: 185.8 kB / 0.5353 GB, free: 5.801 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.509e-05/0.3579, allocations: 15.03 kB / 0.5353 GB, free: 5.789 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002738/0.3582, allocations: 14.81 kB / 0.5354 GB, free: 5.781 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.361e-05/0.3583, allocations: 47.67 kB / 0.5354 GB, free: 5.773 MB / 382.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001109/0.3594, allocations: 0.6682 MB / 0.5361 GB, free: 5.457 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001024/0.3604, allocations: 0.9862 MB / 0.537 GB, free: 4.848 MB / 382.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0002693/0.3607, allocations: 247.8 kB / 0.5373 GB, free: 4.723 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0002882/0.361, allocations: 337.5 kB / 0.5376 GB, free: 4.523 MB / 382.1 MB Notification: Performance of Backend: time 7.91e-07/0.361, allocations: 2.656 kB / 0.5376 GB, free: 4.523 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.002294/0.3633, allocations: 1.145 MB / 0.5387 GB, free: 3.836 MB / 382.1 MB Notification: Performance of SimCode: time 0.001797/0.3651, allocations: 1.843 MB / 0.5405 GB, free: 1.996 MB / 382.1 MB Notification: Performance of Templates: time 0.02373/0.3889, allocations: 16.86 MB / 0.557 GB, free: 1.918 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)