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.001271/0.001271, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001839/0.00184, allocations: 192.1 kB / 16.14 MB, free: 6.703 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.373/1.373, allocations: 222.9 MB / 239.8 MB, free: 4.613 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 1.4.1-master/package.mo): time 0.242/0.242, allocations: 15.32 MB / 305.3 MB, free: 15.34 MB / 254.1 MB Warning: Ignoring unknown experiment annotation option: __Dymola_Algorithm = "Dassl" Notification: Performance of FrontEnd - loaded program: time 0.00125/0.00125, allocations: 63.91 kB / 369.7 MB, free: 4.453 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1164/0.1177, allocations: 53.61 MB / 423.3 MB, free: 14.79 MB / 366.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.3867/0.5044, allocations: 24.21 MB / 447.5 MB, free: 39.74 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.01125/0.5157, allocations: 11.6 MB / 459.1 MB, free: 34.18 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009367/0.5167, allocations: 17.84 kB / 459.1 MB, free: 34.17 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008106/0.5175, allocations: 238.3 kB / 459.3 MB, free: 34.05 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003633/0.5211, allocations: 0.842 MB / 460.2 MB, free: 33.6 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00477/0.5259, allocations: 1.322 MB / 461.5 MB, free: 33.05 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.001799/0.5277, allocations: 1.212 MB / 462.7 MB, free: 32.74 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000736/0.5285, allocations: 0.6119 MB / 463.3 MB, free: 32.6 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005837/0.5291, allocations: 0.5638 MB / 463.9 MB, free: 32.41 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007219/0.5298, allocations: 0.6565 MB / 464.5 MB, free: 32.16 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000147/0.53, allocations: 67.53 kB / 464.6 MB, free: 32.16 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004457/0.5344, allocations: 1.255 MB / 465.9 MB, free: 31.84 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003011/0.5348, allocations: 233.7 kB / 466.1 MB, free: 31.71 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006935/0.5355, allocations: 0.5152 MB / 466.6 MB, free: 31.43 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007025/0.5425, allocations: 2.343 MB / 468.9 MB, free: 30.44 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.959e-06/0.5425, allocations: 4 kB / 468.9 MB, free: 30.44 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.092e-06/0.5425, allocations: 1.469 kB / 469 MB, free: 30.44 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.556e-05/0.5426, allocations: 0 / 469 MB, free: 30.44 MB / 366.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.002906/0.5455, allocations: 1.494 MB / 470.4 MB, free: 29.48 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.553e-05/0.5455, allocations: 9.438 kB / 470.5 MB, free: 29.48 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001064/0.5466, allocations: 217 kB / 470.7 MB, free: 29.41 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008053/0.5474, allocations: 0.5559 MB / 471.2 MB, free: 29.02 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.944e-05/0.5476, allocations: 94.08 kB / 471.3 MB, free: 28.96 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001592/0.5477, allocations: 94.06 kB / 471.4 MB, free: 28.92 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001696/0.5494, allocations: 1.052 MB / 472.5 MB, free: 28.5 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.02e-05/0.5495, allocations: 0 / 472.5 MB, free: 28.5 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.951e-05/0.5496, allocations: 35.75 kB / 472.5 MB, free: 28.47 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.573e-05/0.5496, allocations: 25.66 kB / 472.5 MB, free: 28.46 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002047/0.5516, allocations: 1.272 MB / 473.8 MB, free: 28.1 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.005058/0.5567, allocations: 3.468 MB / 477.3 MB, free: 25.93 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002166/0.5589, allocations: 1.522 MB / 478.8 MB, free: 25.22 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006275/0.5595, allocations: 441.2 kB / 479.2 MB, free: 25.04 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004696/0.5642, allocations: 4.049 MB / 483.3 MB, free: 21.81 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.866e-05/0.5643, allocations: 38.47 kB / 483.3 MB, free: 21.77 MB / 366.1 MB Notification: Performance of pre-optimization done (n=56): time 3.166e-06/0.5643, allocations: 0 / 483.3 MB, free: 21.77 MB / 366.1 MB Notification: Performance of matching and sorting (n=63): time 0.0036/0.5679, allocations: 1.67 MB / 485 MB, free: 20.88 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.467e-05/0.568, allocations: 59.19 kB / 485 MB, free: 20.82 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006918/0.5687, allocations: 0.5147 MB / 485.5 MB, free: 20.57 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 4.008e-05/0.5687, allocations: 37.62 kB / 485.6 MB, free: 20.53 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002741/0.569, allocations: 456.5 kB / 486 MB, free: 20.17 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001576/0.5692, allocations: 224.5 kB / 486.2 MB, free: 19.99 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002231/0.5694, allocations: 173.2 kB / 486.4 MB, free: 19.91 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 9.961e-05/0.5695, allocations: 378.9 kB / 486.8 MB, free: 19.56 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003539/0.5699, allocations: 211.4 kB / 487 MB, free: 19.5 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005184/0.5704, allocations: 0.5347 MB / 487.5 MB, free: 19 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009027/0.5713, allocations: 0.8139 MB / 488.3 MB, free: 18.33 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.831e-06/0.5713, allocations: 3.594 kB / 488.3 MB, free: 18.33 MB / 366.1 MB Notification: Performance of matching and sorting (n=115) (initialization): time 0.001356/0.5727, allocations: 0.8506 MB / 489.2 MB, free: 17.98 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.8e-05/0.5727, allocations: 11.59 kB / 489.2 MB, free: 17.98 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.1e-05/0.5727, allocations: 10.88 kB / 489.2 MB, free: 17.98 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.558e-05/0.5728, allocations: 19.81 kB / 489.2 MB, free: 17.97 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009495/0.5737, allocations: 264.5 kB / 489.5 MB, free: 17.95 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.505e-05/0.5738, allocations: 25.45 kB / 489.5 MB, free: 17.94 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005884/0.5744, allocations: 55.38 kB / 489.6 MB, free: 17.92 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.557e-05/0.5745, allocations: 50.66 kB / 489.6 MB, free: 17.91 MB / 366.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.0003357/0.5748, allocations: 236.3 kB / 489.8 MB, free: 17.71 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001632/0.575, allocations: 65.69 kB / 489.9 MB, free: 17.68 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001568/0.5765, allocations: 0.6943 MB / 490.6 MB, free: 17.37 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.789e-06/0.5766, allocations: 7.016 kB / 490.6 MB, free: 17.37 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.855e-06/0.5766, allocations: 3.984 kB / 490.6 MB, free: 17.37 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.142e-05/0.5766, allocations: 3.188 kB / 490.6 MB, free: 17.37 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001203/0.5778, allocations: 0.7735 MB / 491.4 MB, free: 16.9 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.773e-06/0.5778, allocations: 6.25 kB / 491.4 MB, free: 16.89 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007671/0.5786, allocations: 171.2 kB / 491.6 MB, free: 16.88 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.454e-06/0.5786, allocations: 2.75 kB / 491.6 MB, free: 16.88 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.567e-05/0.5787, allocations: 28.3 kB / 491.6 MB, free: 16.87 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.444e-06/0.5787, allocations: 4.875 kB / 491.6 MB, free: 16.87 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.016e-06/0.5787, allocations: 5.312 kB / 491.6 MB, free: 16.86 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001415/0.5801, allocations: 0.942 MB / 492.5 MB, free: 16.39 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003109/0.5804, allocations: 193.7 kB / 492.7 MB, free: 16.23 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.102e-05/0.5805, allocations: 15.69 kB / 492.8 MB, free: 16.22 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003101/0.5808, allocations: 25.06 kB / 492.8 MB, free: 16.21 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001295/0.581, allocations: 55.53 kB / 492.8 MB, free: 16.2 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.03e-05/0.581, allocations: 26.11 kB / 492.9 MB, free: 16.19 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0004631/0.5815, allocations: 345.2 kB / 493.2 MB, free: 16.03 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.5815, allocations: 0 / 493.2 MB, free: 16.03 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.001707/0.5832, allocations: 477.5 kB / 493.7 MB, free: 15.91 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 4 (solution.temperature,A.logn,B.logn,C.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 (71): * Single equations (assignments): 71 * 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 Backend phase and start with SimCode phase: time 0.001014/0.5842, allocations: 0.5793 MB / 494.2 MB, free: 15.64 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0009267/0.5852, allocations: 0.6022 MB / 494.8 MB, free: 15.45 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.665e-06/0.5852, allocations: 0 / 494.8 MB, free: 15.45 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003463/0.5855, allocations: 283.9 kB / 495.1 MB, free: 15.36 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009301/0.5865, allocations: 154.7 kB / 495.3 MB, free: 15.29 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002371/0.5889, allocations: 1.872 MB / 497.1 MB, free: 14.07 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000408/0.5893, allocations: 0.9624 MB / 498.1 MB, free: 13.36 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0006962/0.59, allocations: 166.8 kB / 498.3 MB, free: 13.3 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001973/0.5902, allocations: 97.67 kB / 498.4 MB, free: 13.29 MB / 366.1 MB Notification: Performance of SimCode: time 7.52e-07/0.5902, allocations: 0 / 498.4 MB, free: 13.29 MB / 366.1 MB Notification: Performance of Templates: time 0.01901/0.6092, allocations: 13.57 MB / 0.4999 GB, free: 6.77 MB / 366.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)