Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Chemical_master_Chemical.Obsolete.Examples.SimpleReaction.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0006637/0.0006637, allocations: 81.05 kB / 9.981 MB, free: 0.707 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008975/0.001561, allocations: 440 kB / 10.41 MB, free: 284 kB / 10.45 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0006924/0.0006924, allocations: 157.1 kB / 11.33 MB, free: 2.844 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.003466/0.004158, allocations: 475.6 kB / 11.79 MB, free: 2.375 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9951/0.9951, allocations: 177.2 MB / 189.7 MB, free: 5.246 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1156/1.111, allocations: 53.67 MB / 243.4 MB, free: 15.5 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 2.0.1-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 2.0.1-master/package.mo): time 0.1063/0.1063, allocations: 17.44 MB / 261.6 MB, free: 13.28 MB / 266.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.01285/0.1191, allocations: 6.98 MB / 268.6 MB, free: 6.289 MB / 266.7 MB " [Timeout remaining time 180] Using package Chemical with version 2.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 2.0.1-master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Chemical.Obsolete.Examples.SimpleReaction,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Chemical_master_Chemical.Obsolete.Examples.SimpleReaction") translateModel(Chemical.Obsolete.Examples.SimpleReaction,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Chemical_master_Chemical.Obsolete.Examples.SimpleReaction") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.603e-06/1.603e-06, allocations: 0 / 269.9 MB, free: 5 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.557e-05/2.717e-05, allocations: 2.312 kB / 269.9 MB, free: 4.996 MB / 266.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 2.0.1-master/Obsolete.mo:14335:7-14335: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 2.0.1-master/Obsolete.mo:14335:7-14335: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.Obsolete.Examples.SimpleReaction): time 0.01524/0.01527, allocations: 4.415 MB / 274.3 MB, free: 0.5469 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.1372/0.1524, allocations: 8.025 MB / 282.3 MB, free: 15.05 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004669/0.1529, allocations: 14.66 kB / 282.3 MB, free: 15.04 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004775/0.1534, allocations: 171.2 kB / 282.5 MB, free: 14.96 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001735/0.1551, allocations: 0.7143 MB / 283.2 MB, free: 14.54 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002622/0.1577, allocations: 1.071 MB / 284.3 MB, free: 14.06 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.001268/0.159, allocations: 0.9594 MB / 285.2 MB, free: 13.59 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006103/0.1596, allocations: 458.3 kB / 285.7 MB, free: 13.32 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009048/0.1605, allocations: 0.6686 MB / 286.3 MB, free: 13.07 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006987/0.1612, allocations: 415.5 kB / 286.7 MB, free: 12.97 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 0.000143/0.1614, allocations: 79.94 kB / 286.8 MB, free: 12.97 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001913/0.1633, allocations: 0.8671 MB / 287.7 MB, free: 12.77 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001397/0.1634, allocations: 139.7 kB / 287.8 MB, free: 12.75 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002415/0.1637, allocations: 239.5 kB / 288.1 MB, free: 12.72 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001821/0.1655, allocations: 1.485 MB / 289.5 MB, free: 12.15 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.077e-05/0.1655, allocations: 0 / 289.5 MB, free: 12.15 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.432e-06/0.1655, allocations: 0 / 289.5 MB, free: 12.15 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.966e-05/0.1655, allocations: 4 kB / 289.6 MB, free: 12.15 MB / 282.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 168 * Number of variables: 168 Notification: Performance of Generate backend data structure: time 0.001589/0.1671, allocations: 1.354 MB / 290.9 MB, free: 11.44 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.447e-05/0.1671, allocations: 10.62 kB / 290.9 MB, free: 11.44 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005219/0.1677, allocations: 308.7 kB / 291.2 MB, free: 11.27 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004569/0.1681, allocations: 354.3 kB / 291.6 MB, free: 11.04 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.426e-05/0.1682, allocations: 108.2 kB / 291.7 MB, free: 10.95 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.72e-05/0.1683, allocations: 75.19 kB / 291.7 MB, free: 10.93 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005753/0.1688, allocations: 0.5805 MB / 292.3 MB, free: 10.74 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.344e-05/0.1688, allocations: 5.281 kB / 292.3 MB, free: 10.73 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.221e-05/0.1689, allocations: 29.91 kB / 292.4 MB, free: 10.71 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.74e-05/0.1689, allocations: 20.75 kB / 292.4 MB, free: 10.71 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005086/0.1694, allocations: 450.9 kB / 292.8 MB, free: 10.65 MB / 282.7 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.002393/0.1718, allocations: 1.563 MB / 294.4 MB, free: 9.727 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008453/0.1727, allocations: 0.7668 MB / 295.1 MB, free: 8.953 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001489/0.1728, allocations: 155.8 kB / 295.3 MB, free: 8.801 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001679/0.1745, allocations: 1.327 MB / 296.6 MB, free: 7.457 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.759e-05/0.1745, allocations: 42.5 kB / 296.7 MB, free: 7.406 MB / 282.7 MB Notification: Performance of pre-optimization done (n=41): time 1.222e-06/0.1745, allocations: 4 kB / 296.7 MB, free: 7.402 MB / 282.7 MB Notification: Performance of matching and sorting (n=46): time 0.001739/0.1763, allocations: 1.064 MB / 297.7 MB, free: 6.305 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.452e-05/0.1763, allocations: 55.41 kB / 297.8 MB, free: 6.238 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002333/0.1765, allocations: 383 kB / 298.2 MB, free: 5.855 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 2.311e-05/0.1765, allocations: 29.7 kB / 298.2 MB, free: 5.82 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001559/0.1767, allocations: 344.7 kB / 298.5 MB, free: 5.477 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.94e-05/0.1768, allocations: 174.5 kB / 298.7 MB, free: 5.305 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001174/0.1769, allocations: 134.6 kB / 298.8 MB, free: 5.164 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001158/0.177, allocations: 362.6 kB / 299.2 MB, free: 4.801 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.853e-05/0.1771, allocations: 68.78 kB / 299.3 MB, free: 4.734 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001949/0.1773, allocations: 313 kB / 299.6 MB, free: 4.324 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003309/0.1776, allocations: 468 kB / 300 MB, free: 3.758 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.827e-06/0.1776, allocations: 4 kB / 300 MB, free: 3.754 MB / 282.7 MB Notification: Performance of matching and sorting (n=83) (initialization): time 0.0003623/0.178, allocations: 402.8 kB / 300.4 MB, free: 3.352 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.74e-05/0.178, allocations: 8 kB / 300.4 MB, free: 3.344 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.719e-06/0.178, allocations: 8 kB / 300.4 MB, free: 3.336 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.929e-05/0.178, allocations: 16.06 kB / 300.4 MB, free: 3.32 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004114/0.1784, allocations: 235.7 kB / 300.7 MB, free: 3.09 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.185e-05/0.1785, allocations: 15.92 kB / 300.7 MB, free: 3.074 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001397/0.1786, allocations: 20 kB / 300.7 MB, free: 3.055 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.729e-05/0.1786, allocations: 32 kB / 300.7 MB, free: 3.023 MB / 282.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 35 * 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 (83): * Single equations (assignments): 83 * 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.0001173/0.1788, allocations: 164.3 kB / 300.9 MB, free: 2.852 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.968e-05/0.1788, allocations: 43.97 kB / 300.9 MB, free: 2.809 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003566/0.1792, allocations: 326.8 kB / 301.3 MB, free: 2.492 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.557e-06/0.1792, allocations: 4 kB / 301.3 MB, free: 2.488 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.623e-06/0.1792, allocations: 4 kB / 301.3 MB, free: 2.484 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.272e-06/0.1792, allocations: 3.984 kB / 301.3 MB, free: 2.48 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003853/0.1796, allocations: 435.1 kB / 301.7 MB, free: 2.016 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.176e-06/0.1796, allocations: 0 / 301.7 MB, free: 2.016 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003134/0.1799, allocations: 164 kB / 301.9 MB, free: 1.855 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.97e-05/0.18, allocations: 63.66 kB / 301.9 MB, free: 1.793 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.196e-06/0.18, allocations: 0 / 301.9 MB, free: 1.793 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.918e-05/0.18, allocations: 16 kB / 301.9 MB, free: 1.777 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.053e-06/0.18, allocations: 5.016 kB / 301.9 MB, free: 1.773 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.583e-06/0.18, allocations: 0 / 301.9 MB, free: 1.773 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004002/0.1804, allocations: 0.494 MB / 302.4 MB, free: 1.25 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.678e-05/0.1804, allocations: 12 kB / 302.4 MB, free: 1.238 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.714e-05/0.1805, allocations: 8 kB / 302.5 MB, free: 1.23 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.467e-05/0.1806, allocations: 36.44 kB / 302.5 MB, free: 1.195 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.916e-05/0.1806, allocations: 19.98 kB / 302.5 MB, free: 1.176 MB / 282.7 MB Notification: Performance of sorting global known variables: time 9.971e-05/0.1807, allocations: 140.7 kB / 302.6 MB, free: 1.039 MB / 282.7 MB Notification: Performance of sort global known variables: time 5e-08/0.1807, allocations: 0 / 302.6 MB, free: 1.039 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0006828/0.1814, allocations: 343 kB / 303 MB, free: 0.7031 MB / 282.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 3 (solution.temperature,A.logn,B.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 (53): * Single equations (assignments): 53 * 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.0006669/0.1821, allocations: 476.5 kB / 303.4 MB, free: 236 kB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0003151/0.1824, allocations: 303 kB / 303.7 MB, free: 15.93 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.967e-05/0.1824, allocations: 12.5 kB / 303.8 MB, free: 15.92 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001614/0.1825, allocations: 187.4 kB / 303.9 MB, free: 15.73 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006747/0.1832, allocations: 0.8592 MB / 304.8 MB, free: 14.74 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005191/0.1884, allocations: 1.123 MB / 305.9 MB, free: 13.57 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.541e-05/0.1885, allocations: 133.9 kB / 306.1 MB, free: 13.42 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0002422/0.1888, allocations: 119.3 kB / 306.2 MB, free: 13.3 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002505/0.189, allocations: 185.3 kB / 306.3 MB, free: 13.12 MB / 298.7 MB Notification: Performance of SimCode: time 6.62e-07/0.189, allocations: 0 / 306.3 MB, free: 13.12 MB / 298.7 MB Notification: Performance of Templates: time 0.01327/0.2023, allocations: 11.75 MB / 318.1 MB, free: 1.523 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f Chemical_master_Chemical.Obsolete.Examples.SimpleReaction.makefile [Timeout 660] (rm -f Chemical_master_Chemical.Obsolete.Examples.SimpleReaction.pipe ; mkfifo Chemical_master_Chemical.Obsolete.Examples.SimpleReaction.pipe ; head -c 1048576 < Chemical_master_Chemical.Obsolete.Examples.SimpleReaction.pipe >> ../files/Chemical_master_Chemical.Obsolete.Examples.SimpleReaction.sim & ./Chemical_master_Chemical.Obsolete.Examples.SimpleReaction -abortSlowSimulation -alarm=240 -lv LOG_STATS > Chemical_master_Chemical.Obsolete.Examples.SimpleReaction.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.109293811954558]