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.0007979/0.0007979, allocations: 72.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001266/0.002064, allocations: 435.8 kB / 10.33 MB, free: 368 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.0007767/0.0007767, allocations: 161.1 kB / 11.23 MB, free: 2.941 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001084/0.001861, allocations: 463.6 kB / 11.68 MB, free: 2.484 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.985/0.985, allocations: 177.2 MB / 189.6 MB, free: 5.328 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09138/1.076, allocations: 53.65 MB / 243.2 MB, free: 15.61 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.07942/0.07942, allocations: 17.45 MB / 261.4 MB, free: 13.39 MB / 266.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.009306/0.08872, allocations: 6.964 MB / 268.4 MB, free: 6.418 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.693e-06/1.693e-06, allocations: 0 / 269.6 MB, free: 5.156 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.234e-05/1.404e-05, allocations: 6.25 kB / 269.6 MB, free: 5.148 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.01005/0.01006, allocations: 4.419 MB / 274.1 MB, free: 0.6953 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.1308/0.1409, allocations: 8.015 MB / 282.1 MB, free: 15.16 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003817/0.1413, allocations: 14.28 kB / 282.1 MB, free: 15.15 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004503/0.1417, allocations: 185.1 kB / 282.3 MB, free: 15.05 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001544/0.1432, allocations: 0.7074 MB / 283 MB, free: 14.64 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0022/0.1454, allocations: 1.072 MB / 284.1 MB, free: 14.16 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.001046/0.1465, allocations: 0.9593 MB / 285 MB, free: 13.72 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005708/0.1471, allocations: 458.6 kB / 285.5 MB, free: 13.45 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007862/0.1479, allocations: 0.6725 MB / 286.1 MB, free: 13.2 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006525/0.1485, allocations: 412.4 kB / 286.5 MB, free: 13.1 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001357/0.1486, allocations: 82.47 kB / 286.6 MB, free: 13.09 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001692/0.1503, allocations: 0.8638 MB / 287.5 MB, free: 12.9 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001519/0.1505, allocations: 142.5 kB / 287.6 MB, free: 12.87 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002896/0.1508, allocations: 238.3 kB / 287.9 MB, free: 12.84 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00198/0.1528, allocations: 1.489 MB / 289.3 MB, free: 12.27 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.492e-05/0.1528, allocations: 0 / 289.3 MB, free: 12.27 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.193e-06/0.1528, allocations: 1.188 kB / 289.3 MB, free: 12.27 MB / 282.7 MB Notification: Performance of Transformations before backend: time 2.201e-05/0.1528, allocations: 0 / 289.3 MB, free: 12.27 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.001686/0.1545, allocations: 1.354 MB / 290.7 MB, free: 11.56 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.852e-05/0.1545, allocations: 9.219 kB / 290.7 MB, free: 11.56 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000573/0.1551, allocations: 312 kB / 291 MB, free: 11.39 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005026/0.1556, allocations: 353.2 kB / 291.4 MB, free: 11.16 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.878e-05/0.1557, allocations: 105.8 kB / 291.5 MB, free: 11.07 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.67e-05/0.1557, allocations: 77.95 kB / 291.5 MB, free: 11.04 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006915/0.1564, allocations: 0.5865 MB / 292.1 MB, free: 10.85 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.578e-05/0.1565, allocations: 192 / 292.1 MB, free: 10.85 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.912e-05/0.1565, allocations: 28.02 kB / 292.1 MB, free: 10.83 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.587e-05/0.1565, allocations: 18.12 kB / 292.2 MB, free: 10.82 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006243/0.1571, allocations: 451.4 kB / 292.6 MB, free: 10.77 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.002398/0.1595, allocations: 1.566 MB / 294.2 MB, free: 9.871 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001198/0.1607, allocations: 0.7693 MB / 294.9 MB, free: 9.125 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001801/0.1609, allocations: 147.2 kB / 295.1 MB, free: 8.98 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001968/0.1629, allocations: 1.327 MB / 296.4 MB, free: 7.637 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.543e-05/0.1629, allocations: 38.56 kB / 296.5 MB, free: 7.59 MB / 282.7 MB Notification: Performance of pre-optimization done (n=41): time 1.614e-06/0.1629, allocations: 0 / 296.5 MB, free: 7.59 MB / 282.7 MB Notification: Performance of matching and sorting (n=46): time 0.001197/0.1641, allocations: 0.8256 MB / 297.3 MB, free: 6.734 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.619e-05/0.1641, allocations: 55.41 kB / 297.3 MB, free: 6.668 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002011/0.1643, allocations: 375 kB / 297.7 MB, free: 6.293 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 2.238e-05/0.1644, allocations: 41.64 kB / 297.7 MB, free: 6.246 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001283/0.1645, allocations: 348.7 kB / 298.1 MB, free: 5.898 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.884e-05/0.1646, allocations: 174.5 kB / 298.2 MB, free: 5.727 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.913e-05/0.1647, allocations: 126.6 kB / 298.4 MB, free: 5.594 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 8.466e-05/0.1648, allocations: 370.6 kB / 298.7 MB, free: 5.223 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.017e-05/0.1648, allocations: 68.78 kB / 298.8 MB, free: 5.156 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001648/0.165, allocations: 309 kB / 299.1 MB, free: 4.75 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002987/0.1653, allocations: 445.5 kB / 299.5 MB, free: 4.207 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.166e-06/0.1653, allocations: 4 kB / 299.5 MB, free: 4.203 MB / 282.7 MB Notification: Performance of matching and sorting (n=83) (initialization): time 0.0003428/0.1656, allocations: 401.5 kB / 299.9 MB, free: 3.805 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.551e-05/0.1656, allocations: 12 kB / 299.9 MB, free: 3.793 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.735e-06/0.1657, allocations: 11.98 kB / 300 MB, free: 3.781 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.376e-05/0.1657, allocations: 12 kB / 300 MB, free: 3.77 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004012/0.1661, allocations: 227.7 kB / 300.2 MB, free: 3.547 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.049e-05/0.1661, allocations: 15.94 kB / 300.2 MB, free: 3.531 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001373/0.1662, allocations: 28 kB / 300.2 MB, free: 3.504 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.89e-05/0.1662, allocations: 27.98 kB / 300.3 MB, free: 3.477 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.0001102/0.1664, allocations: 156.4 kB / 300.4 MB, free: 3.312 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.501e-05/0.1664, allocations: 39.97 kB / 300.5 MB, free: 3.273 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003525/0.1668, allocations: 331.7 kB / 300.8 MB, free: 2.945 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.427e-06/0.1668, allocations: 6.875 kB / 300.8 MB, free: 2.941 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.633e-06/0.1668, allocations: 0 / 300.8 MB, free: 2.941 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.88e-06/0.1668, allocations: 3.984 kB / 300.8 MB, free: 2.938 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003796/0.1671, allocations: 432.7 kB / 301.2 MB, free: 2.473 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.084e-06/0.1671, allocations: 0 / 301.2 MB, free: 2.473 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003163/0.1675, allocations: 167.8 kB / 301.4 MB, free: 2.309 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.16e-05/0.1675, allocations: 55.66 kB / 301.4 MB, free: 2.254 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.636e-06/0.1675, allocations: 4 kB / 301.4 MB, free: 2.25 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.864e-05/0.1676, allocations: 16 kB / 301.4 MB, free: 2.234 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.749e-06/0.1676, allocations: 13.09 kB / 301.5 MB, free: 2.223 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.213e-06/0.1676, allocations: 0 / 301.5 MB, free: 2.223 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004409/0.168, allocations: 497.8 kB / 301.9 MB, free: 1.707 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.82e-05/0.1681, allocations: 12 kB / 302 MB, free: 1.695 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001018/0.1682, allocations: 8 kB / 302 MB, free: 1.688 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.388e-05/0.1682, allocations: 44.42 kB / 302 MB, free: 1.645 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.75e-05/0.1682, allocations: 16 kB / 302 MB, free: 1.629 MB / 282.7 MB Notification: Performance of sorting global known variables: time 9.26e-05/0.1683, allocations: 144.6 kB / 302.2 MB, free: 1.488 MB / 282.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1683, allocations: 4 kB / 302.2 MB, free: 1.484 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0005621/0.1689, allocations: 339 kB / 302.5 MB, free: 1.152 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.0005089/0.1694, allocations: 464.5 kB / 303 MB, free: 0.6914 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0002801/0.1697, allocations: 289.2 kB / 303.2 MB, free: 416 kB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.508e-05/0.1697, allocations: 8.5 kB / 303.2 MB, free: 408 kB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001123/0.1698, allocations: 150.3 kB / 303.4 MB, free: 256 kB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003891/0.1702, allocations: 187.5 kB / 303.6 MB, free: 84 kB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005406/0.1756, allocations: 1.127 MB / 304.7 MB, free: 14.91 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.287e-05/0.1757, allocations: 137.9 kB / 304.8 MB, free: 14.75 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0002462/0.1759, allocations: 124.1 kB / 305 MB, free: 14.63 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002504/0.1762, allocations: 193.2 kB / 305.1 MB, free: 14.44 MB / 298.7 MB Notification: Performance of SimCode: time 6.21e-07/0.1762, allocations: 0 / 305.1 MB, free: 14.44 MB / 298.7 MB Notification: Performance of Templates: time 0.01272/0.1889, allocations: 11.92 MB / 317.1 MB, free: 2.676 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: 2.8357611456885934]