Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Chemical_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.0007639/0.0007639, allocations: 81.05 kB / 9.981 MB, free: 0.707 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009559/0.00172, 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.0008041/0.0008041, allocations: 157.1 kB / 11.33 MB, free: 2.844 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009225/0.001727, 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.9628/0.9628, allocations: 177.2 MB / 189.7 MB, free: 5.23 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.116/1.079, 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.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 2.0.0/package.mo): time 0.1375/0.1375, allocations: 17.36 MB / 261.5 MB, free: 13.36 MB / 266.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.01156/0.1491, allocations: 6.932 MB / 268.4 MB, free: 6.41 MB / 266.7 MB " [Timeout remaining time 180] Using package Chemical with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 2.0.0/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_Chemical.Obsolete.Examples.SimpleReaction") translateModel(Chemical.Obsolete.Examples.SimpleReaction,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Chemical_Chemical.Obsolete.Examples.SimpleReaction") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.903e-06/1.903e-06, allocations: 0 / 269.7 MB, free: 5.117 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.263e-05/1.454e-05, allocations: 5.547 kB / 269.7 MB, free: 5.113 MB / 266.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 2.0.0/Obsolete.mo:14337:7-14337: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.0/Obsolete.mo:14337:7-14337: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.01141/0.01142, allocations: 4.428 MB / 274.2 MB, free: 0.6523 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.136/0.1474, allocations: 8.011 MB / 282.2 MB, free: 15.17 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005173/0.148, allocations: 14.75 kB / 282.2 MB, free: 15.16 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004403/0.1484, allocations: 183.1 kB / 282.4 MB, free: 15.07 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001812/0.1502, allocations: 0.7121 MB / 283.1 MB, free: 14.65 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002994/0.1532, allocations: 1.075 MB / 284.2 MB, free: 14.16 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.001637/0.1548, allocations: 0.96 MB / 285.1 MB, free: 13.72 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008995/0.1557, allocations: 457.8 kB / 285.6 MB, free: 13.45 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001021/0.1568, allocations: 0.6684 MB / 286.2 MB, free: 13.2 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008803/0.1576, allocations: 416.7 kB / 286.6 MB, free: 13.09 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001889/0.1578, allocations: 79.22 kB / 286.7 MB, free: 13.09 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00269/0.1605, allocations: 0.864 MB / 287.6 MB, free: 12.9 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001781/0.1607, allocations: 141.9 kB / 287.7 MB, free: 12.87 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003084/0.161, allocations: 244.8 kB / 288 MB, free: 12.84 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002589/0.1636, allocations: 1.482 MB / 289.4 MB, free: 12.28 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.74e-05/0.1636, allocations: 0 / 289.4 MB, free: 12.28 MB / 282.7 MB Notification: Performance of FrontEnd: time 2.184e-06/0.1636, allocations: 0 / 289.4 MB, free: 12.28 MB / 282.7 MB Notification: Performance of Transformations before backend: time 2.895e-05/0.1636, allocations: 1.375 kB / 289.4 MB, free: 12.28 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.001758/0.1654, allocations: 1.344 MB / 290.8 MB, free: 11.58 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.089e-05/0.1654, allocations: 8.75 kB / 290.8 MB, free: 11.58 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005893/0.166, allocations: 326.1 kB / 291.1 MB, free: 11.4 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004456/0.1665, allocations: 347.7 kB / 291.5 MB, free: 11.17 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.392e-05/0.1666, allocations: 107.1 kB / 291.6 MB, free: 11.08 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.696e-05/0.1666, allocations: 71.73 kB / 291.6 MB, free: 11.06 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005849/0.1672, allocations: 0.5895 MB / 292.2 MB, free: 10.86 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.3e-05/0.1672, allocations: 192 / 292.2 MB, free: 10.86 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.093e-05/0.1673, allocations: 30.53 kB / 292.2 MB, free: 10.84 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.545e-05/0.1673, allocations: 22.44 kB / 292.3 MB, free: 10.84 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000493/0.1678, allocations: 451.5 kB / 292.7 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.002034/0.1698, allocations: 1.568 MB / 294.3 MB, free: 9.875 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007473/0.1706, allocations: 0.7627 MB / 295 MB, free: 9.129 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001387/0.1707, allocations: 151.3 kB / 295.2 MB, free: 8.98 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001722/0.1724, allocations: 1.327 MB / 296.5 MB, free: 7.637 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.505e-05/0.1724, allocations: 38.56 kB / 296.6 MB, free: 7.59 MB / 282.7 MB Notification: Performance of pre-optimization done (n=41): time 1.613e-06/0.1724, allocations: 0 / 296.6 MB, free: 7.59 MB / 282.7 MB Notification: Performance of matching and sorting (n=46): time 0.001636/0.1741, allocations: 1.075 MB / 297.6 MB, free: 6.48 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.743e-05/0.1741, allocations: 55.41 kB / 297.7 MB, free: 6.414 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003343/0.1744, allocations: 379 kB / 298.1 MB, free: 6.035 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 2.321e-05/0.1745, allocations: 37.7 kB / 298.1 MB, free: 5.992 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001353/0.1746, allocations: 340.7 kB / 298.4 MB, free: 5.652 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.752e-05/0.1747, allocations: 174.5 kB / 298.6 MB, free: 5.48 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001013/0.1748, allocations: 126.6 kB / 298.7 MB, free: 5.348 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 9.095e-05/0.1749, allocations: 366.6 kB / 299.1 MB, free: 4.98 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.328e-05/0.175, allocations: 68.78 kB / 299.1 MB, free: 4.914 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001863/0.1751, allocations: 309 kB / 299.4 MB, free: 4.508 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003133/0.1755, allocations: 472 kB / 299.9 MB, free: 3.938 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.338e-06/0.1755, allocations: 4 kB / 299.9 MB, free: 3.934 MB / 282.7 MB Notification: Performance of matching and sorting (n=83) (initialization): time 0.0003473/0.1758, allocations: 406.3 kB / 300.3 MB, free: 3.527 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.525e-05/0.1758, allocations: 8 kB / 300.3 MB, free: 3.52 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.102e-05/0.1758, allocations: 9.016 kB / 300.3 MB, free: 3.512 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.542e-05/0.1758, allocations: 12 kB / 300.3 MB, free: 3.5 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004037/0.1763, allocations: 236.2 kB / 300.6 MB, free: 3.27 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.858e-06/0.1763, allocations: 15.98 kB / 300.6 MB, free: 3.254 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001469/0.1764, allocations: 27.94 kB / 300.6 MB, free: 3.227 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.728e-05/0.1764, allocations: 29.55 kB / 300.6 MB, free: 3.199 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.0001262/0.1766, allocations: 160.3 kB / 300.8 MB, free: 3.031 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.744e-05/0.1766, allocations: 43.95 kB / 300.8 MB, free: 2.988 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003633/0.177, allocations: 327.6 kB / 301.2 MB, free: 2.668 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.116e-06/0.177, allocations: 8 kB / 301.2 MB, free: 2.66 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.894e-06/0.177, allocations: 0 / 301.2 MB, free: 2.66 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.753e-06/0.177, allocations: 7.984 kB / 301.2 MB, free: 2.652 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004267/0.1774, allocations: 427.2 kB / 301.6 MB, free: 2.195 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.315e-06/0.1774, allocations: 0 / 301.6 MB, free: 2.195 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004416/0.1779, allocations: 167.9 kB / 301.7 MB, free: 2.031 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001055/0.178, allocations: 60.73 kB / 301.8 MB, free: 1.973 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.599e-06/0.178, allocations: 7.984 kB / 301.8 MB, free: 1.965 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.926e-05/0.178, allocations: 16 kB / 301.8 MB, free: 1.949 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.717e-06/0.178, allocations: 4 kB / 301.8 MB, free: 1.945 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.212e-06/0.178, allocations: 0 / 301.8 MB, free: 1.945 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004415/0.1784, allocations: 493.8 kB / 302.3 MB, free: 1.434 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.53e-05/0.1785, allocations: 12 kB / 302.3 MB, free: 1.422 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.921e-05/0.1786, allocations: 16 kB / 302.3 MB, free: 1.406 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.918e-05/0.1786, allocations: 36.44 kB / 302.4 MB, free: 1.371 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.075e-05/0.1787, allocations: 16 kB / 302.4 MB, free: 1.355 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0001099/0.1788, allocations: 148.7 kB / 302.5 MB, free: 1.211 MB / 282.7 MB Notification: Performance of sort global known variables: time 6e-08/0.1788, allocations: 0 / 302.5 MB, free: 1.211 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0008743/0.1796, allocations: 335 kB / 302.9 MB, free: 0.8828 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.0006361/0.1803, allocations: 480.4 kB / 303.3 MB, free: 416 kB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0002988/0.1806, allocations: 304 kB / 303.6 MB, free: 112 kB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.753e-05/0.1806, allocations: 8.969 kB / 303.6 MB, free: 104 kB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001488/0.1807, allocations: 173.6 kB / 303.8 MB, free: 15.93 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006144/0.1814, allocations: 0.857 MB / 304.7 MB, free: 14.93 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005406/0.1868, allocations: 1.131 MB / 305.8 MB, free: 13.75 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.237e-05/0.1868, allocations: 137.8 kB / 305.9 MB, free: 13.6 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0002672/0.1871, allocations: 120.5 kB / 306.1 MB, free: 13.48 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002519/0.1874, allocations: 185.2 kB / 306.2 MB, free: 13.3 MB / 298.7 MB Notification: Performance of SimCode: time 1.262e-06/0.1874, allocations: 0 / 306.2 MB, free: 13.3 MB / 298.7 MB Notification: Performance of Templates: time 0.01333/0.2007, allocations: 11.75 MB / 318 MB, free: 1.711 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f Chemical_Chemical.Obsolete.Examples.SimpleReaction.makefile [Timeout 660] (rm -f Chemical_Chemical.Obsolete.Examples.SimpleReaction.pipe ; mkfifo Chemical_Chemical.Obsolete.Examples.SimpleReaction.pipe ; head -c 1048576 < Chemical_Chemical.Obsolete.Examples.SimpleReaction.pipe >> ../files/Chemical_Chemical.Obsolete.Examples.SimpleReaction.sim & ./Chemical_Chemical.Obsolete.Examples.SimpleReaction -abortSlowSimulation -alarm=240 -lv LOG_STATS > Chemical_Chemical.Obsolete.Examples.SimpleReaction.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 2.96595395822078]